How to display Previous/Next navigation at top of content?

Home Forums Calendar Products Events Calendar PRO How to display Previous/Next navigation at top of content?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #94481
    irishrunner16
    Participant

    I’m trying to add the Previous/Next nav links to the top of a few views. However, when I view the respective views’ content file (such as [mytheme]\tribe-events\list\content.php for the List view), it appears there is already code there that should display the navigation (list\nav.php) at the top of the content, but it’s not:

    <!– Header Navigation –>
    <?php do_action( ‘tribe_events_before_header_nav’ ); ?>
    <?php tribe_get_template_part(‘list/nav’, ‘header’); ?>
    <?php do_action( ‘tribe_events_after_header_nav’ ); ?>

    What am I missing?

    #94724
    Barry
    Member

    The links are present – just hidden. Try adding a small snippet of CSS like this to show them – you might add this to a custom tribe-events.css stylesheet as described in the Themer’s Guide:

    Hope that helps!

    #94859
    irishrunner16
    Participant

    Great! Thanks Barry. Got it in my tribe-events.css and I’m seeing the navigation at the top of the List, Day and Month views. It’s still not on the Map view though. Would I need a different snippet to get the links displaying there?

    #95147
    Barry
    Member

    Great catch, I hadn’t noticed that. Can you try this slight different snippet instead? Thanks!

    #95260
    irishrunner16
    Participant

    Thanks Barry! That’s added the “Next” links at the top of the Map views, but not the “Previous” links (they are still only visible in the footer navigation).

    #95616
    Barry
    Member

    Try setting up and adding it to your pro/tribe-events-pro.css stylesheet (see the Themer’s Guide for details). Does that help here?

    #95684
    irishrunner16
    Participant

    Perfect! Thanks so much for your help with this Barry!

    #134793
    Barry
    Member

    Awesome! And since this thread’s not seen much activity recently so I’ll go ahead and close it. Of course if you still need help with this or any other issue please don’t hesitate to create a new thread (or threads) and one of the team will be only too happy to help. Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to display Previous/Next navigation at top of content?’ is closed to new replies.