" title="<?php printf(esc_attr__('Permalink to %s', 'catchbox'), the_title_attribute('echo=0')); ?> " rel="bookmark"><?php the_title(); ?> </a></h2> <h3 class="entry-format"><?php _e('Gallery', 'catchbox'); ?> </h3> </hgroup> <div class="entry-meta"> <?php catchbox_posted_on(); ?> </div><!-- .entry-meta --> </header><!-- .entry-header --> <?php if (is_search()) { // Only display Excerpts for search pages ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php } else {
?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php if ( is_sticky() ) : ?> <hgroup> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'catchbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <h3 class="entry-format"><?php _e( 'Featured', 'catchbox' ); ?></h3> </hgroup> <?php else : ?> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'catchbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <?php endif; ?> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta"> <?php catchbox_posted_on(); ?> <?php if ( comments_open() && ! post_password_required() ) : ?> <span class="sep"> — </span> <span class="comments-link"> <?php comments_popup_link(__('No Comments ↓', 'catchbox'), __('1 Comment ↓', 'catchbox'), __('% Comments ↓', 'catchbox')); ?> </span> <?php endif; ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <?php $options = catchbox_get_theme_options(); $current_content_layout = $options['content_layout']; ?> <?php if ( is_search() ) : // Only display Excerpts for Search ?>