weblizar_widgets_init

The Enigma weblizar widgets init function.

Description

weblizar_widgets_init(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function weblizar_widgets_init() { 
  2. /**sidebar*/ 
  3. register_sidebar( array( 
  4. 'name' => __( 'Sidebar', 'enigma' ),  
  5. 'id' => 'sidebar-primary',  
  6. 'description' => __( 'The primary widget area', 'enigma' ),  
  7. 'before_widget' => '<div class="enigma_sidebar_widget">',  
  8. 'after_widget' => '</div>',  
  9. 'before_title' => '<div class="enigma_sidebar_widget_title"><h2>',  
  10. 'after_title' => '</h2></div>' 
  11. ) ); 
  12.  
  13. register_sidebar( array( 
  14. 'name' => __( 'Footer Widget Area', 'enigma' ),  
  15. 'id' => 'footer-widget-area',  
  16. 'description' => __( 'footer widget area', 'enigma' ),  
  17. 'before_widget' => '<div class="col-md-3 col-sm-6 enigma_footer_widget_column">',  
  18. 'after_widget' => '</div>',  
  19. 'before_title' => '<div class="enigma_footer_widget_title">',  
  20. 'after_title' => '<div class="enigma-footer-separator"></div></div>',  
  21. ) );