I can't remove specific CSS and JS from the WP_HEAD. Please, help?
-
Hello everyone.
I’m trying to remove some specific lines from the WP_HEAD. Now my header looks following way:<link rel='stylesheet' id='bootstrap-css' href='/themes/wp-e/css/bootstrap.css?ver=4.2.2' type='text/css' media='all' /> <link rel='stylesheet' id='bootstrap-responsive-css' href='/themes/wp-e/css/bootstrap-responsive.css?ver=4.2.2' type='text/css' media='all' /> <link rel='stylesheet' id='style-css' href='/themes/wp-e/style.css?ver=4.2.2' type='text/css' media='all' /> <link rel='stylesheet' id='prettyPhoto-css-css' href='/themes/wp-e/css/prettyphoto.css?ver=4.2.2' type='text/css' media='all' /> <link rel='stylesheet' id='custom-options-css' href='/themes/wp-e/css/options.css?ver=4.2.2' type='text/css' media='all' /> <link rel='stylesheet' id='oswald_google-fonts-css' href='https://fonts.googleapis.com/css?family=Oswald%3A400%2C300%2C700&subset=latin%2Clatin-ext&ver=4.2.2' type='text/css' media='screen' /> <link rel='stylesheet' id='thumbs_rating_styles-css' href='/plugins/rating/css/style.css?ver=1.0.0' type='text/css' media='all' /> <script type='text/javascript' src='/js/jquery/jquery.js?ver=1.11.2'></script> <script type='text/javascript' src='/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <script type='text/javascript' src='/plugins/q2w3-fixed-widget/js/q2w3-fixed-widget.min.js?ver=4.0.6'></script> <script type='text/javascript' src='/plugins/rating/js/general.js?ver=4.0.1'></script>
I need to delete all of this, but I am not good at coding and all I know is that I have to put the
remove_action( 'wp_head', '???' );
But I have no idea what to put instead of ‘???’…
Please can anyone help?
- The topic ‘I can't remove specific CSS and JS from the WP_HEAD. Please, help?’ is closed to new replies.