Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
I’m having issues with getting the post loop to show only posts that are tagged with a set of tags with a category, for example I would like a loop of the following:
Posts that are in Category = Reviews AND ( Tag=Retro OR Tag=Retro Monday OR Tag = Retro Hour)
However I can’t see a way to configure the “or” part so I get everything in Reviews and no filtering on the tags specified.
Any idea?
Hi Kelvin,
Unfortunately, this isn’t possible without a fair amount of custom coding at this time. I’ve marked this thread as a feature request. We often look through these threads to get ideas for what to add in our future updates. Hopefully, we’ll be able to add this in a future update.
If you’re familiar with PHP, you could do this via the siteorigin_widgets_posts_selector_query filter.
If you need this urgently, you could always post a job on Codeable
Hi,
Sorry meant to post but the site kept erroring, I resolved this by writing the query in the widget myself, it then did what I required.
Sadly pagination didnt function so I custom coded the loops and styling myself but it was a nice idea at least to have page layouts etc.