<article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <div class="entry-thumbnail"> <?php thachpham_thumbnail('large'); ?> </div> <div class="entry-header"> <?php thachpham_entry_header(); ?> <?php $attachment = get_children(array('post_parent' => $post->ID)); $attachment_number = count($attachment); printf(__('This image post contains %1$s photos', 'thachpham'), $attachment_number); ?> </div> <div class="entry-content"> <?php thachpham_entry_content(); ?> <?php is_single() ? thachpham_entry_tag() : ''; ?> </div> </article>
<article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <header class="entry-header"> <?php thachpham_entry_header(); ?> </header> <div class="entry-content"> <?php the_content(); ?> <?php if (is_single()) { thachpham_entry_tag(); } ?> </div> </article>