Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    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!

    Plugin Author wickedplugins

    (@wickedplugins)

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

    Hope no one minds, but, @coding4tacos would you mind providing the name of the conflicting plugin? Thanks.

    Thread Starter Taylor

    (@coding4tacos)

    @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.

    @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.