All pastes #764347 Raw Edit

Anonymous

public php v1 · immutable
·published 2007-11-07 03:07 UTC
rendered paste body
<?php get_header();?><div id="main">	<div id="content">	    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>	        <div class="post" id="post-<?php the_ID(); ?>">                  <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>            <div class="meta">						 </div>			  <div class="entry">              <?php the_content(__('Continue Reading &#187;')); ?>              <?php wp_link_pages(); ?>              <?php $sub_pages = wp_list_pages( 'sort_column=menu_order&depth=1&title_li=&echo=0&child_of=' . $id );?>              <?php if ($sub_pages <> "" ){?>              <p class="meta">This page has the following sub pages.</p>              <ul>                <?php echo $sub_pages; ?>              </ul>              <?php }?>                                   </div>            <p class="comments">              <?php comments_popup_link(__('No responses yet'), __('One response so far'), __('% responses so far')); ?>            </p>	          <?php comments_template(); // Get wp-comments.php template ?>	        </div>      <?php endwhile; else: ?>          <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>      <?php endif; ?>	</div>  <?php get_sidebar();?>  <?php get_footer();?>