skt_itconsultant_widgets_init

The SKT IT Consultant skt itconsultant widgets init function.

Description

skt_itconsultant_widgets_init(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_itconsultant_widgets_init() {  
  2. register_sidebar( array( 
  3. 'name' => __( 'Sidebar Main', 'itconsultant' ),  
  4. 'description' => __( 'Appears on all site', 'itconsultant' ),  
  5. 'id' => 'sidebar-main',  
  6. 'before_widget' => '<aside id="%1$s" class="sidebar-area %2$s">',  
  7. 'after_widget' => '</aside>',  
  8. 'before_title' => '<h3 class="widget_title">',  
  9. 'after_title' => '</h3>',  
  10. ) );  
  11.  
  12. register_sidebar( array( 
  13. 'name' => __( 'Footer Twitter Widget', 'itconsultant' ),  
  14. 'description' => __( 'Appears on footer of the page', 'itconsultant' ),  
  15. 'id' => 'footer-tweet',  
  16. 'before_widget' => '<aside id="%1$s" class="widget second %2$s">',  
  17. 'after_widget' => '</aside>',  
  18. 'before_title' => '<h3 class="widget-title">',  
  19. 'after_title' => '</h3>',  
  20. ) );