Posted: February 27, 2014 at 10:59 am
|
EE4. I’m using archive-espresso_events.php in my theme…works great. However, for my individual categories (in my case, “Private” and “Public” with corresponding lowercase slugs) they revert back to the general archive page which isn’t how I want it to display. I’ve tried using custom taxonomy pages to no avail. All I want is the category pages to look exactly like the above archive page which list ALL events. It seems taxonomy is the way to go…but I’ve tried many formats to get it to work: taxonomy-espresso_events-private.php I fear I’m missing something very simple…. |
Hi there, Yeah, you were a few keystrokes away from: taxonomy-espresso_event_categories.php Then you can also add the term like this: taxonomy-espresso_event_categories-private.php You’ll likely run into some issues with using this right now though because there is some ongoing work with working though all the bugs in of Event Espresso 4 beta’s templating functionality now that it’s all based on Custom Post Types. When I checked into this I found another bug that I need to report to the team. I’ll keep you posted on this. |
|
|
Thanks for this, Josh. However, I’m having an issue with not being able to call your custom functions for example: espresso_event_reg_button(); I can call this fine in archive-expresso_events.php…. Any thoughts? |
That’s one of the bugs I found too. I mentioned this to the dev team and it looks like what they’ll need to do is create a really wide scope template tag that will load the View helpers then that template tag can be put at the top of the base template files. |
|
|
Okay, thanks, Josh. So we’ll just need to wait for the next version I assume. Is there anyway to manually load the view helpers into pages where I want to use them? |
Hi there, I’m not aware of a way to manually load the view helpers outside of the Event Espresso template hierarchy. There is another way to load up an archive of a category of events by using a shortcode like this on a page: [ESPRESSO_EVENTS category_slug=”private”] |
|
Hi there, I wanted to let you know that Event Espresso 4.3 includes an update that allows for event category taxonomy templating. It was released today. |
|
The support post ‘Event Categories Template Pages Problem…’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.