I cannot enqueue fonts
-
Anyone know why this php snippet isn’t working after 4.3 upgrade? Any fix? I don’t want to use a plugin for fonts.
add_action( 'wp_enqueue_scripts', 'my_google_font' ); function my_google_font() { wp_enqueue_style( $handle = 'my-google-font', $src = 'https://fonts.googleapis.com/css?family=Playball|Dosis|Raleway|Orbitron|Tangerine', $deps = array(), $ver = null, $media = null ); }
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘I cannot enqueue fonts’ is closed to new replies.