twentyeleven_wpcom_setup

Sets up defaults for wp.com-specific functionality.

Description

twentyeleven_wpcom_setup(); 

Usage

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

Defined (1)

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

/inc/wpcom.php  
  1. function twentyeleven_wpcom_setup() { 
  2. add_theme_support( 'video-header' ); 
  3.  
  4. // Add support for WP.com required post formats 
  5. add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'link', 'quote', 'gallery', 'status' ) );