Support » Plugin: WP ULike - Most Advanced WordPress Marketing Toolkit » Style sheet could not be loaded

  • Resolved mypcbasics

    (@mypcbasics)


    When I’m viewing my browser’s console on firefox I see this error:

    “Style sheet could not be loaded. mywebsite/images/wp-ulike/custom.css?ver=4.2.5.”

    /images is my upload folder.

    However, I’m not using the custom.css, so how can I disable it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alimir

    (@alimir)

    Hi @mypcbasics
    The custom CSS file is also created when you add settings such as custom loader, or custom icons. Have you made a change in the path of the wp-content> uploads folder?

    Thread Starter mypcbasics

    (@mypcbasics)

    I’m using the default settings of the app. I didn’t add any custom image or CSS setting.

    Before I used this app, I changed the default media upload location from wp-content/uploads to /images using this code at the wp-config.php:

    define( ‘UPLOADS’, ‘images’ );

    I checked the custom.css file and it’s empty…
    I think that the browser did manage to load this CSS file, but I only get this message because this file is empty

    1. How can I disable this CSS file if I’m not using it?

    2. I’m also using the like button only on post pages. so I entered to General=>Disable Plugin Files, to disable the plugin on all pages except post pages, now the wp-ulike.min.js file is loaded on pages and post pages. how to disable it on pages?

    Plugin Author Alimir

    (@alimir)

    1- In the next update that will be released today or tomorrow, I will add a new option that you can disable this file.
    2- For this topic, we have set the is_singular condition, which includes post types and pages. But you can write a manual hook that disables plugin scripts.

    Thread Starter mypcbasics

    (@mypcbasics)

    The update solved the problem thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Style sheet could not be loaded’ is closed to new replies.