Controlling which template community events uses

Home Forums Calendar Products Events Calendar PRO Controlling which template community events uses

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20396
    Jesse
    Member

    Right now the community events “Submit an event” page is using page.php in my theme folder. Is it possible to specify which template is used, to something other than the default page.php?

    #20411
    Jonah
    Participant

    Not currently Jesse, but you can use conditional tags to execute specific code for the my events or the add/edit events pages:

    if(tribe_is_community_my_events_page()) {
    echo 'were on the my events page';
    } elseif(tribe_is_community_edit_event_page()) {
    echo 'were on the add/edit events page';
    }

    Hopefully that will be sufficient for what you need to do now but let me know if you have any questions.

    Regards,
    Jonah

    #977046
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Controlling which template community events uses’ is closed to new replies.