12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Sep 4, 2019

[Condition] Is Child of a Specific Page

Sridhar Katakam

This members-only tutorial provides the steps to register a custom condition using which elements can be output only if the current Page is a child of the selected Page in Oxygen.

The list of Pages will be populated in the right side dropdown.

This condition is designed to be used when editing a static Page or a Template that applies to the standard page post type with Oxygen editor.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Is Child of a Specific Page

Code:

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