• Resolved nealumphred

    (@nealumphred)


    Thanks for the Customize Posts plugin!

    I’m experimenting with it and am mostly enjoying the experience.

    But when using Customize Posts, the icon for the Simple Drop Cap plugin (a capital ‘D’) does not appear in the editor with either the collapsed or full-size screen.

    Note that I can add the short-code to the letter and Simple Drop Cap does work.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Hi there. Glad you’re finding the plugin useful.

    I can see that the plugin is adding actions to only enqueue in the admin and not in the Customizer. So what you can do is add the following snippet you your functions.php in your theme or create a new plugin that just contains:

    
    function wpsdc_add_customize_posts_compatibility() {
    	if ( function_exists( 'wpsdc_tinymce_button_init' ) && function_exists( 'wpsdc_load_admin_sytles' ) ) {
    		add_action( 'customize_controls_enqueue_scripts', 'wpsdc_tinymce_button_init' );
    		add_action( 'customize_controls_enqueue_scripts', 'wpsdc_load_admin_sytles' );
    	}
    }
    add_action( 'init', 'wpsdc_add_customize_posts_compatibility' );

    That should do the trick.

    Thread Starter nealumphred

    (@nealumphred)

    WESTON

    1. My apologies for the delay in responding and thanking you for your assistance.

    2. Thanks for your assistance!

    3. I wouldn’t dare go near the underbelly of my site, so I added the code above to the Code Snippets plugin by Shea Bunge. Your code worked fine and Simple Drop Cap returned to my editor!

    4. But as I was determined to keep using Customize Posts with or without Drop Cap, I modified my approach to my opening paragraphs so that I don’t need the dropped first capital letter:

    So, thanks again: now I have the option to drop the cap or not.

    Keep on keepin’ on!

    NEAL

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple Drop Cap plugin not appearing in editor’ is closed to new replies.