twentyeleven_wpcom_styles

Enqueue our WP.com styles for front-end.

Description

twentyeleven_wpcom_styles(); 

Loads after style.css so we can add overrides.


Usage

  1. if ( !function_exists( 'twentyeleven_wpcom_styles' ) ) { 
  2. require_once '/inc/wpcom.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twentyeleven_wpcom_styles(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/wpcom.php  
  1. function twentyeleven_wpcom_styles() { 
  2. wp_enqueue_style( 'twentyeleven-wpcom-style', get_template_directory_uri() . '/style-wpcom.css' );