Hide editor content from list view

Home Forums Calendar Products Events Calendar PRO Hide editor content from list view

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #941645
    pylon
    Participant

    I’d like to hide the text editor content from appearing in the list view, so we are only presented the event title, date, location meta.

    I appreciate I can insert a read more break right at the top of the editor to make it not display, but I’d like to change this by default in a child theme template of the list view.

    What is the current location of the relevant list view template for TEC Pro? In the Themer’s Guide it refers to TRIBE EVENTS (PREMIUM) (is that what it was called? Needs updating?) but there is no reference to List views? So I’m confused as to where to start editing.

    Can’t see list view in /wp-content/plugins/events-calendar-pro/views/pro

    #941759
    Brian
    Member

    Hi Again.

    The List, Month, and Single Event View are still controlled in free version of the Events Calendar.

    This is the template for the list view for that displays the excerpt:

    the-events-calendar\views\list\single-event.php

    You will want to move that to your theme here:

    yourtheme/tribe-events/list/single-event.php

    Let me know if you have any follow up questions.

    Thanks

    #942302
    pylon
    Participant

    Brian

    Many thanks – those directions were a great help. Followed your guide then simply comment out

    <?php the_excerpt() ?>

    on line 79.

    #942330
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide editor content from list view’ is closed to new replies.