Tagged: active-style
- This topic has 1 reply, 2 voices, and was last updated 8 years, 11 months ago by
Sebastian.
Author | Posts |
---|---|
HigherSourceSites
June 20, 2014 at 11:09 pm
|
Notice: this information was written when Microthemer version 2 was current. On Dec 26th, 2014 version 3 was released with a completely new interface. Some of the information may be redundant, but as much of the functionality remains the same in version 3 we haven't deleted this post. possible feature request – so then perhaps another feature request would be to |
Sebastian
June 21, 2014 at 10:24 am
|
Hello again, active-styles.css is actually not stored in the plugin directory for the reasons you outline. It’s in /wp-content/micro-themes/. When Microthemer is deactivated or uninstalled this directory, which also stores any exported micro-themes, remains. As do the Microthemer settings in the database. In fact, some web designers like to uninstall Microthemer when the site goes live for the client and just call the stylesheet from their functions.php file. The following code will only include active-styles.css if Microthemer hasn’t already included it (so the code can always sit in functions.php without causing problems if Microthemer is active):
Cheers 🙂 Sebastian |