Ticket #18561: 18561.twentyeleven.diff
| File 18561.twentyeleven.diff, 1.3 KB (added by aaroncampbell, 21 months ago) |
|---|
-
wp-content/themes/twentyeleven/content-single.php
49 49 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) 50 50 ); 51 51 ?> 52 <?php the_rest(); ?> 52 53 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 53 54 54 55 <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> -
wp-content/themes/twentyeleven/functions.php
103 103 // Add support for a variety of post formats 104 104 add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) ); 105 105 106 // We use the_rest() 107 add_theme_support( 'the-rest' ); 108 106 109 // Add support for custom backgrounds 107 110 add_custom_background(); 108 111 … … 590 593 return $classes; 591 594 } 592 595 add_filter( 'body_class', 'twentyeleven_body_classes' ); 593
