Last active
October 22, 2024 07:46
-
-
Save yankiara/b598e21f3aede6a0c62db964b082e825 to your computer and use it in GitHub Desktop.
Oxygen Builder dummy theme used to increase plugins compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Oxy-Dummy activation (thank you Sridhar Katakam) | |
* Paste this code snippet in your Oxygen's customization plugin | |
* or copy the file to /wp-content/plugins/customization-plugin/ | |
*/ | |
remove_filter( 'template', 'ct_oxygen_template_name' ); | |
remove_filter( 'template_directory', 'ct_disable_theme_load', 1, 1 ); | |
remove_filter( 'stylesheet_directory', 'ct_disable_theme_load', 1, 1 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This EMPTY but required file goes to your oxy-dummy theme folder: /wp-content/themes/oxy-dummy/ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Oxy-Dummy | |
Theme URL: https://pavenum.com | |
Description: Oxygen Dummy Theme (put this file in your oxy-dummy theme folder: /wp-content/themes/oxy-dummy/) | |
Author: yankiara | |
Author URL: https://pavenum.com | |
Version: 1.0.0 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just tried to do it, not working :( Trying to do this with Directorist plugin..
I still use oxygen, It still gets updated - honestly its like one of the best builders man I don't know why they wouldn't jump all in on that.
Any idea what i might be doing wrong,
I set up the dummy theme, put in those lines above - then 'activated' the dummy theme. trying to copy directorist templates in there to no avail :(