SHARE
TWEET

register footer widgets

a guest Dec 12th, 2012 5,218 Never
  1. // Register footer widgets
  2. register_sidebar( array(
  3.         'name' => __( 'Footer Widget One', 'tto' ),
  4.         'id' => 'sidebar-4',
  5.         'description' => __( 'Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Left Side.', 'tto' ),
  6.         'before_widget' => '<aside id="%1$s" class="widget %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 Widget Two', 'tto' ),
  14.         'id' => 'sidebar-5',
  15.         'description' => __( 'Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Center.', 'tto' ),
  16.         'before_widget' => '<aside id="%1$s" class="widget %2$s">',
  17.         'after_widget' => "</aside>",
  18.         'before_title' => '<h3 class="widget-title">',
  19.         'after_title' => '</h3>',
  20. ) );
  21.  
  22. register_sidebar( array(
  23.         'name' => __( 'Footer Widget Three', 'tto' ),
  24.         'id' => 'sidebar-6',
  25.         'description' => __( 'Found at the bottom of every page (except 404s, optional homepage and full width) as the footer. Right Side.', 'tto' ),
  26.         'before_widget' => '<aside id="%1$s" class="widget %2$s">',
  27.         'after_widget' => "</aside>",
  28.         'before_title' => '<h3 class="widget-title">',
  29.         'after_title' => '</h3>',
  30. ) );
RAW Paste Data
Top