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

sidebar.php

By: a guest on Oct 28th, 2012  |  syntax: None  |  size: 2.12 KB  |  views: 1  |  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 if (dynamic_sidebar('Sidebar Widgets')) : else : ?>
  2.    
  3.         <!-- All this stuff in here only shows up if you DON'T have any widgets active in this zone -->
  4.    
  5.                 <div class="widget-container">    
  6.                 <h2 class="widget-title">Eclipse</h2>
  7.                 <p>Thank you for using Eclipse.</p>
  8.                 <p>We designed Eclipse to be as user friendly as possible, but if you do run into trouble we provide a <a href="http://cyberchimps.com/forum">support forum</a>, and <a href="http://www.cyberchimps.com/eclipse/docs/">precise documentation</a>.</p>
  9.  
  10.         </div>
  11.                
  12.                 <div class="widget-container">    
  13.                 <h2 class="widget-title"><?php printf( __('Pages', 'reponse' )); ?></h2>
  14.                 <ul>
  15.         <?php wp_list_pages('title_li=' ); ?>
  16.         </ul>
  17.         </div>
  18.    
  19.                 <div class="widget-container">    
  20.         <h2 class="widget-title"><?php printf( __( 'Archives', 'reponse' )); ?></h2>
  21.         <ul>
  22.                 <?php wp_get_archives('type=monthly'); ?>
  23.         </ul>
  24.         </div>
  25.        
  26.                 <div class="widget-container">    
  27.        <h2 class="widget-title"><?php printf( __('Categories', 'reponse' )); ?></h2>
  28.         <ul>
  29.            <?php wp_list_categories('show_count=1&title_li='); ?>
  30.         </ul>
  31.         </div>
  32.        
  33.                 <div class="widget-container">    
  34.         <h2 class="widget-title"><?php printf( __('WordPress', 'reponse' )); ?></h2>
  35.         <ul>
  36.                 <?php wp_register(); ?>
  37.                 <li><?php wp_loginout(); ?></li>
  38.                 <li><a href="<?php echo esc_url( __('http://wordpress.org/', 'reponse' )); ?>" target="_blank" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'reponse'); ?>"> <?php printf( __('WordPress', 'reponse' )); ?></a></li>
  39.                 <?php wp_meta(); ?>
  40.         </ul>
  41.         </div>
  42.        
  43.         <div class="widget-container">
  44.         <h2 class="widget-title"><?php printf( __('Subscribe', 'reponse' )); ?></h2>
  45.         <ul>
  46.                 <li><a href="<?php bloginfo('rss2_url'); ?>"><?php printf( __('Entries (RSS)', 'reponse' )); ?></a></li>
  47.                 <li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php printf( __('Comments (RSS)', 'reponse' )); ?></a></li>
  48.         </ul>
  49.         </div>
  50.        
  51. <?php endif; ?>
clone this paste RAW Paste Data