mh_impact_lite_themes_setup

The MH Impact lite mh impact lite themes setup function.

Description

mh_impact_lite_themes_setup(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mh_impact_lite_themes_setup() { 
  2. load_theme_textdomain('mh-impact-lite', get_template_directory() . '/languages'); 
  3. add_filter('use_default_gallery_style', '__return_false'); 
  4. add_post_type_support('page', 'excerpt'); 
  5. add_theme_support('custom-header', array('default-image' => '', 'default-text-color' => '4d4d4d', 'width' => 300, 'height' => 100, 'flex-width' => true, 'flex-height' => true)); 
  6. add_theme_support('title-tag'); 
  7. add_theme_support('automatic-feed-links'); 
  8. add_theme_support('html5', array('search-form')); 
  9. add_theme_support('custom-background', array('default-color' => '55b2a2')); 
  10. add_theme_support('post-thumbnails'); 
  11. add_theme_support('customize-selective-refresh-widgets'); 
  12. add_image_size('slider', 1120, 476, true); 
  13. add_image_size('blog', 684, 291, true); 
  14. add_image_size('pages-widget', 220, 220, true); 
  15. register_nav_menus(array('main_nav' => __('Main Navigation', 'mh-impact-lite')));