mh_cicero_lite_themes_setup

The MH Cicero lite mh cicero lite themes setup function.

Description

mh_cicero_lite_themes_setup(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mh_cicero_lite_themes_setup() { 
  2. if (!isset($content_width)) 
  3. $content_width = 610; 
  4. load_theme_textdomain('mh-cicero-lite', get_template_directory() . '/languages'); 
  5. add_filter('use_default_gallery_style', '__return_false'); 
  6. add_post_type_support('page', 'excerpt'); 
  7. add_theme_support('custom-header', array('default-image' => '', 'default-text-color' => 'fff', 'width' => 200, 'height' => 30, 'flex-width' => true, 'flex-height' => true)); 
  8. add_theme_support('title-tag'); 
  9. add_theme_support('automatic-feed-links'); 
  10. add_theme_support('custom-background', array('default-color' => '#f6f5f2')); 
  11. add_theme_support('post-thumbnails'); 
  12. add_theme_support('customize-selective-refresh-widgets'); 
  13. add_image_size('large-thumb', 610, 343, true); 
  14. add_image_size('small-thumb', 70, 70, true); 
  15. register_nav_menus(array('main_nav' => __('Main Navigation', 'mh-cicero-lite')));