The wp_head() function is called in the site header, but it somehow strangely works: Some plugins plug in fonts from fonts.googleapis and WP substitutes the site domain to the beginning of the path. Those. should be http://fonts.googleapis.com/css?... , and it turns out "http://domain.ru//fonts.googleapis.com/css... Tell "http://domain.ru//fonts.googleapis.com/css... , please, how to fix it?

  • @Hardc0re, thanks a lot! Issue as an answer. - Maxim Vlasov

1 answer 1

You can fix it by editing the plugin code. Here's how to connect styles: wp_enqueue_style('my-styles', "https://maxcdn.bootstrapcdn.com/font-aweso‌​me/4.5.0/css‌​/font-awesome.mi‌​n.css");

You are connected like this:

 wp_enqueue_style('my-styles', "/fonts.googleapis.com/css...");