Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

sidebar
Thursday, June 14th, 2007 at 9:54:35pm MDT 

  1.         <div id="sidebar">
  2.  
  3. <ul>
  4.                         &lt;?php        /* Widgetized sidebar, if you have the plugin installed. */
  5.                                         if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?&gt;
  6.  
  7. <li>
  8.                                 &lt;?php include (TEMPLATEPATH . '/searchform.php'); ?&gt;
  9.                         </li>
  10.                         &lt;!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
  11.  
  12. <li>&lt;h2&gt;Author&lt;/h2&gt;
  13.                         &lt;p&gt;A little something about you, the author. Nothing lengthy, just an overview.&lt;/p&gt;
  14.                         </li>
  15.                         --&gt;
  16.  
  17.                         &lt;?php if ( is_404() || is_category() || is_day() || is_month() ||
  18.                                                 is_year() || is_search() || is_paged() ) {
  19.                         ?&gt;
  20. <li>
  21.                         &lt;?php /* If this is a 404 page */ if (is_404()) { ?&gt;
  22.                         &lt;?php /* If this is a category archive */ } elseif (is_category()) { ?&gt;
  23.                         &lt;p&gt;You are currently browsing the archives for the &lt;?php single_cat_title(''); ?&gt; category.&lt;/p&gt;
  24.  
  25.                         &lt;?php /* If this is a yearly archive */ } elseif (is_day()) { ?&gt;
  26.                         &lt;p&gt;You are currently browsing the <a>/"&gt;&lt;?php echo bloginfo('name'); ?&gt;</a> weblog archives
  27.                         for the day &lt;?php the_time('l, F jS, Y'); ?&gt;.&lt;/p&gt;
  28.  
  29.                         &lt;?php /* If this is a monthly archive */ } elseif (is_month()) { ?&gt;
  30.                         &lt;p&gt;You are currently browsing the <a>/"&gt;&lt;?php echo bloginfo('name'); ?&gt;</a> weblog archives
  31.                         for &lt;?php the_time('F, Y'); ?&gt;.&lt;/p&gt;
  32.  
  33.                         &lt;?php /* If this is a yearly archive */ } elseif (is_year()) { ?&gt;
  34.                         &lt;p&gt;You are currently browsing the <a>/"&gt;&lt;?php echo bloginfo('name'); ?&gt;</a> weblog archives
  35.                         for the year &lt;?php the_time('Y'); ?&gt;.&lt;/p&gt;
  36.  
  37.                         &lt;?php /* If this is a monthly archive */ } elseif (is_search()) { ?&gt;
  38.                         &lt;p&gt;You have searched the <a>/"&gt;&lt;?php echo bloginfo('name'); ?&gt;</a> weblog archives
  39.                         for <strong>'&lt;?php the_search_query(); ?&gt;'</strong>. If you are unable to find anything in these search results, you can try one of these links.&lt;/p&gt;
  40.  
  41.                         &lt;?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) &#38;&#38; !empty($_GET['paged'])) { ?&gt;
  42.                         &lt;p&gt;You are currently browsing the <a>/"&gt;&lt;?php echo bloginfo('name'); ?&gt;</a> weblog archives.&lt;/p&gt;
  43.  
  44.                         &lt;?php } ?&gt;
  45.  
  46. </li>
  47. &lt;?php }?&gt;
  48.  
  49.                         &lt;?php wp_list_pages('title_li=&lt;h2&gt;Pages&lt;/h2&gt;' ); ?&gt;
  50.  
  51. <li>&lt;h2&gt;Archives&lt;/h2&gt;
  52. <ul>
  53.                                 &lt;?php wp_get_archives('type=monthly'); ?&gt;
  54.                                 </ul>
  55. </li>
  56.                         &lt;?php wp_list_categories('show_count=1&#38;title_li=&lt;h2&gt;Categories&lt;/h2&gt;'); ?&gt;
  57.  
  58.                         &lt;?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?&gt;
  59.                                 &lt;?php wp_list_bookmarks(); ?&gt;
  60.  
  61. <li>&lt;h2&gt;Meta&lt;/h2&gt;
  62. <ul>
  63.                                         &lt;?php wp_register(); ?&gt;
  64.  
  65. <li>&lt;?php wp_loginout(); ?&gt;</li>
  66. <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid XHTML</a></li>
  67. <li><a href="http://gmpg.org/xfn/">XFN</a></li>
  68. <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
  69.                                         &lt;?php wp_meta(); ?&gt;
  70.                                 </ul>
  71. </li>
  72.                         &lt;?php } ?&gt;
  73.  
  74.                         &lt;?php endif; ?&gt;
  75.                 </ul>
  76.         &lt;/div&gt;

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right worth-right
fantasy-obligation