Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 9th, 2012  |  syntax: None  |  size: 1.03 KB  |  hits: 46  |  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. <?php
  2.  
  3.  
  4. if ( function_exists('register_sidebar') ) {
  5.    register_sidebar(array(
  6.         'name' => 'Sidebar',
  7.         'before_widget' => '<li id="%1$s" class="widget %2$s">',
  8.         'after_widget' => '</li>',
  9.         'before_title' => '<h3 class="widgettitle">',
  10.         'after_title' => '</h3>',
  11.    ));
  12. }
  13.  
  14. if ( function_exists('register_sidebar') )
  15.         register_sidebar(array(
  16.         'name' => 'Homepage',
  17.         'before_widget' => '',
  18.         'after_widget' => '',
  19.         'before_title' => '<h3 class="icon_header">',
  20.         'after_title' => '</h3>',
  21. ));
  22.  
  23. if ( function_exists('register_sidebar') )
  24.         register_sidebar(array(
  25.         'name' => 'Footer',
  26.         'before_widget' => '<div class="footer_widget">',
  27.         'after_widget' => '</div>',
  28.         'before_title' => '<h4>',
  29.         'after_title' => '</h4>',
  30. ));
  31. if ( function_exists('register_sidebar') )
  32.         register_sidebar(array(
  33.         'name' => 'Contact Page',
  34.         'before_widget' => '<li id="%1$s" class="widget %2$s">',
  35.         'after_widget' => '</li><div class="widget-divider"></div>',
  36.         'before_title' => '<h3 class="widgettitle">',
  37.         'after_title' => '</h3>',
  38. ));
  39.  
  40. ?>