Category Specific Conditional IF

Written by: Aleš Sýkora

The Author of Big fan of Toolset plugins and WordPress.

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>


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>


Credits: Bryan Candy, Toolset User Group on facebook.

Support Us via our Affiliate link!

Toolset logo WordPress

What to do next?

Need a Toolset License?

Buy via affiliate link!

Looking for a tutorial?

Help other users – Add your snippet!

Join the discussion!