page.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php get_header(); ?>
  2. <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
  3. <div class="post">
  4. <?php the_title('<h1 class="post-title entry-title">', '</h1>'); ?>
  5. <div class="info">
  6. <?php edit_post_link(__('Edit', 'philna'), '<span class="editpost">', '</span>'); ?>
  7. <?php if(comments_open()) : ?>
  8. <span class="comments-link addcomment"><a href="#respond" title="<?php _e('Add a comment', 'philna') ?>"><?php _e('Add a comment', 'philna') ?></a></span>
  9. <?php endif;?>
  10. <span class="published"><?php the_time(__('F jS, Y', 'philna')) ?></span>
  11. <span class="post-author"><a href="<?php echo get_author_posts_url(get_the_author_meta('ID'));?>"><?php the_author();?></a></span>
  12. </div>
  13. <div class="entry-content">
  14. <?php the_content(); ?>
  15. <?php wp_link_pages("before=<p class='pages'>".__('Pages:','philna')."&after=</p>"); ?>
  16. </div>
  17. </div>
  18. <?php endwhile; ?>
  19. <?php else: ?>
  20. <p class="no-data"><?php _e('Sorry, no posts matched your criteria.','philna'); ?></p>
  21. <?php endif; ?>
  22. <?php comments_template(); ?>
  23. <?php get_footer(); ?>