- This topic has 5 replies, 2 voices, and was last updated 10 years, 2 months ago by
Sebastian.
Author | Posts |
---|---|
ryan
August 30, 2013 at 12:23 pm
|
Heads up! this post was created when Microthemer was at version 2. The current version is 7. Some references to the interface may be out of date. Maybe I’m missing the settings but, does Microthemer need to be activated in order for the customizations to stick? I noticed the customization is gone when I deactivate Microthemer. Thanks |
Sebastian
August 30, 2013 at 12:58 pm
|
Hi Ryan, Yes Microthemer needs to be active in order for the /wp-content/micro-themes/active-styles.css stylesheet to be included in the of the HTML document by WordPress. However, if you’d rather not have Microthemer active, you can manually call active-styles.css by adding the following code to your Theme’s functions.php file:Note, the following code was updated Jan 26th, 2018 (when version 5.1.4.2 was current). For the most up to date code, always see the Microthemer Preferences > Inactive tab
In this example I’ve used the same “Handle” in the wp_register_style() function that Microthemer users (microthemer) so that if Microthemer is active, the active-styles.css stylesheet will only be included in the once. If Microthemer isn’t active, your theme will still include active-styles.css and so the customizations will stick.I hope that’s useful. Let me know if you need help with anything else. Cheers, Sebastian |
ryan
August 30, 2013 at 2:07 pm
|
Thank you for the fast reply 🙂 |
Sebastian
August 30, 2013 at 4:12 pm
|
You’re welcome! |
Sebastian
January 29, 2014 at 5:16 pm
|
PS the technique of adding code to the functions.php to call active-styles.css will also work if Microthemer is completely uninstalled. |
Sebastian
February 28, 2015 at 3:17 am
|
And if you want to reinstall/reactivate Microthemer at any point all of your settings will still display in the Microthemer interface. |