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

[Condition] Is Blog?

Sridhar Katakam

This members-only tutorial provides the steps to register a custom condition in Oxygen using which elements can be set to be output depending on whether the current page being viewed is the Blog Posts Index i.e., the Posts page or not.

Note: To set a static Page as the Posts page, head to Settings > Reading. See this tutorial for more info.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: [Condition] Is Blog?


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.