Ach das ist jetzt richtig peinlich. Ich hab die ganze Zeit an der falschen Stelle gesucht.
Den Fehler hab ich bei den Icons und Fonts gemacht.
Aus
PHP
function load_google_fonts() {
wp_register_style('googleFonts', 'https://fonts.googleapis.com/css?family=Great+Vibes|Raleway" rel="stylesheet');
wp_enqueue_style( 'googleFonts');
}
add_action('wp_print_styles', 'load_google_fonts');
wp_enqueue_style(
'font-awesome',
'//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'
);
musste ich nur, wie in dieser Anleitung beschrieben die funktion mit add_action einbinden.
PHP
function load_fonts_and_icons() {
wp_register_style('googleFonts', 'https://fonts.googleapis.com/css?family=Great+Vibes|Raleway" rel="stylesheet');
wp_enqueue_style( 'googleFonts');
wp_register_style('icons', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
wp_enqueue_style('icons');
}
add_action('wp_print_styles', 'load_fonts_and_icons');
Es tut mir leid, keine Ahnung warum ich nicht selber darauf gekommen bin. Vielen, vielen Dank euch beiden .