<div class="article-rest post-summary"> <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink(); ?> " rel="bookmark"><?php the_title(); ?> </a></h1> <?php if ('post' == get_post_type()) { ?> <div class="entry-meta"> <?php inkness_posted_on(); ?> </div><!-- .entry-meta --> <?php } ?> </header><!-- .entry-header --> <?php if (is_search()) { // Only display Excerpts for Search ?> <div class="entry-summary"> <?php the_excerpt(); ?>
<?php /** * @package Inkness */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?></h1> <div class="entry-meta"> <?php inkness_posted_on(); ?> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content"> <?php if (has_post_thumbnail() ) : ?> <div class="featured-image-single"> <?php the_post_thumbnail(); ?> </div> <?php endif; ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'inkness' ), 'after' => '</div>', ) ); ?> <?php the_content(); ?> </div><!-- .entry-content -->