Is having multiple theme customizers for different pages possible?

This is not a complete solution and the code is not tested, but I it should be enough to give you a general idea of how to use the customizer for different pages. // Add “Edit page with customizer” link to relevant pages add_action(‘admin_bar_menu’, function($bar) { if (is_home()) { $bar->add_node(array( ‘id’ => ‘some-id-1’, ‘title’ => … Read more

How to add Color Picker in Theme Options for the following?

Your not going to get an answer to this, there is no magic wand you can use to change what your asking without working it out yourself, or at the very least supplying some actual code with your question. To change the CSS in a back-end option page you can use the Options API, http://codex.wordpress.org/Options_API, … Read more

wp_enqueue_scripts not working in custom theme

I have found this small error in my code which stops wp_enqueue_scripts() to work in my theme was I forget to put wp_head in my head section. For another person who may make same mistake are advised to check that they have include wp_head in head part and wp_foot at end of your theme.

TinyMCE custom styles remove class when switching styles

Seems the question was asked at community.tinymce.com and the answer is here: https://community.tinymce.com/communityQuestion?id=90661000000IiyjAAC You can’t make the style you’ve defined remove any previous classes, but what you can do is ‘apply’ the style again by selecting it from the dropdown list and it will be removed – i.e. the class will be removed from the … Read more