Thesis: Custom Google Fonts


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /*--------------------------------------------------*/
  2. /** integrate custom google fonts */
  3. /*--------------------------------------------------*/
  4.  
  5. function google_api() { ?>
  6. <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
  7. <?php
  8. }
  9.  
  10. add_action('wp_head', 'google_api');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.