Title: CSS/JS loading on frontend
Last modified: May 2, 2023

---

# CSS/JS loading on frontend

 *  Resolved [Taylor](https://wordpress.org/support/users/coding4tacos/)
 * (@coding4tacos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/)
 * This seems kinda crazy, but I noticed that the plugin’s CSS is being loaded on
   the frontend. Why?? 
   Even crazier, it’s already been reported and nothing was
   done about it [CSS/JS loading when logged out](https://wordpress.org/support/topic/css-loading-when-logged-out/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [wickedplugins](https://wordpress.org/support/users/wickedplugins/)
 * (@wickedplugins)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16705268)
 * Hi [@coding4tacos](https://wordpress.org/support/users/coding4tacos/),
 * The plugin’s CSS is enqueued using [admin_enqueue_scripts](https://developer.wordpress.org/reference/hooks/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](https://wordpress.org/support/users/coding4tacos/)
 * (@coding4tacos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16705332)
 * My sincerest apologies! It turns out a different plugin was causing the issue.
   Thanks for the help narrowing it down!
 *  Plugin Author [wickedplugins](https://wordpress.org/support/users/wickedplugins/)
 * (@wickedplugins)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16705339)
 * No problem! Glad you were able to narrow it down.
 *  [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [3 years ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16733900)
 * Hope no one minds, but, [@coding4tacos](https://wordpress.org/support/users/coding4tacos/)
   would you mind providing the name of the conflicting plugin? Thanks.
 *  Thread Starter [Taylor](https://wordpress.org/support/users/coding4tacos/)
 * (@coding4tacos)
 * [3 years ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16737031)
 * [@shirtguy72](https://wordpress.org/support/users/shirtguy72/) it was actually
   a custom plugin on a new client’s site. There wasn’t necessary a conflict, but
   the custom plugin was loading the media library, which was the reason for the
   Wicked Folder’s assets being loaded as well.
 *  [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [3 years ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16738600)
 * [@coding4tacos](https://wordpress.org/support/users/coding4tacos/) , understood.
   Thanks for taking the time.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CSS/JS loading on frontend’ is closed to new replies.

 * ![](https://ps.w.org/wicked-folders/assets/icon-256x256.png?rev=3043757)
 * [Wicked Folders - Folder Organizer for Pages, Posts, and Custom Post Types](https://wordpress.org/plugins/wicked-folders/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wicked-folders/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wicked-folders/)
 * [Active Topics](https://wordpress.org/support/plugin/wicked-folders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wicked-folders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wicked-folders/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/css-js-loading-on-frontend/#post-16738600)
 * Status: resolved