Removing events from separate calendar in main events view

Home Forums Calendar Products Events Calendar PRO Removing events from separate calendar in main events view

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #967149
    Justin
    Participant

    I need to remove the links from the left and right that are going to a separate calendar. How do I do that?

    http://www.vetmed.auburn.edu/event/class-2019-welcome/

    #967205
    Brian
    Member

    Hi,

    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

    #967779
    Justin
    Participant

    Sorry for the late reply yes. Had another emergency come up. Those items are from another calendar category called Southeastern Raptor Center.

    #967800
    Brian
    Member

    Ok 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

    #969131
    Justin
    Participant

    I 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

    #969134
    Brian
    Member

    Hi,

    you have to look in the Events Calendar not in Pro:

    wp-content\plugins\the-events-calendar\views\single-event.php

    #969139
    Justin
    Participant

    I understand please look at the attached pic. I don’t have anything but pro in the view folder.

    folder structure

    #969140
    Justin
    Participant

    I don’t have the events calendar installed

    #969141
    Justin
    Participant

    Man its been a long day. I see it now. Sorry about the misunderstanding.

    #969154
    Brian
    Member

    Great, glad you found it.

    #969189
    Brian
    Member

    Hi,

    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

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Removing events from separate calendar in main events view’ is closed to new replies.