Prevent list.php from taking over archive queries

Home Forums Calendar Products Events Calendar PRO Prevent list.php from taking over archive queries

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1456876
    Joakim
    Participant

    I’m building my custom archive page using archive.php, and using it for multiple post types. But whenever the post_type is set to tribe_events, list.php is taking over. I want to use the archive.php template for all post types.

    PS: I’ve tried replacing my-theme/tribe-events/list.php with the content from archive.php, and that seems to work, but I’d like a little more elegant solution.

    #1458117
    Cliff
    Member

    Hi. Our plugin’s event views (List, Map, Day, Month, etc.) are overriding WordPress’ default archive views.

    You could follow our Themer’s Guide to override how each view is displayed.

    You might also try playing with this setting: wp-admin > Events > Settings > Display tab > “Events template” option — to see if changing it makes things work better for you.

    Please let me know what you find out in your trial-and-error.

    Thanks!

    #1477809
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Prevent list.php from taking over archive queries’ is closed to new replies.