Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.51 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div id="c_content">
  3. <div id="post_entry">
  4. <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
  5. <div class="post_meta" id="post-<?php the_ID(); ?>">
  6. <div class="post_top"></div>
  7. <div class="post_index">
  8. <div class="post_title">
  9. <div class="calendar">
  10. <p class="date"><?php the_time('j'); ?></p>
  11. <p class="month"><?php the_time('M'); ?></p>
  12. </div>
  13. <div class="post_info">
  14. <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  15. <span class="author">Posted by <?php the_author_posts_link(); ?>&nbsp;<?php edit_post_link(__(' Edit'), '|', ''); ?></span>
  16. <span class="category">Published in <?php the_category(', ') ?></span></div>
  17. </div>
  18.  
  19. <div class="post_content">
  20. <?php the_excerpt(); ?>
  21. </div>
  22. <?php if ( function_exists('the_tags') ) { the_tags( '<p>Tags: ', ', ', '</p>'); } ?>
  23. <div class="post_comment_counter">
  24. <div class="coms_count"><a href="<?php comments_link(); ?>"><?php comments_number('no comment','1 comment','% comments'); ?></a></div>
  25. </div>
  26.  
  27. </div>
  28. <div class="post_bottom"></div>
  29. </div>
  30. <div class="clear_content"></div>
  31.  
  32. <?php endwhile; ?>
  33.  
  34. <div class="post_nav"><?php if(function_exists('wp_pagenavi')): ?> <?php wp_pagenavi(); ?><?php else : ?><?php posts_nav_link(); ?>
  35. <?php endif; ?></div>
  36.  
  37. <?php else: ?>
  38.  
  39. <h3>To ko ieškote čia nėra...</h3>
  40. <h4>Pabandykite keisti raktinius žodžius ar grįžti</h4>
  41.  
  42. <?php endif; ?>
  43.  
  44. </div>
  45. <?php get_sidebar(); ?>
  46. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement