Advertisement
wclendining

Functions.phpWidgets

Mar 20th, 2015
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.00 KB | None | 0 0
  1. <?php
  2. if ( function_exists('register_sidebar') )
  3. register_sidebar(array(
  4. 'name' => 'Left Sidebar',
  5. 'before_widget' => '',
  6. 'after_widget' => '',
  7. 'before_title' => '<h2>',
  8. 'after_title' => '</h2>',
  9. ));
  10. if ( function_exists('register_sidebar') )
  11. register_sidebar(array(
  12. 'name' => 'Right Sidebar',
  13. 'before_widget' => '',
  14. 'after_widget' => '',
  15. 'before_title' => '<h2>',
  16. 'after_title' => '</h2>',
  17. ));
  18. if ( function_exists('register_sidebar') )
  19. register_sidebar(array(
  20. 'name' => 'Left Footer',
  21. 'before_widget' => '',
  22. 'after_widget' => '',
  23. 'before_title' => '<h2>',
  24. 'after_title' => '</h2>',
  25. ));
  26. if ( function_exists('register_sidebar') )
  27. register_sidebar(array(
  28. 'name' => 'Right Footer',
  29. 'before_widget' => '',
  30. 'after_widget' => '',
  31. 'before_title' => '<h2>',
  32. 'after_title' => '</h2>',
  33. ));
  34. if ( function_exists('register_sidebar') )
  35. register_sidebar(array(
  36. 'name' => 'Centre Footer',
  37. 'before_widget' => '',
  38. 'after_widget' => '',
  39. 'before_title' => '<h2>',
  40. 'after_title' => '</h2>',
  41. ));
  42. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement