web/wp-content/themes/inove/page.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header(); ?>
       
     2 
       
     3 <?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
       
     4 
       
     5 	<div class="post" id="post-<?php the_ID(); ?>">
       
     6 		<h2><?php the_title(); ?></h2>
       
     7 		<div class="info">
       
     8 			<span class="date"><?php the_modified_time(__('F jS, Y', 'inove')); ?></span>
       
     9 			<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
       
    10 			<?php if ($comments || comments_open()) : ?>
       
    11 				<span class="addcomment"><a href="#respond"><?php _e('Leave a comment', 'inove'); ?></a></span>
       
    12 				<span class="comments"><a href="#comments"><?php _e('Go to comments', 'inove'); ?></a></span>
       
    13 			<?php endif; ?>
       
    14 			<div class="fixed"></div>
       
    15 		</div>
       
    16 		<div class="content">
       
    17 			<?php the_content(); ?>
       
    18 			<div class="fixed"></div>
       
    19 		</div>
       
    20 	</div>
       
    21 
       
    22 	<?php include('templates/comments.php'); ?>
       
    23 
       
    24 <?php else : ?>
       
    25 	<div class="errorbox">
       
    26 		<?php _e('Sorry, no posts matched your criteria.', 'inove'); ?>
       
    27 	</div>
       
    28 <?php endif; ?>
       
    29 
       
    30 <?php get_footer(); ?>