12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Aug 27, 2021

Outputting an element in taxonomy term archives for all terms except a specific one in Oxygen

Sridhar Katakam

This quick members-only tip shows how we can use the built-in Dynamic Data condition of Oxygen to output an element in a Template that applies to all term archives of a particular taxonomy on all the term archive pages except a specific one.

Ex.:

Taxonomy: industry
Sample Terms: manufacturing, chemicals, food

Let's say the requirement is for a Section to NOT be output on example.com/industy/manufacturing.

Template:

Select the Section and apply a Dynamic Data condition.

In the "Insert Dynamic Data" dialog, click "PHP Function Return value".

This is a premium members-only content.

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

Already a member? Log in below or here.

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