equal
deleted
inserted
replaced
115 if ( $image[1] >= $header_image_width ) |
115 if ( $image[1] >= $header_image_width ) |
116 $thumbnail_size = 'large-feature'; |
116 $thumbnail_size = 'large-feature'; |
117 else |
117 else |
118 $thumbnail_size = 'small-feature'; |
118 $thumbnail_size = 'small-feature'; |
119 ?> |
119 ?> |
120 <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> |
120 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> |
121 <?php |
121 <?php |
122 } |
122 } |
123 ?> |
123 ?> |
124 <?php get_template_part( 'content', 'featured' ); ?> |
124 <?php get_template_part( 'content', 'featured' ); ?> |
125 </section> |
125 </section> |
145 if ( 1 == $counter_slider ) |
145 if ( 1 == $counter_slider ) |
146 $class = 'class="active"'; |
146 $class = 'class="active"'; |
147 else |
147 else |
148 $class = ''; |
148 $class = ''; |
149 ?> |
149 ?> |
150 <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php printf( esc_attr__( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" <?php echo $class; ?>></a></li> |
150 <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php echo $class; ?>></a></li> |
151 <?php endwhile; ?> |
151 <?php endwhile; ?> |
152 </ul> |
152 </ul> |
153 </nav> |
153 </nav> |
154 <?php endif; // End check for more than one sticky post. ?> |
154 <?php endif; // End check for more than one sticky post. ?> |
155 </div><!-- .featured-posts --> |
155 </div><!-- .featured-posts --> |
194 |
194 |
195 // For all other recent posts, just display the title and comment status. |
195 // For all other recent posts, just display the title and comment status. |
196 while ( $recent->have_posts() ) : $recent->the_post(); ?> |
196 while ( $recent->have_posts() ) : $recent->the_post(); ?> |
197 |
197 |
198 <li class="entry-title"> |
198 <li class="entry-title"> |
199 <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> |
199 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> |
200 <span class="comments-link"> |
200 <span class="comments-link"> |
201 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?> |
201 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?> |
202 </span> |
202 </span> |
203 </li> |
203 </li> |
204 |
204 |