I want to optimize the code. When you open my site in the browser's view-source , many unnecessary links are displayed, for example, PageSpeed Insights swears:
<link rel='stylesheet' id='shortcodes-css' href='http://mysite.net/wp-content/themes/deals/functions/shortcodes/shortcodes.css?ver=4.4.6' type='text/css' media='all' /> <link rel='stylesheet' id='fancybox-css' href='http://mysite.net/wp-content/themes/deals/includes/css/fancybox.css?ver=4.4.6' type='text/css' media='all' /> <link rel='stylesheet' id='jq-ui-css' href='http://mysite.net/wp-content/themes/deals/css/jquery-ui.css?ver=4.4.6' type='text/css' media='all' /> <link rel='stylesheet' id='color-css' href='http://mysite.net/wp-content/themes/deals/css/color-orange.css?ver=4.4.6' type='text/css' media='all' /> <link rel='stylesheet' id='responsive-css' href='http://mysite.net/wp-content/themes/deals/css/responsive.css?ver=4.4.6' type='text/css' media='all' /> <link rel='stylesheet' id='custom-css' href='http://mysite='all' /> They are generated using the wp_head () function ;
The same with Javascript links.
How can I turn them all off with a header?