Ticket #25256: twentythirteen.2.diff
File twentythirteen.2.diff, 30.3 KB (added by , 12 years ago) |
---|
-
src/wp-content/themes/twentythirteen/404.php
1 1 <?php 2 2 /** 3 * The template for displaying 404 pages (Not Found) .3 * The template for displaying 404 pages (Not Found) 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/archive.php
1 1 <?php 2 2 /** 3 * The template for displaying Archive pages .3 * The template for displaying Archive pages 4 4 * 5 5 * Used to display archive-type pages if nothing more specific matches a query. 6 6 * For example, puts together date-based pages if no date.php file exists. … … 10 10 * already has tag.php for Tag archives, category.php for Category archives, 11 11 * and author.php for Author archives. 12 12 * 13 * Learn more:http://codex.wordpress.org/Template_Hierarchy13 * @link http://codex.wordpress.org/Template_Hierarchy 14 14 * 15 15 * @package WordPress 16 16 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/author-bio.php
1 1 <?php 2 2 /** 3 * The template for displaying Author bios .3 * The template for displaying Author bios 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen … … 10 10 11 11 <div class="author-info"> 12 12 <div class="author-avatar"> 13 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ) ); ?> 13 <?php 14 /** 15 * Filter the author bio avatar size. 16 * 17 * @since Twenty Thirteen 1.0 18 * 19 * @param int $size The avatar height and width size in pixels. 20 */ 21 $author_bio_avatar_size = apply_filters( 'twentythirteen_author_bio_avatar_size', 74 ); 22 echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size ); 23 ?> 14 24 </div><!-- .author-avatar --> 15 25 <div class="author-description"> 16 26 <h2 class="author-title"><?php printf( __( 'About %s', 'twentythirteen' ), get_the_author() ); ?></h2> -
src/wp-content/themes/twentythirteen/author.php
1 1 <?php 2 2 /** 3 * The template for displaying Author archive pages .3 * The template for displaying Author archive pages 4 4 * 5 * Learn more:http://codex.wordpress.org/Template_Hierarchy5 * @link http://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Thirteen … … 17 17 <?php if ( have_posts() ) : ?> 18 18 19 19 <?php 20 /* Queue the first post, that way we know 21 * what author we're dealing with (if that is the case). 20 /** 21 * Queue the first post, that way we know what author 22 * we're dealing with (if that is the case). 22 23 * 23 24 * We reset this later so we can run the loop 24 25 * properly with a call to rewind_posts(). … … 31 32 </header><!-- .archive-header --> 32 33 33 34 <?php 34 /* Since we called the_post() above, we need to 35 /** 36 * Since we called the_post() above, we need to 35 37 * rewind the loop back to the beginning that way 36 38 * we can run the loop properly, in full. 37 39 */ -
src/wp-content/themes/twentythirteen/category.php
1 1 <?php 2 2 /** 3 * The template for displaying Category pages .3 * The template for displaying Category pages 4 4 * 5 * Learn more:http://codex.wordpress.org/Template_Hierarchy5 * @link http://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/comments.php
1 1 <?php 2 2 /** 3 * The template for displaying Comments .3 * The template for displaying Comments 4 4 * 5 5 * The area of the page that contains comments and the comment form. 6 6 * … … 9 9 * @since Twenty Thirteen 1.0 10 10 */ 11 11 12 /* 12 /** 13 13 * If the current post is protected by a password and the visitor has not yet 14 14 * entered the password we will return early without loading the comments. 15 15 */ -
src/wp-content/themes/twentythirteen/content-aside.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Aside post format .3 * The template for displaying posts in the Aside post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-audio.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Audio post format .3 * The template for displaying posts in the Audio post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-chat.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Chat post format .3 * The template for displaying posts in the Chat post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-gallery.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Gallery post format .3 * The template for displaying posts in the Gallery post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-image.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Image post format .3 * The template for displaying posts in the Image post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-link.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Link post format .3 * The template for displaying posts in the Link post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-none.php
1 1 <?php 2 2 /** 3 * The template for displaying a "No posts found" message .3 * The template for displaying a "No posts found" message 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-quote.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Quote post format .3 * The template for displaying posts in the Quote post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-status.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Status post format .3 * The template for displaying posts in the Status post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content-video.php
1 1 <?php 2 2 /** 3 * The template for displaying posts in the Video post format .3 * The template for displaying posts in the Video post format 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/content.php
1 1 <?php 2 2 /** 3 * The default template for displaying content . Used for both single and index/archive/search.3 * The default template for displaying content 4 4 * 5 * Used for both single and index/archive/search. 6 * 5 7 * @package WordPress 6 8 * @subpackage Twenty_Thirteen 7 9 * @since Twenty Thirteen 1.0 -
src/wp-content/themes/twentythirteen/footer.php
1 1 <?php 2 2 /** 3 * The template for displaying the footer .3 * The template for displaying the footer 4 4 * 5 * Contains footer content and the closing of the 6 * #main and #page div elements. 5 * Contains footer content and the closing of the #main and #page div elements. 7 6 * 8 7 * @package WordPress 9 8 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/functions.php
1 1 <?php 2 2 /** 3 * Twenty Thirteen functions and definitions .3 * Twenty Thirteen functions and definitions 4 4 * 5 5 * Sets up the theme and provides some helper functions, which are used in the 6 6 * theme as custom template tags. Others are attached to action and filter … … 16 16 * Functions that are not pluggable (not wrapped in function_exists()) are 17 17 * instead attached to a filter or action hook. 18 18 * 19 * For more information on hooks, actions, and filters, 20 * see http://codex.wordpress.org/Plugin_API 19 * For more information on hooks, actions, and filters, @link http://codex.wordpress.org/Plugin_API 21 20 * 22 21 * @package WordPress 23 22 * @subpackage Twenty_Thirteen … … 25 24 */ 26 25 27 26 /** 28 * Sets up the content width value based on the theme's design. 27 * Set up the content width value based on the theme's design. 28 * 29 29 * @see twentythirteen_content_width() for template-specific adjustments. 30 30 */ 31 31 if ( ! isset( $content_width ) ) 32 32 $content_width = 604; 33 33 34 34 /** 35 * Add ssupport for a custom header image.35 * Add support for a custom header image. 36 36 */ 37 37 require get_template_directory() . '/inc/custom-header.php'; 38 38 … … 43 43 require get_template_directory() . '/inc/back-compat.php'; 44 44 45 45 /** 46 * Twenty Thirteen setup. 47 * 46 48 * Sets up theme defaults and registers the various WordPress features that 47 49 * Twenty Thirteen supports. 48 50 * … … 58 60 * @return void 59 61 */ 60 62 function twentythirteen_setup() { 61 /* 63 /** 62 64 * Makes Twenty Thirteen available for translation. 63 65 * 64 66 * Translations can be added to the /languages/ directory. … … 68 70 */ 69 71 load_theme_textdomain( 'twentythirteen', get_template_directory() . '/languages' ); 70 72 71 /* 73 /** 72 74 * This theme styles the visual editor to resemble the theme style, 73 75 * specifically font, colors, icons, and column width. 74 76 */ … … 77 79 // Adds RSS feed links to <head> for posts and comments. 78 80 add_theme_support( 'automatic-feed-links' ); 79 81 80 // Switches default core markup for search form, comment form, and comments 81 // to output valid HTML5. 82 /** 83 * Switches default core markup for search form, comment form, 84 * and comments to output valid HTML5. 85 */ 82 86 add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); 83 87 84 /* 88 /** 85 89 * This theme supports all available post formats by default. 86 90 * See http://codex.wordpress.org/Post_Formats 87 91 */ … … 92 96 // This theme uses wp_nav_menu() in one location. 93 97 register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) ); 94 98 95 /* 99 /** 96 100 * This theme uses a custom image size for featured images, displayed on 97 101 * "standard" posts and pages. 98 102 */ … … 105 109 add_action( 'after_setup_theme', 'twentythirteen_setup' ); 106 110 107 111 /** 108 * Return sthe Google font stylesheet URL, if available.112 * Return the Google font stylesheet URL, if available. 109 113 * 110 114 * The use of Source Sans Pro and Bitter by default is localized. For languages 111 115 * that use characters not supported by the font, the font can be disabled. … … 117 121 function twentythirteen_fonts_url() { 118 122 $fonts_url = ''; 119 123 120 /* Translators: If there are characters in your language that are not 124 /** 125 * Translators: If there are characters in your language that are not 121 126 * supported by Source Sans Pro, translate this to 'off'. Do not translate 122 127 * into your own language. 123 128 */ 124 129 $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' ); 125 130 126 /* Translators: If there are characters in your language that are not 131 /** 132 * Translators: If there are characters in your language that are not 127 133 * supported by Bitter, translate this to 'off'. Do not translate into your 128 134 * own language. 129 135 */ … … 149 155 } 150 156 151 157 /** 152 * Enqueue s scripts and styles forfront end.158 * Enqueue scripts and styles for the front end. 153 159 * 154 160 * @since Twenty Thirteen 1.0 155 161 * 156 162 * @return void 157 163 */ 158 164 function twentythirteen_scripts_styles() { 159 // Adds JavaScript to pages with the comment form to support sites with 160 // threaded comments (when in use). 165 /** 166 * Adds JavaScript to pages with the comment form to support 167 * sites with threaded comments (when in use). 168 */ 161 169 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) 162 170 wp_enqueue_script( 'comment-reply' ); 163 171 … … 184 192 add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); 185 193 186 194 /** 195 * Filter the page title. 196 * 187 197 * Creates a nicely formatted and more specific title element text for output 188 198 * in head of document, based on current view. 189 199 * 190 200 * @since Twenty Thirteen 1.0 191 201 * 192 202 * @param string $title Default title text for current view. 193 * @param string $sep Optional separator.203 * @param string $sep Optional separator. 194 204 * @return string The filtered title. 195 205 */ 196 206 function twentythirteen_wp_title( $title, $sep ) { … … 216 226 add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 ); 217 227 218 228 /** 219 * Register stwo widget areas.229 * Register two widget areas. 220 230 * 221 231 * @since Twenty Thirteen 1.0 222 232 * … … 247 257 248 258 if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : 249 259 /** 250 * Display snavigation to next/previous set of posts when applicable.260 * Display navigation to next/previous set of posts when applicable. 251 261 * 252 262 * @since Twenty Thirteen 1.0 253 263 * … … 280 290 281 291 if ( ! function_exists( 'twentythirteen_post_nav' ) ) : 282 292 /** 283 * Display snavigation to next/previous post when applicable.293 * Display navigation to next/previous post when applicable. 284 294 * 285 295 * @since Twenty Thirteen 1.0 286 296 * … … 311 321 312 322 if ( ! function_exists( 'twentythirteen_entry_meta' ) ) : 313 323 /** 314 * Print sHTML with meta information for current post: categories, tags, permalink, author, and date.324 * Print HTML with meta information for current post: categories, tags, permalink, author, and date. 315 325 * 316 326 * Create your own twentythirteen_entry_meta() to override in a child theme. 317 327 * … … 351 361 352 362 if ( ! function_exists( 'twentythirteen_entry_date' ) ) : 353 363 /** 354 * Print sHTML with date information for current post.364 * Print HTML with date information for current post. 355 365 * 356 366 * Create your own twentythirteen_entry_date() to override in a child theme. 357 367 * 358 368 * @since Twenty Thirteen 1.0 359 369 * 360 * @param boolean $echo Whether to echo the date. Default true.370 * @param boolean $echo (optional) Whether to echo the date. Default true. 361 371 * @return string The HTML-formatted post date. 362 372 */ 363 373 function twentythirteen_entry_date( $echo = true ) { … … 382 392 383 393 if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) : 384 394 /** 385 * Print sthe attached image with a link to the next attached image.395 * Print the attached image with a link to the next attached image. 386 396 * 387 397 * @since Twenty Thirteen 1.0 388 398 * … … 390 400 */ 391 401 function twentythirteen_the_attached_image() { 392 402 $post = get_post(); 393 $attachment_size = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) ); 403 /** 404 * Filter the image attachment size to use. 405 * 406 * @since Twenty thirteen 1.0 407 * 408 * @param array $size { 409 * @type int The attachment height in pixels. 410 * @type int The attachment width in pixels. 411 * } 412 */ 413 $attachment_size = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) ) ); 394 414 $next_attachment_url = wp_get_attachment_url(); 395 415 396 416 /** … … 437 457 endif; 438 458 439 459 /** 440 * Return s the URL from the post.460 * Return the post URL. 441 461 * 442 462 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or 443 463 * the first link found in the post content. … … 456 476 } 457 477 458 478 /** 459 * Extend sthe default WordPress body classes.479 * Extend the default WordPress body classes. 460 480 * 461 481 * Adds body classes to denote: 462 482 * 1. Single or multiple authors. … … 483 503 add_filter( 'body_class', 'twentythirteen_body_class' ); 484 504 485 505 /** 486 * Adjust scontent_width value for video post formats and attachment templates.506 * Adjust content_width value for video post formats and attachment templates. 487 507 * 488 508 * @since Twenty Thirteen 1.0 489 509 * … … 515 535 add_action( 'customize_register', 'twentythirteen_customize_register' ); 516 536 517 537 /** 518 * Binds JavaScript handlers to make Customizer preview reload changes 519 * asynchronously. 538 * Enqueue Javascript postMessage handlers for the Customizer. 520 539 * 540 * Binds JavaScript handlers to make the Customizer preview 541 * reload changes asynchronously. 542 * 521 543 * @since Twenty Thirteen 1.0 544 * 545 * @return void 522 546 */ 523 547 function twentythirteen_customize_preview_js() { 524 548 wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130226', true ); -
src/wp-content/themes/twentythirteen/header.php
1 1 <?php 2 2 /** 3 * The Header for our theme.3 * The Header template for our theme 4 4 * 5 5 * Displays all of the <head> section and everything up till <div id="main"> 6 6 * -
src/wp-content/themes/twentythirteen/image.php
1 1 <?php 2 2 /** 3 * The template for displaying image attachments .3 * The template for displaying image attachments 4 4 * 5 * Learn more:http://codex.wordpress.org/Template_Hierarchy5 * @link http://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/inc/back-compat.php
1 1 <?php 2 2 /** 3 * Twenty Thirteen back compat functionality .3 * Twenty Thirteen back compat functionality 4 4 * 5 5 * Prevents Twenty Thirteen from running on WordPress versions prior to 3.6, 6 * since this theme is not meant to be backward scompatible and relies on6 * since this theme is not meant to be backward compatible and relies on 7 7 * many new functions and markup changes introduced in 3.6. 8 8 * 9 9 * @package WordPress … … 12 12 */ 13 13 14 14 /** 15 * Prevent switching to Twenty Thirteen on old versions of WordPress. Switches 16 * to the default theme. 15 * Prevent switching to Twenty Thirteen on old versions of WordPress. 17 16 * 17 * Switches to the default theme. 18 * 18 19 * @since Twenty Thirteen 1.0 19 20 * 20 21 * @return void … … 27 28 add_action( 'after_switch_theme', 'twentythirteen_switch_theme' ); 28 29 29 30 /** 31 * Add message for unsuccessful theme switch. 32 * 30 33 * Prints an update nag after an unsuccessful attempt to switch to 31 34 * Twenty Thirteen on WordPress versions prior to 3.6. 32 35 * … … 40 43 } 41 44 42 45 /** 43 * Prevent s the Customizer from being loaded on WordPress versions prior to 3.6.46 * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6. 44 47 * 45 48 * @since Twenty Thirteen 1.0 46 49 * … … 54 57 add_action( 'load-customize.php', 'twentythirteen_customize' ); 55 58 56 59 /** 57 * Prevent sthe Theme Preview from being loaded on WordPress versions prior to 3.4.60 * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. 58 61 * 59 62 * @since Twenty Thirteen 1.0 60 63 * … … 65 68 wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ) ); 66 69 } 67 70 } 68 add_action( 'template_redirect', 'twentythirteen_preview' ); 69 No newline at end of file 71 add_action( 'template_redirect', 'twentythirteen_preview' ); -
src/wp-content/themes/twentythirteen/inc/custom-header.php
1 1 <?php 2 2 /** 3 * Implements a custom header for Twenty Thirteen. 4 * See http://codex.wordpress.org/Custom_Headers 3 * Implement a custom header for Twenty Thirteen 5 4 * 5 * @link http://codex.wordpress.org/Custom_Headers 6 * 6 7 * @package WordPress 7 8 * @subpackage Twenty_Thirteen 8 9 * @since Twenty Thirteen 1.0 9 10 */ 10 11 11 12 /** 12 * Set sup the WordPress core custom header arguments and settings.13 * Set up the WordPress core custom header arguments and settings. 13 14 * 14 15 * @uses add_theme_support() to register support for 3.4 and up. 15 16 * @uses twentythirteen_header_style() to style front-end. … … 18 19 * @uses register_default_headers() to set up the bundled header images. 19 20 * 20 21 * @since Twenty Thirteen 1.0 22 * 23 * @return void 21 24 */ 22 25 function twentythirteen_custom_header_setup() { 23 26 $args = array( … … 37 40 38 41 add_theme_support( 'custom-header', $args ); 39 42 40 /* 43 /** 41 44 * Default custom headers packaged with the theme. 42 45 * %s is a placeholder for the theme template directory URI. 43 46 */ … … 62 65 add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup', 11 ); 63 66 64 67 /** 65 * Load sour special font CSS files.68 * Load our special font CSS files. 66 69 * 67 70 * @since Twenty Thirteen 1.0 71 * 72 * @return void 68 73 */ 69 74 function twentythirteen_custom_header_fonts() { 70 75 // Add Open Sans and Bitter fonts. … … 76 81 add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' ); 77 82 78 83 /** 79 * Style sthe header text displayed on the blog.84 * Style the header text displayed on the blog. 80 85 * 81 86 * get_header_textcolor() options: Hide text (returns 'blank'), or any hex value. 82 87 * 83 88 * @since Twenty Thirteen 1.0 89 * 90 * @return void 84 91 */ 85 92 function twentythirteen_header_style() { 86 93 $header_image = get_header_image(); … … 134 141 } 135 142 136 143 /** 137 * Style sthe header image displayed on the Appearance > Header admin panel.144 * Style the header image displayed on the Appearance > Header admin panel. 138 145 * 139 146 * @since Twenty Thirteen 1.0 147 * 148 * @return void 140 149 */ 141 150 function twentythirteen_admin_header_style() { 142 151 $header_image = get_header_image(); … … 198 207 } 199 208 200 209 /** 201 * Outputs markup to be displayed on the Appearance > Header admin panel. 210 * Output markup to be displayed on the Appearance > Header admin panel. 211 * 202 212 * This callback overrides the default markup displayed there. 203 213 * 204 214 * @since Twenty Thirteen 1.0 215 * 216 * @return void 205 217 */ 206 218 function twentythirteen_admin_header_image() { 207 219 ?> -
src/wp-content/themes/twentythirteen/index.php
1 1 <?php 2 2 /** 3 * The main template file .3 * The main template file 4 4 * 5 5 * This is the most generic template file in a WordPress theme and one of the 6 6 * two required files for a theme (the other being style.css). 7 7 * It is used to display a page when nothing more specific matches a query. 8 8 * For example, it puts together the home page when no home.php file exists. 9 9 * 10 * Learn more:http://codex.wordpress.org/Template_Hierarchy10 * @link http://codex.wordpress.org/Template_Hierarchy 11 11 * 12 12 * @package WordPress 13 13 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/page.php
1 1 <?php 2 2 /** 3 * The template for displaying all pages .3 * The template for displaying all pages 4 4 * 5 5 * This is the template that displays all pages by default. 6 6 * Please note that this is the WordPress construct of pages and that other -
src/wp-content/themes/twentythirteen/search.php
1 1 <?php 2 2 /** 3 * The template for displaying Search Results pages .3 * The template for displaying Search Results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/sidebar-main.php
1 1 <?php 2 2 /** 3 * The sidebar containing the footer widget area .3 * The sidebar containing the footer widget area 4 4 * 5 * If no active widgets in this sidebar, it will be hiddencompletely.5 * If no active widgets in this sidebar, hide it completely. 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/sidebar.php
1 1 <?php 2 2 /** 3 * The sidebar containing the secondary widget area , displays on posts and pages.3 * The sidebar containing the secondary widget area 4 4 * 5 * If no active widgets in this sidebar, it will be hidden completely.5 * Displays on posts and pages. 6 6 * 7 * If no active widgets are in this sidebar, hide it completely. 8 * 7 9 * @package WordPress 8 10 * @subpackage Twenty_Thirteen 9 11 * @since Twenty Thirteen 1.0 -
src/wp-content/themes/twentythirteen/single.php
1 1 <?php 2 2 /** 3 * The Template for displaying all single posts.3 * The template for displaying all single posts 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/tag.php
1 1 <?php 2 2 /** 3 * The template for displaying Tag pages .3 * The template for displaying Tag pages 4 4 * 5 5 * Used to display archive-type pages for posts in a tag. 6 6 * 7 * Learn more:http://codex.wordpress.org/Template_Hierarchy7 * @link http://codex.wordpress.org/Template_Hierarchy 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Thirteen -
src/wp-content/themes/twentythirteen/taxonomy-post_format.php
1 1 <?php 2 2 /** 3 * The template for displaying Post Format pages .3 * The template for displaying Post Format pages 4 4 * 5 5 * Used to display archive-type pages for posts with a post format. 6 6 * If you'd like to further customize these Post Format views, you may create a 7 7 * new template file for each specific one. 8 8 * 9 * Learn more:http://codex.wordpress.org/Template_Hierarchy9 * @link http://codex.wordpress.org/Template_Hierarchy 10 10 * 11 11 * @package WordPress 12 12 * @subpackage Twenty_Thirteen