1. function civico_scripts_styles() {
  2.     global $wp_styles;
  3.  
  4.     /*
  5.      * Adds JavaScript to pages with the comment form to support
  6.      * sites with threaded comments (when in use).
  7.      */
  8.     if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
  9.         wp_enqueue_script( 'comment-reply' );
  10.  
  11.     /*
  12.      * Loads our main stylesheet.
  13.      */
  14.     wp_enqueue_style( 'civico-style', get_stylesheet_uri() );
  15.     wp_enqueue_style( 'google-fonts', 'http://fonts.googleapis.com/css?family=Bitter:400,700|Open+Sans:400italic,700italic,400,700' );
  16. }
  17. add_action( 'wp_enqueue_scripts', 'civico_scripts_styles' );