Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

register 4th footer 2011 child functions.php

By: alchymyth on Nov 20th, 2012  |  syntax: PHP  |  size: 0.52 KB  |  hits: 249  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //add a fourth footer widget area//
  2.  
  3. add_action( 'widgets_init', 'register_fourth_footer_widgets', 20 );
  4.  
  5. function register_fourth_footer_widgets() {
  6.  
  7.         register_sidebar( array(
  8.                 'name' => __( 'Footer Area Four', 'twentyeleven' ),
  9.                 'id' => 'sidebar-6',
  10.                 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ),
  11.                 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
  12.                 'after_widget' => "</aside>",
  13.                 'before_title' => '<h3 class="widget-title">',
  14.                 'after_title' => '</h3>',
  15.         ) );
  16. }