Removing previous and next event links

Home Forums Calendar Products Events Calendar PRO Removing previous and next event links

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #59863
    gregoiregarneau
    Participant

    Hello, could you tell me the file where I can find the code for the named past and previous event links as I would like to remove them.
    Thank you

    #61206
    Rob
    Member

    Hi gregoiregarneau. We dropped the ball on getting you a reply here in a timely fashion; I apologize. I’m here to help you get this addressed.

    What view are you trying to remove this from? The individual entry, or a specific high-level view like MONTH?

    #61226
    gregoiregarneau
    Participant

    Hi Rob,

    Don’t worry about droping the ball ! I am very appreciated about your application and i am very happy to use it. Instead, before i use Event-manager pro ans i ony have problem with it ! Now all work good ! So, don’t worry, i am with the bird !
    I want to remove this http://d.pr/i/RFoX in that kind of page : http://www.neurogymtonik.org/event/brain-gym-parent-enfant/

    Thank you !

    Grégoire

    #62360
    Rob
    Member

    Got it! Thanks for the follow-up, and your goal at this point makes perfect sense. This is admittedly a bit outside my area of expertise – but I’ve got a more dev-minded member of the team on deck to take a look and reply here shortly. Thanks for your patience man đŸ™‚

    #62381
    gregoiregarneau
    Participant

    okidoo ! Thank you Rob, i wait for this !

    #62453
    Barry
    Member

    Hi Gregoire,

    In single-event.php (which you can override by placing a copy in your theme’s tribe-events directory – see our Themer’s Guide for details) you should be able to locate the following lines of code:

    <ul class="tribe-events-sub-nav">
    <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '« %title%' ) ?></li>
    <li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% »' ) ?></li>
    </ul><!-- .tribe-events-sub-nav -->

    Removing these lines out to do the trick – does that help?

    #63467
    Rob
    Member

    Hello again Gregoire! Did you have a chance to test out Barry’s suggestion? Are you all set here?

    #65157
    Kelly
    Participant

    Hi, Gregoire. Since it’s been a couple of weeks, I’m going to close this thread.

    Please start a new topic if you’d like to continue to troubleshoot this. Thanks!

    #980722
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Removing previous and next event links’ is closed to new replies.