Published on Aug 22, 2019

[Condition] Month

Sridhar Katakam

This members-only tutorial provides the steps to register a custom "Month" condition in Oxygen using which elements can be set to be output (or not be output) during specific month(s).

For example, if you set the following for a Section, the Section will be output or printed on the front end only when the page is being viewed on any day of September of the current year.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: [Condition] Month

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