Previous / Next Event buttons

Home Forums Calendar Products Events Calendar PRO Previous / Next Event buttons

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #920399
    David Kaye
    Participant

    Hello,
    I’m having a rather simple issue with the Photo View header/footer.

    Basically, I have two sets of previous/next events buttons; one in the header and one in the footer. I’d like to eliminate the header one. However, when I tried to delete the Photo view header in content.php, it doesn’t work.

    <!– Photo View Header –>
    <?php do_action( ‘tribe_events_before_header’ ); ?>
    <div id=”tribe-events-header” <?php tribe_events_the_header_attributes(); ?>

    Is there something I’m missing?

    Thanks!
    Nick

    #920568
    Brian
    Member

    Hi Nick,

    I can help you out here.

    You are going to want to follow the themer’s guide:

    https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    And move this file to you theme to edit:

    \events-calendar-pro\views\pro\photo\content.php

    There you want to remove or comment out this coding:


    <?php tribe_get_template_part( 'pro/photo/nav', 'header' ); ?>

    You will want to keep the coding mentioned in your post.

    Let me know if that works for you.

    Thanks

    #935131
    Fabiano
    Participant

    Hi,

    i have the same problem. I tried out your suggestion, but it didn´t work.
    I copied the content.php file in to my-themes-folder/tribe-events/pro/photo/

    Is that right?

    #935184
    Brian
    Member

    Hi Fabiano,

    Thanks for using our plugins.

    I can help you out here, but as mentioned in the other post we can better help you if you create your own ticket and reference one that you think is close to what your issue is.

    No worries on this one though so please reply to it with any questions.

    I looked at your two sites and saw they are not using the photo view.

    You have the correct file and location, but only on the photo view.

    Instead try moving this file to your theme following the themer’s guide:

    the-events-calendar\views\list\content.php

    There you can comment out this line:

    <?php tribe_get_template_part( ‘list/nav’, ‘header’ ); ?>

    Let me know if that helps.

    Thanks

    #935319
    Fabiano
    Participant

    This reply is private.

    #935332
    Brian
    Member

    That comment wont work as the php ignores it.

    Try this instead:

    <?php //tribe_get_template_part( ‘list/nav’, ‘header’ ); ?>

    Put the double // before tribe_get_template_part to comment out the function.

    And yep we try to have everyone post in their own ticket so we can give you our full attention.

    #935358
    Fabiano
    Participant

    Ok,

    didn´t work either.

    #935450
    Brian
    Member

    Ok I am not sure if we are on the same page here.

    Can you please create a new ticket with a link to the page you are trying to change and reference this post so we can better help you.

    I am also asking to create a new ticket because every time we post here it is email the author of the ticket and your issue is not related to what he was trying to do.

    Thanks

    #935625
    Brian
    Member

    As Fabiano has created a new ticket and fuzzllc has not posted in over two weeks I am closing out this ticket, but if you have any other issues related to this or something new, please create a new one.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Previous / Next Event buttons’ is closed to new replies.