> <?php if ('full-width' == pinboard_get_option('layout') || is_category(pinboard_get_option('portfolio_cat')) || is_category() && cat_is_ancestor_of(pinboard_get_option('portfolio_cat'), get_queried_object())) { ?> <?php pinboard_entry_meta(); ?> <?php } ?> </header><!-- .entry-header --> <?php if (('full-width' == pinboard_get_option('layout') || is_category(pinboard_get_option('portfolio_cat')) || is_category() && cat_is_ancestor_of(pinboard_get_option('portfolio_cat'), get_queried_object())) && !pinboard_is_teaser()) { ?> <?php pinboard_post_video(); ?> <?php } ?> <?php if (!is_category(pinboard_get_option('portfolio_cat')) && !(is_category() && cat_is_ancestor_of(pinboard_get_option('portfolio_cat'), get_queried_object()))) { ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php } ?>
<?php get_header(); ?> <div id="container"> <section id="content" <?php pinboard_content_class(); ?>> <?php if( have_posts() ) : the_post(); ?> <?php if(function_exists('the_views')) { the_views(); } ?> <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <div class="entry"> <header class="entry-header"> <<?php pinboard_title_tag( 'post' ); ?> class="entry-title"><?php the_title(); ?></<?php pinboard_title_tag( 'post' ); ?>> <?php pinboard_entry_meta(); ?> </header><!-- .entry-header --> <div class="entry-content"> <?php if( has_post_format( 'audio' ) ) : ?> <p><?php pinboard_post_audio(); ?></p> <?php elseif( has_post_format( 'video' ) ) : ?> <p><?php pinboard_post_video(); ?></p> <?php endif; ?> <?php the_content(); ?> <div class="clear"></div> </div><!-- .entry-content --> <footer class="entry-utility"> <?php wp_link_pages( array( 'before' => '<p class="post-pagination">' . __( 'Pages:', 'pinboard' ), 'after' => '</p>' ) ); ?> <?php the_tags( '<div class="entry-tags">', ' ', '</div>' ); ?> <?php pinboard_post_author(); ?> </footer><!-- .entry-utility --> </div><!-- .entry --> <?php comments_template(); ?> </article><!-- .post --> <?php else : ?> <?php pinboard_404(); ?>