megaresponsive_lite_widgets_init

Register widgetized area and update sidebar with default widgets.

Description

megaresponsive_lite_widgets_init(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function megaresponsive_lite_widgets_init() { 
  2.  
  3. register_sidebar( array( 
  4.  
  5. 'name' => __( 'Sidebar', 'megaresponsive-lite' ),  
  6.  
  7. 'id' => 'sidebar-1',  
  8.  
  9. 'before_widget' => '<aside id="%1$s" class="widget %2$s">',  
  10.  
  11. 'after_widget' => '</aside>',  
  12.  
  13. 'before_title' => '<h1 class="widget-title">',  
  14.  
  15. 'after_title' => '</h1>',  
  16.  
  17. ) ); 
  18.