Events page (set to 'calendar' URL) is picking up template from 'events' page

Home Forums Calendar Products Events Calendar PRO Events page (set to 'calendar' URL) is picking up template from 'events' page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1088093
    Gilles
    Participant

    Hi,

    This behavior started with some “recent” update. I have set the Events URL slug to ‘calendar’. I also have a separate wordpress page whose slug is ‘events’. My settings for the Events template is ‘Default Events Template’. Somehow the automatically generated ‘calendar’ page is now picking up my ‘events’ page settings, instead of the ‘Default Events Template’ provided with the plugin.

    Is that the new expected behavior? if so, how do I undo this behavior?

    Thank you,
    Gilles

    #1088094
    Gilles
    Participant

    I found the bug in my Total wordpress them. This:

    $page_slug = get_option( ‘eventsSlug’, ‘events’ );

    should be:

    $page_slug = Tribe__Settings_Manager::get_option( ‘eventsSlug’, ‘events’ );

    in these two files:

    Total/framework/classes/global-object.php
    Total/framework/tribe-events/tribe-events-config.php

    I don’t know if something had changed on the Events Calendar side, or if it was just an oversight of the Total theme developer.

    Gilles

    #1088409
    Brian
    Member

    I am glad to see you were able to figure it out.

    Nothing has changed recently here, it might be something to bring up with the theme developer.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Events page (set to 'calendar' URL) is picking up template from 'events' page’ is closed to new replies.