Remove/filter link calendar widget

Home Forums Calendar Products Events Calendar PRO Remove/filter link calendar widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #964777
    Jenny
    Participant

    Hi there,

    I’m currently using the Events Calendar pro solely for its calendar widget. Right now, events aren’t developed enough on the site to have specific event day pages, we only want to show an overview and brief description of upcoming events in this calendar form. So the widget is perfect. Except for the link on the event name! 🙂 is there a way to filter it out?

    Thnx!
    -jennyb

    #964868
    Barry
    Member

    Hi Jenny,

    That’s definitely possible 🙂

    Please review the Themer’s Guide first of all, which covers the basics for safely overriding and customizing our default templates. In this specific case, you’d be interested in the following template:

    pro/widgets/modules/single-event.php

    Within your custom copy of this template, simply find this line:

    <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" rel="bookmark"><?php the_title(); ?></a>

    Modify it so it looks like this:

    <?php the_title(); ?>

    Does that work for you?

    #964884
    Jenny
    Participant

    Thank you, Barry, worked perfectly! I now remember you steering me toward these templates for a previous question, now I know where to look and won’t forget 🙂

    cheers,
    -jennyb

    #964888
    Barry
    Member

    Glad it worked 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove/filter link calendar widget’ is closed to new replies.