Tagged: active-style
- This topic has 1 reply, 2 voices, and was last updated 10 years, 10 months ago by
Sebastian.
Author | Posts |
---|---|
HigherSourceSites
June 20, 2014 at 11:09 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. 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 |