646 12

Custom font

Custom font: 
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
add_action( 'wp_enqueue_scripts', 'custom_google_fonts' ); function custom_google_fonts() { wp_enqueue_style( 'custom-font', "//,300,100,500"); } To include multiple fonts at once, add the | separator, like so wp_enqueue_style( 'custom-font', "//,300,100,500|Roboto+Slab:400,300,100,500");
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus