WordPress.org

Support

Support » Plugins and Hacks » Basic Comment Quicktags » [Resolved] Option not to load quicktags.css?

[Resolved] Option not to load quicktags.css?

Viewing 7 replies - 1 through 7 (of 7 total)
  • No, there’s no option to not show it, though you can script a de-enqueue call for the CSS if you wanted.

    Out of curiosity, why? Understanding why may lead to me including this option if I can see and agree with the purpose. From my POV, it’s a small CSS file that loads the required code for functionality and only on the pages where there are open comments. 🙂

    The plugin loads these files on all pages, not just where there are open comments:

    wp-includes/js/quicktags.min.js?ver=3.5.1
    wp-content/plugins/basic-comment-quicktags/quicktags.js?ver=1.8
    wp-content/plugins/basic-comment-quicktags/quicktags.css?ver=2.0

    Well THAT ain’t right…. And I see why. Okay. Version 2.2 will have this fixed

    (FWIW, the code was set to show on all posts and pages, but not category or archive ones… *sigh* My bad)

    I updated to v2.2, thanks. The plugin still loads the files listed above on the frontpage (is_front_page) which it probably shouldn’t. It doesn’t load the files on the homepage (is_home) though.

    Totally stupid question… Are you using a static front page and, if so, are comments turned off n that page?

    Not a stupid question at all, it turns out :).

    Yes it’s a static frontpage, and comments were open on it.

    Thanks again, I’m all good now.

    Whew! I was testing on WP 3.6 and worried it was a new quirk!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Option not to load quicktags.css?’ is closed to new replies.
Skip to toolbar