A WordPress plugin that makes it possible to use the active WordPress theme when Oxygen is active.
This plugin adds a new setting page which can be accessed at Oxygen > Theme Enabler.
Here, you can select whether you want to use the theme or Oxygen for most of your site's pages.
You will need to edit the following line in plugin.php
file of the plugin and enter your if conditional:
return is_page( 'contact' ); // enter your if condition here. Reference: https://codex.wordpress.org/Conditional_Tags
Replace is_page( 'contact' )
with the conditional depending on where you want to use the theme/Oxygen.
A few valid examples:
is_page( array( 42, 'about-me', 'About Me And Joe' ) )
is_front_page()
is_woocommerce()
- Ensure that Oxygen is installed and active.
- Click on the
Download ZIP
button at the right to download the plugin. - Go to Plugins > Add New in your WordPress admin. Click on Upload Plugin and browse for the zip file.
- Activate the plugin.
- pages set to use the theme will now work.
- pages set to use Oxygen will not load theme assets anymore.
- URLs having
ct_builder=true
i.e., Oxygen editor have been excluded from the plugin so they load.
- Simplified the return statement
- Initial Release
Donate link: https://www.paypal.me/sridharkatakam