Enqueue scripts only where needed in WP Admin
-
Hi,
I’m the developer of Graphene theme, and my theme’s users are reporting compatibility issues with Shortcodes Ultimate. It turns out that both my theme and your plugin are using the Chosen library.
However, I’ve taken care to enqueue this script only on my theme’s options pages, where it is needed. Can you please enqueue your libraries (and their associated stylesheets) only where there are needed as well? For example, only on post edit screens instead of on all the pages in WP Admin.
This is good practice and will help prevent many possible conflicts going forward. Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Enqueue scripts only where needed in WP Admin’ is closed to new replies.