The Events Calendar
Dispaly links in list view (2 posts)

  1. Virium
    Posted 2 years ago #

    If there is a link in the event's content this link does not appear in the list view. I would like to show the links in the content of event list too, not only in single event. Any suggestions?
    I think that I have to change this code (list/loop.php):

    <!-- Event -->
    <div id="post-<?php the_ID() ?>" class="<?php tribe_events_event_classes() ?>">
    <?php tribe_get_template_part( 'list/single', 'event' ) ?>
    </div><!-- .hentry .vevent -->


  2. Barry Hughes
    Plugin Author

    Posted 2 years ago #

    If you don't provide an actual excerpt (which is used by default in list view in preference to the full event description) then one is generated automatically.

    For a number of reasons it has to strip all tags - including links and images - when doing this. So, one workaround is to craft an excerpt for each event instead of relying on The Events Calendar to generate it. Alternatively, if you don't mind diving into some code, you could create your own routines to handle this or switch to displaying the full content in list view.

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic