CSS/JS loading on frontend | WordPress.org

Hi @coding4tacos,

The plugin’s CSS is enqueued using admin_enqueue_scripts so the CSS should only appear in the admin. If it’s appearing on the front-end, my guess is another plugin is incorrectly triggering that action and causing admin scripts to be loaded. You can confirm by temporarily deactivating all other plugins and switching to the default theme.

Note that if you are using Wicked Folders Pro, the CSS will be loaded anytime the media library is loaded. Some page builders load the media library on the front-end to facilitate visual editing.

I hope this helps to clear things up. If you still have trouble, let me know.

Thread Starter
Taylor

(@coding4tacos)

My sincerest apologies! It turns out a different plugin was causing the issue. Thanks for the help narrowing it down!

No problem! Glad you were able to narrow it down.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer