Okay
  Public Ticket #2579990
Remove "Visit Website" button
Closed

Comments

  •  1
    andywozhere started the conversation

    Is it possible to remove the "Visit Website" button?

  •  894
    Zhivko replied

    Hi,

    If your events don't have external link set (in Dashboard -> STEC -> Events -> Add/Edit Event Page -> Introduction tab below the short description field) it should not show up.


    Stachethemes Developer

  • simeler replied

    I have the same question. But it still shows, even without an external link. Is there a way to disable it?

  •  894
    Zhivko replied

    Try adding following filter in your theme/child-theme functions.php file:

    add_filter('stec_event_get_front_data', function($data) {
       $data['link'] = '';
       return $data;
    });

    Stachethemes Developer

  • simeler replied

    Thx, worked!