Home › Forums › Calendar Products › Events Calendar PRO › Removing events from separate calendar in main events view
- This topic has 10 replies, 2 voices, and was last updated 10 years, 10 months ago by
Brian.
-
AuthorPosts
-
June 4, 2015 at 7:02 am #967149
Justin
ParticipantI need to remove the links from the left and right that are going to a separate calendar. How do I do that?
June 4, 2015 at 8:29 am #967205Brian
MemberHi,
I can help out here.
Are you talking about the links that go to “« Gunter School Age Program” and “Marriott Hotel »” on that link you posted?
Let me know and I can help point you in the direction to remove these.
Thanks
June 8, 2015 at 6:34 am #967779Justin
ParticipantSorry for the late reply yes. Had another emergency come up. Those items are from another calendar category called Southeastern Raptor Center.
June 8, 2015 at 7:31 am #967800Brian
MemberOk thanks for the info.
To remove those you will have to modify the single event template, which can be done by moving it to your theme.
To do that please follow our themer’s guide:
https://theeventscalendar.com/knowledgebase/themers-guide/
And move this file to your theme to edit:
the-events-calendar\views\single-event.php
There you will see two instances of this markup:
<!-- Navigation -->
<h3 class="tribe-events-visuallyhidden"><?php _e( 'Event Navigation', 'tribe-events-calendar' ) ?></h3>
<ul class="tribe-events-sub-nav">
<li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?>
<li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?>
Remove both of those in the file in your theme and that will remove those links.
Let me know how that works out.
Thanks
June 12, 2015 at 9:16 am #969131Justin
ParticipantI don’t see this file. Please assist.
My folder structure is as follows. These seem to be old instructions.
wp-content\plugins\events-calendar-pro\views\pro
Thanks
June 12, 2015 at 9:19 am #969134Brian
MemberHi,
you have to look in the Events Calendar not in Pro:
wp-content\plugins\the-events-calendar\views\single-event.php
June 12, 2015 at 9:31 am #969139Justin
ParticipantI understand please look at the attached pic. I don’t have anything but pro in the view folder.
June 12, 2015 at 9:34 am #969140Justin
ParticipantI don’t have the events calendar installed
June 12, 2015 at 9:35 am #969141Justin
ParticipantMan its been a long day. I see it now. Sorry about the misunderstanding.
June 12, 2015 at 10:41 am #969154Brian
MemberGreat, glad you found it.
June 12, 2015 at 1:38 pm #969189Brian
MemberHi,
Thanks for marking a correct answer.
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Removing events from separate calendar in main events view’ is closed to new replies.
