Displaying separate ‘featured events’ for different pages
-
Okay so I’ve taken over the website maintenance for a company that owns a number of bars and restaurants.
The current setup has Featured Events displayed on every page above the footer by including
‘<?php get_template_part(‘template-parts/global/upcoming-events’); ?>’
in the Single Venue Template Page Template in
theme files/template-partsWhat I am trying to do is filter the Featured Events displayed on each page by Venue.
So my question is how do I go about this? I’ve looked into all of the short codes, I know what I need but I don’t know HOW to do it. I would like the Featured Events to remain displayed where they are, just above the footer.
Problem is entering short code here only only results in printing the string literal. Any advice is welcomed. I’m fine with creating an if-else function somewhere if that’s what I need to do, I just have no idea where to put it.
The page I need help with: [log in to see the link]
- The topic ‘Displaying separate ‘featured events’ for different pages’ is closed to new replies.