This members-only tutorial provides the steps to register a custom condition using which elements can be output depending on whether the current page is the homepage or an inner page when using Oxygen.
![](https://wpdevdesign.com/wp-content/uploads/2019/09/Screen-Shot-2019-09-07-at-11.57.41-am-1024x282.png)
This works regardless of whether the homepage is a static Page or the default blog posts index.
Step 1
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: [Condition] Is Homepage
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.