Lucy

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Creating Home Page 'list' view vs Events Page 'list' view #1179302
    Lucy
    Participant

    Hi Andras,

    Sounds good, for those following this thread:

    – I’m copying the contents of tribe-events/list/ into tribe-events/list.php and wrapping the duplicated content in a conditional (to adjust).

    <!-- Main Events Content - Home Page -->
    <?php if ( is_front_page() ) { ?>
      <?php tribe_get_template_part( 'list/content' ); ?>
    <?php } ?>
    
    <!-- Main Events Content - Custom Page -->
    <?php if ( !is_front_page() ) { ?>
      <!-- Duplicated contents of tribe-events/list/ to customize -->
    <?php } ?>

    Thanks!

    • This reply was modified 9 years, 6 months ago by Lucy.
    in reply to: Creating Home Page 'list' view vs Events Page 'list' view #1178471
    Lucy
    Participant

    Hi Andras,

    I already have the shortcode on my Home Page (myurl.com) – the problem is that it’s identical to the Events Page list (myurl.com/events/).

    I’d like these templates to be structured differently, so I’m wondering if I can create create a new view/list template?

    For example:
    On the Home Page list I want the event date to display: November 14
    On the Events Page list I want the event date to display: Monday, November 14th, 2016

Viewing 2 posts - 1 through 2 (of 2 total)