Published on Dec 11, 2020

[Condition] Post Has Tags

Sridhar Katakam

This members-only tutorial provides the steps to register a custom condition using which elements on a single post Oxygen Template can be output (or not) depending on whether the current post has at least one tag set.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: [Condition] Post Has Tags

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right