Support » Plugin: Analytics Stats Counter Statistics » Scripts and styles are loaded on all admin pages

  • Resolved Jeremy Herve

    (@jeherve)


    Jetpack Mechanic 🚀

    Hi there!

    I installed your plugin on a site of mine, and ran into some style conflicts in the admin. It looks like your plugin enqueues some custom CSS and JS on all admin pages, thus overwriting some of the default WordPress styles, and CSS on custom admin pages created by other plugins, like Jetpack. Here is an example:
    https://cloudup.com/c2K9mZ4q9uU

    It might be best to avoid enqueueing these custom scripts and styles everywhere; instead, only enqueue them in your plugin’s admin pages.

    Thanks!

    https://wordpress.org/plugins/stats-counter/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scripts and styles are loaded on all admin pages’ is closed to new replies.