Tinymce button is not visible for a theme

enter image description here

I am using a plugin which generate custom button on wp_editor. But this button is not being shown for a theme developed by me. But it works fine in others theme.

The following screenshot is taken when Twenty Fifteen theme is active.

The following screenshot is taken when my theme is active.

And this is the functions.php file of my theme:

/*
##############################
General Configuration
##############################
*/
add_theme_support( 'custom-logo' );
add_theme_support( 'title-tag' );

register_nav_menus( array(
    'top' => 'Primary Top Menu',
    'left' => 'Secondary Left Menu'
) );

add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);

function special_nav_class ($classes, $item) {
    if (in_array('current-menu-item', $classes) ){
        $classes[] = 'active ';
    }
    return $classes;
}

Whats wrong with my theme? It kills my whole day. Any help is appreciated. Thanks for your time.

Read more here:: Tinymce button is not visible for a theme

Leave a Reply

Your email address will not be published. Required fields are marked *