• Resolved kreigd

    (@kreigd)


    Hello,

    I’m trying to customize the plugin to apply a template to just a particular category and make an archive for that category. It seems that taxonomy.php is currently being applied to the category page. I would think that according to the WP hierarchy, I could just make a file called taxonomy-tribe_events-tradeshow.php and it would work, but it doesn’t. How do I apply a taxonomy/category template to just one event category?

    • This topic was modified 8 years, 2 months ago by kreigd.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Good morning @kreigd!

    Thanks for reaching out!

    Our template system is a bit different. You can find tons of information regarding theme customization in our Themer’s Guide, but I’ll also try to help you into the right direction.

    The templates can be found in wp-content/plugins/the-events-calendar/src/views/. To customize, you’ll need to copy the files over to your theme directory after creating a folder called tribe-events. The path would look like: themename/tribe-events/src/views.

    Making category specific templates can be a bit trickier since The Events Calendar doesn’t use the conventional taxonomy template structure. I would recommend taking a look at tribe_is_event_category as well as other functions.

    Hope that helps!

    Cheers,
    Ed

    Hey there,

    Since this thread has been inactive for a while, I’m going to mark it as resolved.

    Please feel free to create a new thread if you need help with anything else!

    Ed 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Event Category Archive Template’ is closed to new replies.