Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?php
  2. add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
  3. function theme_enqueue_styles() {
  4. wp_enqueue_style( 'parent_style', get_template_directory_uri() . '/style.css' );
  5. }
  6. ?>
  7. <!-- Add favrod fonts, i.e. PT Sans and Ubuntu -->
  8. <?php
  9. add_action( 'wp_enqueue_style', 'favrod_fonts' );
  10. function favrod_fonts() {
  11. wp_enqueue_style( 'favrod-fonts', favrod_fonts_url('https://fonts.googleapis.com/css? family=PT+Sans:400,700,700italic,400italic|Ubuntu:400,500'), array(), null );
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement