Written by: Aleš SýkoraThe Author of Toolset.wiki. Big fan of Toolset plugins and WordPress. More info
I am big fan of WordPress and Toolset plugins. I have done many projects based on WordPress. I also have experience with online marketing, PPC advertising and SEO. I live in Czech Budweis – the town of Budweiser Budvar breverage in the south of the Czech Republic – the heart of Europe.
I love skateboarding, snowboarding, frisbee, fitness, healthy lifestyle, tattoos, mountain biking and other sports. I enjoy having time with friends with good beer and good music.
Category Specific Conditional IF
Last Update: 10. 01. 2020 , Category:
If you need to use conditional IF to display posts for some specific category, here is example conditional how to do that:
[wpv-conditional if="( CONTAINS(#(category),'homecoming-series-upcoming-events') )"] <h2>Homecoming Series</h2> [wpv-conditional]
If you want to display posts not in category, then use ! as negotiation:
[wpv-conditional if="( !CONTAINS(#(category),'homecoming-series-upcoming-events') )"] <h2>Not Homeacoming Series</h2> [wpv-conditional]
Credits: Bryan Candy, Toolset User Group on facebook.