GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Hemingway is a template for Wordpress
Homepage: http://warpspire.com/hemingway
Clone URL: git://github.com/kneath/hemingway.git
kneath (author)
Mon Mar 24 00:26:55 -0700 2008
hemingway / static_sidebar.php
100755 37 lines (34 sloc) 1.072 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<hr class="hide" />
  <div id="ancillary">
    <div class="inside">
      <div class="block first">
        <h2><?php _e("About") ?></h2>
        <?php query_posts('pagename=about'); ?>
        <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile; ?>
        <?php endif; ?>
      </div>
      
      <div class="block">
        <h2><?php _e("Recently") ?></h2>
        <ul class="dates">
          <?php
            // I love Wordpress so
            query_posts('showposts=10');
          ?>
          <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
          <li><a href="<?php the_permalink() ?>"><span class="date"><?php the_time( $hemingway->date_format() ) ?></span> <?php the_title() ?> </a></li>
          <?php endwhile; endif; ?>
        </ul>
      </div>
      
      <div class="block">
        <h2><?php _e("Categories") ?></h2>
        <ul class="counts">
          <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
        </ul>
      </div>
      
      <div class="clear"></div>
    </div>
  </div>
  <!-- [END] #ancillary -->