Changeset 43571 for trunk/src/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r42343 r43571 108 108 // Add support for custom backgrounds. 109 109 add_theme_support( 110 'custom-background', array( 110 'custom-background', 111 array( 111 112 /* 112 113 * Let WordPress know what our default background color is. … … 259 260 // Has the text been hidden? 260 261 if ( 'blank' == $text_color ) : 261 ?>262 ?> 262 263 #site-title, 263 264 #site-description { … … 266 267 clip: rect(1px, 1px, 1px, 1px); 267 268 } 268 <?php269 // If the user has set a custom color for the text use that269 <?php 270 // If the user has set a custom color for the text use that 270 271 else : 271 ?>272 ?> 272 273 #site-title a, 273 274 #site-description { … … 276 277 <?php endif; ?> 277 278 </style> 278 <?php279 <?php 279 280 } 280 281 endif; // twentyeleven_header_style … … 289 290 */ 290 291 function twentyeleven_admin_header_style() { 291 ?>292 ?> 292 293 <style type="text/css" id="twentyeleven-admin-header-css"> 293 294 .appearance_page_custom-header #headimg { … … 311 312 padding: 0 0 3em; 312 313 } 313 <?php314 <?php 314 315 // If the user has set a custom color for the text use that 315 if ( get_header_textcolor() != HEADER_TEXTCOLOR ) :316 ?>316 if ( get_header_textcolor() != HEADER_TEXTCOLOR ) : 317 ?> 317 318 #site-title a, 318 319 #site-description { … … 326 327 } 327 328 </style> 328 <?php329 <?php 329 330 } 330 331 endif; // twentyeleven_admin_header_style … … 340 341 function twentyeleven_admin_header_image() { 341 342 342 ?>343 ?> 343 344 <div id="headimg"> 344 345 <?php … … 356 357 <?php endif; ?> 357 358 </div> 358 <?php359 <?php 359 360 } 360 361 endif; // twentyeleven_admin_header_image … … 530 531 531 532 if ( $wp_query->max_num_pages > 1 ) : 532 ?>533 ?> 533 534 <nav id="<?php echo esc_attr( $html_id ); ?>"> 534 535 <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> … … 536 537 <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></div> 537 538 </nav><!-- #nav-above --> 538 <?php539 <?php 539 540 endif; 540 541 } … … 637 638 case 'pingback': 638 639 case 'trackback': 639 ?>640 ?> 640 641 <li class="post pingback"> 641 642 <p><?php _e( 'Pingback:', 'twentyeleven' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?></p> 642 <?php643 <?php 643 644 break; 644 645 default: 645 ?>646 ?> 646 647 <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> 647 648 <article id="comment-<?php comment_ID(); ?>" class="comment"> … … 668 669 ) 669 670 ); 670 671 ?> 671 672 672 673 <?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> … … 686 687 comment_reply_link( 687 688 array_merge( 688 $args, array( 689 $args, 690 array( 689 691 'reply_text' => __( 'Reply <span>↓</span>', 'twentyeleven' ), 690 692 'depth' => $depth, … … 693 695 ) 694 696 ); 695 ?>697 ?> 696 698 </div><!-- .reply --> 697 699 </article><!-- #comment-## --> 698 700 699 <?php701 <?php 700 702 break; 701 703 endswitch;
Note: See TracChangeset
for help on using the changeset viewer.