• Resolved pavelberg1

    (@pavelberg1)


    Hi! I’m glad to use your plugin: “Сlick5 sitemap” — the best of its kind.

    Can you help in disabling index.css of your plugin? I would like to move this to my main css. Now I’m trying to do it “standard” according by wp_dequeue_style/wp_enqueue_scripts: I copy the ID “click5_sitemap_css_front”, without “-css” at the end. However, it doesn’t work for me. Show me the correct CSS ID please.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author click5

    (@click5)

    Hello @pavelberg1,

    Here is a function, which you will need to add to your functions.php file, in order to exclude CSS of our plugin:

    function c5sitemap_dequeue($output) {
        wp_dequeue_style('click5_sitemap_css_front');
        return $output;
    }
    add_action('do_shortcode_tag', 'c5sitemap_dequeue', 999);

    Please give it a try and let us know if you would have any other questions.

    Btw, we would appreciate a 5-star review if you like our plugin ??

    Thanks,
    click5 Team

    Thread Starter pavelberg1

    (@pavelberg1)

    Thanks for the help, sir!
    I am a novice programmer and you gave me a great reason for thought. Of course, I noted your plugin as the best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘css wp_dequeue_style’ is closed to new replies.