Beispiel #1
0
        the_author_posts_link();
        ?>
</span>
      <span class="category">posted in <?php 
        the_category(', ');
        ?>
</span>
      </div>
      <?php 
        the_content('Read the rest of this entry &raquo;');
        ?>
      <a href="<?php 
        the_permalink();
        ?>
#comments" class="response-count"><?php 
        comments_number('0 Responses', '1 Response', '% Responses');
        ?>
</a>
      </div>
    <?php 
    }
    ?>
    <?php 
} else {
    ?>
    <div class="no-results">
      <h3>Not Found</h3>
      <p>Sorry, but you are looking for something that isn't here.</p>
    </div>
    <?php 
}
<ul class="pagination">
  <!-- the previous page -->
  <?php 
pp_the_pagination();
if (pp_has_previous_page()) {
    ?>
  <li class="previous"><a href="<?php 
    pp_the_previous_page_permalink();
    ?>
" title="View newer posts.">&laquo; Newer</a></li>
  <?php 
} else {
    ?>
  <li class="disabled"><span title="There are no newer posts.">&laquo; Newer</span></li>
  <?php 
}
pp_rewind_pagination();
?>
  <!-- the page links -->
  <?php 
while (pp_has_pagination()) {
    pp_the_pagination();
    if (pp_is_current_page()) {
        ?>
  <li class="active number"><span title="You are viewing page <?php 
        pp_the_page_num();
        ?>
">
    <?php 
        pp_the_page_num();
        ?>