Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="main-content">
- <section id="primary">
- <!-- <h2 class="cat-title">Latest news</h2> -->
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <article class="post">
- <img src="">
- <h2 class="post-title"><?php the_title(); ?></h2>
- <?php the_content('Read More...'); ?>
- <div class="post-info">
- by <?php the_author(); ?>,
- at <?php the_time('l F d, Y'); ?></a>
- </div>
- <?php previous_post_link(); ?> / <?php next_post_link(); ?>
- <ol class="commentlist">
- <?php wp_list_comments(); ?>
- </ol>
- </article>
- <?php endwhile; else: ?>
- <p><?php _e('No posts were found. Sorry!', 'magaziner'); ?></p>
- <?php endif; ?>
- <?php comment_form(); ?>
- </section>
- <?php get_sidebar(); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement