twentyfourteen_wpcom_setup

Adds support for wp.com-specific theme functions.

Description

twentyfourteen_wpcom_setup(); 

Usage

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

Defined (1)

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

/inc/wpcom.php  
  1. function twentyfourteen_wpcom_setup() { 
  2. global $themecolors; 
  3.  
  4. // Set theme colors for third party services. 
  5. if ( ! isset( $themecolors ) ) { 
  6. $themecolors = array( 
  7. 'bg' => 'ffffff',  
  8. 'border' => 'e5e5e5',  
  9. 'text' => '2b2b2b',  
  10. 'link' => '24890d',  
  11. 'url' => '24890d',  
  12. ); 
  13.  
  14. // Enable support for WP.com global print style. 
  15. add_theme_support( 'print-style' );