Advertisement
Guest User

Untitled

a guest
May 15th, 2011
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.55 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div id="slidearea">
  3. <?php include (TEMPLATEPATH . '/tab.php'); ?>
  4. </div>
  5.  
  6. <div id="casing">      
  7.  
  8. <div id="content">
  9.  
  10. <?php if (have_posts()) : ?>
  11. <?php while (have_posts()) : the_post(); ?>
  12.  
  13. <div class="single" id="post-<?php the_ID(); ?>">
  14.  
  15. <div class="title">
  16. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  17. <div class="date">
  18.     <span class="author"> Posted by <?php the_author(); ?></span> <span class="clock"> On <?php the_time('M - j - Y'); ?></span>
  19.     <span class="comm"><?php comments_popup_link('Faça um Comentário', '1 Comentário', '% Comments'); ?></span>
  20. </div>
  21. </div>
  22.  
  23. <div class="cover">
  24. <div class="entry">
  25. <?php postim(); ?>
  26. <?php the_excerpt(); ?>
  27. <div class="clear"></div>
  28. </div>
  29. </div>
  30.  
  31. <div class="singleinfo">
  32.  <span class="more"> <a href="<?php the_permalink() ?>">Leia Mais..</a></span>
  33. </div>
  34.  
  35. </div>
  36.  
  37. <?php endwhile; ?>
  38. <div class="clear"></div>
  39.  
  40.  <div id="navigation">
  41. <?php if(function_exists('wp_pagenavi')) : ?>
  42.         <?php wp_pagenavi() ?>
  43.        <?php else : ?>
  44.         <div class="alignleft"><?php next_posts_link(__('« Older Entries')) ?></div>
  45.         <div class="alignright"><?php previous_posts_link(__('Newer Entries »')) ?></div>
  46.         <div class="clear"></div>
  47.        <?php endif; ?>
  48.  
  49. </div>
  50.  
  51. <?php else : ?>
  52.  
  53.         <h1 class="title">Not Found</h1>
  54.         <p>Sorry, but you are looking for something that isn't here.</p>
  55. <?php endif; ?>
  56.  
  57. </div>
  58. <?php get_sidebar(); ?>
  59. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement