• how to remove?
    <link rel='stylesheet' id='style-css' href='http://localhost/wp-content/themes/basic/style.css' type='text/css' media='all' />

    because i am using <style>my custom css</style> right now

    but <link rel='stylesheet' id='style-css' href='http://localhost/wp-content/themes/basic/style.css' type='text/css' media='all' /> still appear, how to remove that?

    thanks before for answering my question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Ayu Rozenda,

    Please follow the below link which has function for removing the style.css

    http://codex.wordpress.org/Function_Reference/wp_dequeue_style

    OR

    By going in header.php we can remove.

    Thanks

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: @clarionwpdeveloper I hope your email is working as I’ve pinged you about this before and didn’t get a reply. Once again, please do not recommend that users edit their theme files that way. They will lose their changes when the theme is updated and that’s not useful.

    @ayurozenda Try creating and activating a child theme of that “Basic” theme.

    https://codex.wordpress.org/Child_Themes

    Once you’ve got that child theme working then make a copy of that parent theme’s header.php into the child theme directory and try making your edits on that copy.

    If you need more specific steps then can you provide a link to that theme? If it’s hosted on the WordPress repository then step by steps may be possible.

    Hello Jan Dembowski,

    From next onward We will definitely take care of that We will not going to recommend any change in parent theme files directly.
    Thanks for kind suggestion.

    Thanks

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

The topic ‘How to remove or disable’ is closed to new replies.