Changeset 31250
- Timestamp:
- 01/20/2015 07:02:53 PM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/comments.php
r26260 r31250 41 41 <?php 42 42 wp_list_comments( array( 43 'style' => 'ol',44 'short_ping' => true,45 'avatar_size' => 34,43 'style' => 'ol', 44 'short_ping' => true, 45 'avatar_size' => 34, 46 46 ) ); 47 47 ?> -
trunk/src/wp-content/themes/twentyfourteen/featured-content.php
r26556 r31250 23 23 setup_postdata( $post ); 24 24 25 25 // Include the featured content template. 26 26 get_template_part( 'content', 'featured-post' ); 27 27 endforeach; -
trunk/src/wp-content/themes/twentyfourteen/image.php
r28462 r31250 29 29 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> 30 30 31 <span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span>31 <span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo esc_html( $metadata['width'] ); ?> × <?php echo esc_html( $metadata['height'] ); ?></a></span> 32 32 33 33 <span class="parent-post-link"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> -
trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php
r30146 r31250 141 141 <img src="<?php header_image(); ?>" alt=""> 142 142 <?php endif; ?> 143 <h1 class="displaying-header-text"><a id="name" <?php echo sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?>onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>143 <h1 class="displaying-header-text"><a id="name" style="<?php echo esc_attr( sprintf( 'color: #%s;', get_header_textcolor() ) ); ?>" onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1> 144 144 </div> 145 145 <?php -
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r29903 r31250 326 326 327 327 $settings = self::get_setting(); 328 foreach ( $terms as $order => $term ) {328 foreach ( $terms as $order => $term ) { 329 329 if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) { 330 330 unset( $terms[ $order ] ); … … 370 370 371 371 $settings = self::get_setting(); 372 foreach ( $terms as $order => $term ) {372 foreach ( $terms as $order => $term ) { 373 373 if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) { 374 374 unset( $terms[ $term->term_id ] ); -
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r28248 r31250 108 108 ?> 109 109 <h1 class="widget-title <?php echo esc_attr( $format ); ?>"> 110 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php echo $title; ?></a>110 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php echo esc_html( $title ); ?></a> 111 111 </h1> 112 112 <ol> … … 262 262 <select id="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>" class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'format' ) ); ?>"> 263 263 <?php foreach ( $this->formats as $slug ) : ?> 264 <option value="<?php echo esc_attr( $slug ); ?>"<?php selected( $format, $slug ); ?>><?php echo get_post_format_string( $slug); ?></option>264 <option value="<?php echo esc_attr( $slug ); ?>"<?php selected( $format, $slug ); ?>><?php echo esc_html( get_post_format_string( $slug ) ); ?></option> 265 265 <?php endforeach; ?> 266 266 </select> -
trunk/src/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js
r26332 r31250 15 15 } 16 16 17 if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) {17 if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) { 18 18 window.location = url; 19 19 } -
trunk/src/wp-content/themes/twentyfourteen/js/slider.js
r26810 r31250 525 525 var slide = slider.slides.first(); 526 526 527 slider.w = ( slider.viewport ===undefined ) ? slider.width() : slider.viewport.width();527 slider.w = ( slider.viewport === undefined ) ? slider.width() : slider.viewport.width(); 528 528 slider.h = slide.height(); 529 529 slider.boxPadding = slide.outerWidth() - slide.width();
Note: See TracChangeset
for help on using the changeset viewer.