I’d like to use the grid view add-on for my events archive page, as well as each of my event category pages. My questions is whether I can use the same template for each of these — without renaming a copy as taxonomy-espresso_event_categories.php.
Since I don’t want my events shown as a list, on my custom archive-espresso_events.php template I have not included:
Instead, I’ve left the original code from the page.php template:
php get_template_part( ‘content’, ‘page’ );
then I’ve just inserted the shortcode for each category onto each respective page.
Can I simply designate my “Upcoming Events” page as my events archive page? The Espresso Event Archive page has nothing to display given the way I’ve set-up my template. The only issue I’m seeing with this approach is the event category tags-links shown on each of the single event pages. How do I go about redirecting those links to each of the category pages I’ve created?
No, sorry. However, someone that has a working knowledge of WordPress templating, HTML, and CSS could copy and modify the template code from the grid view add-on and re-use the code and CSS for their archive-espresso_events.php and taxonomy-espresso_event_categories.php templates.
If you take this on, you’ll change the layout in the template from a list to a grid, rather than modify the query or set up pages with redirects, which could get very complicated.
Viewing 1 reply thread
The support post ‘Using grid view add-on for archive & category pages’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.