mh_impact_lite_widgets_init

The MH Impact lite mh impact lite widgets init function.

Description

mh_impact_lite_widgets_init(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mh_impact_lite_widgets_init() { 
  2. register_sidebar(array('name' => __('Sidebar', 'mh-impact-lite'), 'id' => 'sidebar-widgets', 'description' => __('General Sidebar on posts, pages and archives.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="sb-widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>')); 
  3. register_sidebar(array('name' => sprintf(_x('Home %d', 'widget area name', 'mh-impact-lite'), 1), 'id' => 'home-1', 'description' => __('Widgets on home page above content area.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="home-widget home-1 %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title-home">', 'after_title' => '</h4>')); 
  4. register_sidebar(array('name' => sprintf(_x('Home %d', 'widget area name', 'mh-impact-lite'), 2), 'id' => 'home-2', 'description' => __('Widgets on home page below content area.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="home-widget home-2 %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title-home">', 'after_title' => '</h4>')); 
  5. register_sidebar(array('name' => sprintf(_x('Footer %d', 'widget area name', 'mh-impact-lite'), 1), 'id' => 'footer-1', 'description' => __('Widgets in the first footer column.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="footer-widget footer-1 %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>')); 
  6. register_sidebar(array('name' => sprintf(_x('Footer %d', 'widget area name', 'mh-impact-lite'), 2), 'id' => 'footer-2', 'description' => __('Widgets in the second footer column.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="footer-widget footer-2 %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>')); 
  7. register_sidebar(array('name' => sprintf(_x('Footer %d', 'widget area name', 'mh-impact-lite'), 3), 'id' => 'footer-3', 'description' => __('Widgets in the third footer column.', 'mh-impact-lite'), 'before_widget' => '<div id="%1$s" class="footer-widget footer-3 %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>'));