This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

sidebar

By: a guest on Feb 24th, 2012  |  syntax: PHP  |  size: 1.12 KB  |  views: 16  |  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. <aside>
  2.  
  3.     <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Widgets')) : else : ?>
  4.    
  5.         <!-- All this stuff in here only shows up if you DON'T have any widgets active in this zone -->
  6.  
  7.         <?php get_search_form(); ?>
  8.    
  9.         <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
  10.    
  11.         <h2>Archives</h2>
  12.         <ul>
  13.                 <?php wp_get_archives('type=monthly'); ?>
  14.         </ul>
  15.        
  16.         <h2>Categories</h2>
  17.         <ul>
  18.            <?php wp_list_categories('show_count=1&title_li='); ?>
  19.         </ul>
  20.        
  21.         <?php wp_list_bookmarks(); ?>
  22.    
  23.         <h2>Meta</h2>
  24.         <ul>
  25.                 <?php wp_register(); ?>
  26.                 <li><?php wp_loginout(); ?></li>
  27.                 <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
  28.                 <?php wp_meta(); ?>
  29.         </ul>
  30.        
  31.         <h2>Subscribe</h2>
  32.         <ul>
  33.                 <li><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a></li>
  34.                 <li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li>
  35.         </ul>
  36.        
  37.         <?php endif; ?>
  38.  
  39. </aside>
clone this paste RAW Paste Data