WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Virium
    Member
    Posted 10 months 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 -->

    http://wordpress.org/plugins/the-events-calendar/

  2. Barry Hughes
    Member
    Plugin Author

    Posted 10 months 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!

Reply

You must log in to post.

About this Plugin

About this Topic