Example #1
0
<?php get_header(); ?>
<section id="page">
    <div class="container-fluid">
        <div id="content" class="site-content" role="main">
            <?php /* The loop */ ?>
            <?php while ( have_posts() ) { the_post(); ?>
            <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                <?php // edit_post_link( __( 'Edit', ZEETEXTDOMAIN ), '<small class="edit-link pull-right ">', '</small><div class="clearfix"></div>' ); ?>
                <?php if ( has_post_thumbnail() && ! post_password_required() ) { ?>
                <div class="entry-thumbnail">
                    <?php the_post_thumbnail(); ?>
                </div>
                <?php } ?>
                <div class="entry-content">
                    <?php the_content(); ?>
                    <?php zee_link_pages(); ?>
                </div>
            </article>
            <?php comments_page(); ?>
            <?php } ?>
        </div><!--/#content-->
    </div>
</section><!--/#page-->
<?php get_footer();
Example #2
0
                <?php 
    if (has_post_thumbnail() && !post_password_required()) {
        ?>
                <div class="entry-thumbnail">
                    <?php 
        the_post_thumbnail();
        ?>
                </div>
                <?php 
    }
    ?>
                <div class="entry-content">
                    <?php 
    the_content();
    ?>
                    <?php 
    zee_link_pages();
    ?>
                </div>
            </article>
            <?php 
    comments_page();
    ?>
            <?php 
}
?>
        </div><!--/#content-->
    </div>
</section><!--/#page-->
<?php 
get_footer();