Home › Forums › Calendar Products › Events Calendar PRO › Previous / Next Event buttons
- This topic has 8 replies, 3 voices, and was last updated 11 years, 3 months ago by
Brian.
-
AuthorPosts
-
December 16, 2014 at 3:58 pm #920399
David Kaye
ParticipantHello,
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!
NickDecember 16, 2014 at 7:21 pm #920568Brian
MemberHi 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
January 20, 2015 at 5:35 am #935131Fabiano
ParticipantHi,
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?
January 20, 2015 at 7:31 am #935184Brian
MemberHi 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
January 20, 2015 at 12:01 pm #935319Fabiano
ParticipantThis reply is private.
January 20, 2015 at 12:30 pm #935332Brian
MemberThat 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.
January 20, 2015 at 1:09 pm #935358Fabiano
ParticipantOk,
didn´t work either.
January 20, 2015 at 5:59 pm #935450Brian
MemberOk 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
January 21, 2015 at 6:49 am #935625Brian
MemberAs 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
-
AuthorPosts
- The topic ‘Previous / Next Event buttons’ is closed to new replies.
