Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

snip

By: a guest on Feb 1st, 2013  |  syntax: PHP  |  size: 0.59 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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' );