> <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 sunspot_posted_on(); ?> <?php if (is_sticky() && is_front_page()) { ?> <span class="sticky-label"><?php _e('Featured', 'sunspot'); ?> </span> <?php } ?> </div><!-- .entry-meta --> <?php }
<?php /** * @package Sunspot * @since Sunspot 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'sunspot' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta"> <?php sunspot_posted_on(); ?> <?php if ( is_sticky() && is_front_page() ) : ?> <span class="sticky-label"><?php _e( 'Featured', 'sunspot' ); ?></span> <?php endif; ?> </div><!-- .entry-meta --> <?php endif; ?> <?php if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) : ?> <p class="comments-link"><?php comments_popup_link( '<span class="no-reply">' . __( '0', 'sunspot' ) . '</span>', __( '1', 'sunspot' ), __( '%', 'sunspot' ) ); ?></p> <?php endif; ?> </header><!-- .entry-header --> <?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content">