wordpress/php-fpm/wordpress_files/themes/green-bug-10/index.php

32 lines
879 B
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post">
<div class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
<div class="meta">
<span class="posted">Posted on <?php the_time('F j, Y'); ?> in <?php the_category(', '); ?> by <?php the_author() ?></span><span class="comments"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></span><div style="clear: both;"></div></div>
<div class="entry">
<?php the_content(); ?>
</div>
</div>
<?php endwhile; else: ?>
<div class="post">
<div class="title">Not Found</div>
<div class="entry">
You are looking for something that isn't here
</div>
</div>
<?php endif; ?>
<?php posts_nav_link(); ?>
<?php get_footer(); ?>