use it without the Microthemer plugin installed?

Author Posts

johannesodeg

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.

Is it possible to copy the css code and use it without the Microthemer plugin installed?


Sebastian

Hi johannesodeg,

Yes you can, but there is a better way.

1. If you do in fact want to copy and paste the CSS, you can always view the CSS Microthemer is generating by clicking the view CSS link in the fixed menu on the right (which may need to be expanded when working in the visual view).

2. But if you just want your Microthemer styles to continue working without showing Microthemer to the client, you can completely uninstall Microthemer and just add the following code to your functions.php file.

/* Manually add Microthemer stylesheet */
function add_microthemer_css() {
wp_register_style( 'microthemer', WP_CONTENT_URL . '/micro-themes/active-styles.css');
wp_enqueue_style('microthemer');
}
add_action('wp_enqueue_scripts', 'add_microthemer_css');

This will manually include the external stylesheet Microthemer generates in the of all of your pages. And the beauty of this method is that if you want to make some additional edits you can just reinstall Microthemer and all of your settings will still be saved and there for you. You can go ahead and add this code now while Microthemer is still installed. The stylesheet will only be added to the page once either way.

3. If you were thinking of copying the CSS because you want to use the same styling you created with Microthemer across different WordPress websites there is a better way for this too. You can Export your work using the fixed menu option on the right. Once exported, you can download your work as a zip file on the Microthemer > Manage themes page. And then you can install the zip file via the Microthemer > Manage themes page on a different WordPress site. Finally, you would import your work into the UI on the new site using the “Import” option in the fixed menu on the right.

I hope that helps, please let me know if you have any further questions.

Cheers,

Sebastian

You must login or register to reply to this topic.