Ticket #51958: 51958.patch
File 51958.patch, 38.6 KB (added by , 3 years ago) |
---|
-
src/wp-content/themes/twentytwentyone/404.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 get_header(); -
src/wp-content/themes/twentytwentyone/archive.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 get_header(); -
src/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js
10 10 * 11 11 * Wait for the editor to load by periodically checking for an element, then we add the classes. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @param {number} attempt Track the number of tries 16 16 * @return {void} -
src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js
9 9 * 10 10 * @param {Element} el - The element. 11 11 * @param {boolean} withListeners - Whether we want to add/remove listeners or not. 12 * @since 1.0.012 * @since Twenty Twenty-One 1.0 13 13 */ 14 14 function twentytwentyoneToggleAriaExpanded( el, withListeners ) { 15 15 if ( 'true' !== el.getAttribute( 'aria-expanded' ) ) { -
src/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js
7 7 /** 8 8 * Add max-width & max-height to <iframe> elements, depending on their width & height props. 9 9 * 10 * @since 1.0.010 * @since Twenty Twenty-One 1.0 11 11 * 12 12 * @return {void} 13 13 */ -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** … … 17 17 * 18 18 * @access public 19 19 * 20 * @since 1.0.020 * @since Twenty Twenty-One 1.0 21 21 */ 22 22 public function __construct() { 23 23 … … 38 38 * 39 39 * @param string $background_color The background color. 40 40 * 41 * @since 1.0.041 * @since Twenty Twenty-One 1.0 42 42 * 43 43 * @return string (hex color) 44 44 */ … … 55 55 * 56 56 * @access public 57 57 * 58 * @since 1.0.058 * @since Twenty Twenty-One 1.0 59 59 * 60 60 * @param string|null $context Can be "editor" or null. 61 61 * … … 89 89 * 90 90 * @access public 91 91 * 92 * @since 1.0.092 * @since Twenty Twenty-One 1.0 93 93 * 94 94 * @return void 95 95 */ … … 104 104 * 105 105 * @access public 106 106 * 107 * @since 1.0.0107 * @since Twenty Twenty-One 1.0 108 108 * 109 109 * @return void 110 110 */ … … 129 129 * 130 130 * @access public 131 131 * 132 * @since 1.0.0132 * @since Twenty Twenty-One 1.0 133 133 * 134 134 * @param string $hex The HEX color. 135 135 * … … 160 160 * 161 161 * @access public 162 162 * 163 * @since 1.0.0163 * @since Twenty Twenty-One 1.0 164 164 * 165 165 * @param array $classes The existing body classes. 166 166 * -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-color-control.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** 11 11 * Customize Color Control class. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @see WP_Customize_Control 16 16 */ … … 18 18 /** 19 19 * The control type. 20 20 * 21 * @since 1.0.021 * @since Twenty Twenty-One 1.0 22 22 * 23 23 * @var string 24 24 */ … … 29 29 * 30 30 * @access public 31 31 * 32 * @since 1.0.032 * @since Twenty Twenty-One 1.0 33 33 * 34 34 * @var array 35 35 */ … … 40 40 * 41 41 * @access public 42 42 * 43 * @since 1.0.043 * @since Twenty Twenty-One 1.0 44 44 * 45 45 * @return void 46 46 */ … … 62 62 * 63 63 * @access public 64 64 * 65 * @since 1.0.065 * @since Twenty Twenty-One 1.0 66 66 * 67 67 * @uses WP_Customize_Control::to_json() 68 68 * -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-notice-control.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** 11 11 * Customize Notice Control class. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @see WP_Customize_Control 16 16 */ … … 18 18 /** 19 19 * The control type. 20 20 * 21 * @since 1.0.021 * @since Twenty Twenty-One 1.0 22 22 * 23 23 * @var string 24 24 */ … … 31 31 * 32 32 * @access public 33 33 * 34 * @since 1.0.034 * @since Twenty Twenty-One 1.0 35 35 * 36 36 * @return void 37 37 */ -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 if ( ! class_exists( 'Twenty_Twenty_One_Customize' ) ) { … … 11 11 /** 12 12 * Customizer Settings. 13 13 * 14 * @since 1.0.014 * @since Twenty Twenty-One 1.0 15 15 */ 16 16 class Twenty_Twenty_One_Customize { 17 17 … … 20 20 * 21 21 * @access public 22 22 * 23 * @since 1.0.023 * @since Twenty Twenty-One 1.0 24 24 */ 25 25 public function __construct() { 26 26 add_action( 'customize_register', array( $this, 'register' ) ); … … 31 31 * 32 32 * @access public 33 33 * 34 * @since 1.0.034 * @since Twenty Twenty-One 1.0 35 35 * 36 36 * @param WP_Customize_Manager $wp_customize Theme Customizer object. 37 37 * … … 153 153 * 154 154 * @access public 155 155 * 156 * @since 1.0.0156 * @since Twenty Twenty-One 1.0 157 157 * 158 158 * @param bool $checked Whether or not a box is checked. 159 159 * … … 168 168 * 169 169 * @access public 170 170 * 171 * @since 1.0.0171 * @since Twenty Twenty-One 1.0 172 172 * 173 173 * @return void 174 174 */ … … 181 181 * 182 182 * @access public 183 183 * 184 * @since 1.0.0184 * @since Twenty Twenty-One 1.0 185 185 * 186 186 * @return void 187 187 */ -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** … … 17 17 * 18 18 * @access public 19 19 * 20 * @since 1.0.020 * @since Twenty Twenty-One 1.0 21 21 */ 22 22 public function __construct() { 23 23 … … 51 51 * 52 52 * @access public 53 53 * 54 * @since 1.0.054 * @since Twenty Twenty-One 1.0 55 55 * 56 56 * @return void 57 57 */ … … 90 90 * 91 91 * @access public 92 92 * 93 * @since 1.0.093 * @since Twenty Twenty-One 1.0 94 94 * 95 95 * @return void 96 96 */ … … 110 110 * 111 111 * @access public 112 112 * 113 * @since 1.0.0113 * @since Twenty Twenty-One 1.0 114 114 * 115 115 * @return void 116 116 */ … … 132 132 * 133 133 * @access public 134 134 * 135 * @since 1.0.0135 * @since Twenty Twenty-One 1.0 136 136 * 137 137 * @param WP_Customize_Manager $wp_customize Theme Customizer object. 138 138 * … … 224 224 * 225 225 * @access public 226 226 * 227 * @since 1.0.0227 * @since Twenty Twenty-One 1.0 228 228 * 229 229 * @param string $classes The classes for <html> element. 230 230 * … … 249 249 * 250 250 * @access public 251 251 * 252 * @since 1.0.0252 * @since Twenty Twenty-One 1.0 253 253 * 254 254 * @param string $classes The admin body-classes. 255 255 * … … 282 282 * 283 283 * @access public 284 284 * 285 * @since 1.0.0285 * @since Twenty Twenty-One 1.0 286 286 * 287 287 * @return bool 288 288 */ … … 300 300 * 301 301 * @access public 302 302 * 303 * @since 1.0.0303 * @since Twenty Twenty-One 1.0 304 304 * 305 305 * @return void 306 306 */ … … 319 319 * 320 320 * @access public 321 321 * 322 * @since 1.0.0322 * @since Twenty Twenty-One 1.0 323 323 * 324 324 * @param array $attrs The attributes to add to our <button> element. 325 325 * … … 380 380 * 381 381 * @access public 382 382 * 383 * @since 1.0.0383 * @since Twenty Twenty-One 1.0 384 384 * 385 385 * @return void 386 386 */ … … 395 395 * 396 396 * @access public 397 397 * 398 * @since 1.0.0398 * @since Twenty Twenty-One 1.0 399 399 * 400 400 * @return void 401 401 */ -
src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** … … 17 17 * All icons are assumed to have equal width and height, hence the option 18 18 * to only specify a `$size` parameter in the svg methods. 19 19 * 20 * @since 1.0.020 * @since Twenty Twenty-One 1.0 21 21 */ 22 22 class Twenty_Twenty_One_SVG_Icons { 23 23 … … 26 26 * 27 27 * @access protected 28 28 * 29 * @since 1.0.029 * @since Twenty Twenty-One 1.0 30 30 * 31 31 * @var array 32 32 */ … … 44 44 * 45 45 * @access protected 46 46 * 47 * @since 1.0.047 * @since Twenty Twenty-One 1.0 48 48 * 49 49 * @var array 50 50 */ … … 95 95 * By default, each Icon ID is matched against a .com TLD. To override this behavior, 96 96 * specify all the domains it covers (including the .com TLD too, if applicable). 97 97 * 98 * @since 1.0.098 * @since Twenty Twenty-One 1.0 99 99 * 100 100 * @var array 101 101 */ … … 150 150 * 151 151 * @access public 152 152 * 153 * @since 1.0.0153 * @since Twenty Twenty-One 1.0 154 154 * 155 155 * @param string $group the icon group. 156 156 * @param string $icon The icon. … … 174 174 * The dynamic portion of the hook name, `$group`, refers to 175 175 * the name of the group of icons, either "ui" or "social". 176 176 * 177 * @since 1.0.0177 * @since Twenty Twenty-One 1.0 178 178 * 179 179 * @param array $arr Array of icons. 180 180 */ … … 198 198 * 199 199 * @access public 200 200 * 201 * @since 1.0.0201 * @since Twenty Twenty-One 1.0 202 202 * 203 203 * @param string $uri Social link. 204 204 * @param int $size The icon-size in pixels. … … 217 217 * By default, each Icon ID is matched against a .com TLD. To override this behavior, 218 218 * specify all the domains it covers (including the .com TLD too, if applicable). 219 219 * 220 * @since 1.0.0220 * @since Twenty Twenty-One 1.0 221 221 * 222 222 * @param array $social_icons_map Array of default social icons. 223 223 */ … … 226 226 /** 227 227 * Filters Twenty Twenty-One's array of social icons. 228 228 * 229 * @since 1.0.0229 * @since Twenty Twenty-One 1.0 230 230 * 231 231 * @param array $social_icons Array of default social icons. 232 232 */ -
src/wp-content/themes/twentytwentyone/comments.php
9 9 * 10 10 * @package WordPress 11 11 * @subpackage Twenty_Twenty_One 12 * @since 1.0.012 * @since Twenty Twenty-One 1.0 13 13 */ 14 14 15 15 /* -
src/wp-content/themes/twentytwentyone/footer.php
8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Twenty_One 11 * @since 1.0.011 * @since Twenty Twenty-One 1.0 12 12 */ 13 13 14 14 ?> -
src/wp-content/themes/twentytwentyone/functions.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // This theme requires WordPress 5.3 or later. … … 22 22 * runs before the init hook. The init hook is too late for some features, such 23 23 * as indicating support for post thumbnails. 24 24 * 25 * @since 1.0.025 * @since Twenty Twenty-One 1.0 26 26 * 27 27 * @return void 28 28 */ … … 345 345 /** 346 346 * Register widget area. 347 347 * 348 * @since 1.0.0348 * @since Twenty Twenty-One 1.0 349 349 * 350 350 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar 351 351 * … … 372 372 * 373 373 * Priority 0 to make it available to lower priority callbacks. 374 374 * 375 * @since 1.0.0375 * @since Twenty Twenty-One 1.0 376 376 * 377 377 * @global int $content_width Content width. 378 378 * … … 389 389 /** 390 390 * Enqueue scripts and styles. 391 391 * 392 * @since 1.0.0392 * @since Twenty Twenty-One 1.0 393 393 * 394 394 * @return void 395 395 */ … … 449 449 /** 450 450 * Enqueue block editor script. 451 451 * 452 * @since 1.0.0452 * @since Twenty Twenty-One 1.0 453 453 * 454 454 * @return void 455 455 */ … … 488 488 489 489 /** Enqueue non-latin language styles 490 490 * 491 * @since 1.0.0491 * @since Twenty Twenty-One 1.0 492 492 * 493 493 * @return void 494 494 */ … … 534 534 /** 535 535 * Enqueue scripts for the customizer preview. 536 536 * 537 * @since 1.0.0537 * @since Twenty Twenty-One 1.0 538 538 * 539 539 * @return void 540 540 */ … … 560 560 /** 561 561 * Enqueue scripts for the customizer. 562 562 * 563 * @since 1.0.0563 * @since Twenty Twenty-One 1.0 564 564 * 565 565 * @return void 566 566 */ … … 579 579 /** 580 580 * Calculate classes for the main <html> element. 581 581 * 582 * @since 1.0.0582 * @since Twenty Twenty-One 1.0 583 583 * 584 584 * @return void 585 585 */ … … 594 594 /** 595 595 * Add "is-IE" class to body if the user is on Internet Explorer. 596 596 * 597 * @since 1.0.0597 * @since Twenty Twenty-One 1.0 598 598 * 599 599 * @return void 600 600 */ -
src/wp-content/themes/twentytwentyone/header.php
8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Twenty_One 11 * @since 1.0.011 * @since Twenty Twenty-One 1.0 12 12 */ 13 13 14 14 ?> -
src/wp-content/themes/twentytwentyone/image.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 get_header(); -
src/wp-content/themes/twentytwentyone/inc/back-compat.php
8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Twenty_One 11 * @since 1.0.011 * @since Twenty Twenty-One 1.0 12 12 */ 13 13 14 14 /** 15 15 * Display upgrade notice on theme switch. 16 16 * 17 * @since 1.0.017 * @since Twenty Twenty-One 1.0 18 18 * 19 19 * @return void 20 20 */ … … 29 29 * Prints an update nag after an unsuccessful attempt to switch to 30 30 * the theme on WordPress versions prior to 5.3. 31 31 * 32 * @since 1.0.032 * @since Twenty Twenty-One 1.0 33 33 * 34 34 * @global string $wp_version WordPress version. 35 35 * … … 48 48 /** 49 49 * Prevents the Customizer from being loaded on WordPress versions prior to 5.3. 50 50 * 51 * @since 1.0.051 * @since Twenty Twenty-One 1.0 52 52 * 53 53 * @global string $wp_version WordPress version. 54 54 * … … 72 72 /** 73 73 * Prevents the Theme Preview from being loaded on WordPress versions prior to 5.3. 74 74 * 75 * @since 1.0.075 * @since Twenty Twenty-One 1.0 76 76 * 77 77 * @global string $wp_version WordPress version. 78 78 * -
src/wp-content/themes/twentytwentyone/inc/block-patterns.php
7 7 * 8 8 * @package WordPress 9 9 * @subpackage Twenty_Twenty_One 10 * @since 1.0.010 * @since Twenty Twenty-One 1.0 11 11 */ 12 12 13 13 /** -
src/wp-content/themes/twentytwentyone/inc/block-styles.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 if ( function_exists( 'register_block_style' ) ) { … … 13 13 /** 14 14 * Register block styles. 15 15 * 16 * @since 1.0.016 * @since Twenty Twenty-One 1.0 17 17 * 18 18 * @return void 19 19 */ -
src/wp-content/themes/twentytwentyone/inc/custom-css.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** 11 11 * Generate CSS. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @param string $selector The CSS selector. 16 16 * @param string $style The CSS style. -
src/wp-content/themes/twentytwentyone/inc/menu-functions.php
9 9 * 10 10 * @package WordPress 11 11 * @subpackage Twenty_Twenty_One 12 * @since 1.0.012 * @since Twenty Twenty-One 1.0 13 13 */ 14 14 15 15 /** … … 16 16 * Add a button to top-level menu items that has sub-menus. 17 17 * An icon is added using CSS depending on the value of aria-expanded. 18 18 * 19 * @since 1.0.019 * @since Twenty Twenty-One 1.0 20 20 * 21 21 * @param string $output Nav menu item start element. 22 22 * @param object $item Nav menu item. … … 42 42 /** 43 43 * Detects the social network from a URL and returns the SVG code for its icon. 44 44 * 45 * @since 1.0.045 * @since Twenty Twenty-One 1.0 46 46 * 47 47 * @param string $uri Social link. 48 48 * @param int $size The icon size in pixels. … … 79 79 /** 80 80 * Filters the arguments for a single nav menu item. 81 81 * 82 * @since 1.0.082 * @since Twenty Twenty-One 1.0 83 83 * 84 84 * @param stdClass $args An object of wp_nav_menu() arguments. 85 85 * @param WP_Post $item Menu item data object. -
src/wp-content/themes/twentytwentyone/inc/starter-content.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 /** … … 14 14 * 15 15 * Passes it through the `twentytwenty_starter_content` filter before returning. 16 16 * 17 * @since 1.0.017 * @since Twenty Twenty-One 1.0 18 18 * 19 19 * @return array A filtered array of args for the starter_content. 20 20 */ … … 176 176 /** 177 177 * Filters the array of starter content. 178 178 * 179 * @since 1.0.0179 * @since Twenty Twenty-One 1.0 180 180 * 181 181 * @param array $starter_content Array of starter content. 182 182 */ -
src/wp-content/themes/twentytwentyone/inc/template-functions.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 /** 11 11 * Adds custom classes to the array of body classes. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @param array $classes Classes for the body element. 16 16 * … … 41 41 /** 42 42 * Adds custom class to the array of posts classes. 43 43 * 44 * @since 1.0.044 * @since Twenty Twenty-One 1.0 45 45 * 46 46 * @param array $classes An array of CSS classes. 47 47 * … … 57 57 /** 58 58 * Add a pingback url auto-discovery header for single posts, pages, or attachments. 59 59 * 60 * @since 1.0.060 * @since Twenty Twenty-One 1.0 61 61 * 62 62 * @return void 63 63 */ … … 71 71 /** 72 72 * Remove the `no-js` class from body if JS is supported. 73 73 * 74 * @since 1.0.074 * @since Twenty Twenty-One 1.0 75 75 * 76 76 * @return void 77 77 */ … … 83 83 /** 84 84 * Changes comment form default fields. 85 85 * 86 * @since 1.0.086 * @since Twenty Twenty-One 1.0 87 87 * 88 88 * @param array $defaults The form defaults. 89 89 * … … 101 101 /** 102 102 * Determines if post thumbnail can be displayed. 103 103 * 104 * @since 1.0.0104 * @since Twenty Twenty-One 1.0 105 105 * 106 106 * @return bool 107 107 */ … … 115 115 /** 116 116 * Returns the size for avatars used in the theme. 117 117 * 118 * @since 1.0.0118 * @since Twenty Twenty-One 1.0 119 119 * 120 120 * @return int 121 121 */ … … 164 164 /** 165 165 * Add a title to posts and pages that are missing titles. 166 166 * 167 * @since 1.0.0167 * @since Twenty Twenty-One 1.0 168 168 * 169 169 * @param string $title The title. 170 170 * … … 179 179 /** 180 180 * Gets the SVG code for a given icon. 181 181 * 182 * @since 1.0.0182 * @since Twenty Twenty-One 1.0 183 183 * 184 184 * @param string $group The icon group. 185 185 * @param string $icon The icon. … … 323 323 /** 324 324 * Print the first instance of a block in the content, and then break away. 325 325 * 326 * @since 1.0.0326 * @since Twenty Twenty-One 1.0 327 327 * 328 328 * @param string $block_name The full block type name, or a partial match. 329 329 * Example: `core/image`, `core-embed/*`. … … 386 386 /** 387 387 * Retrieve protected post password form content. 388 388 * 389 * @since 1.0.0389 * @since Twenty Twenty-One 1.0 390 390 * 391 391 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. 392 392 * @return string HTML content for password form for password protected post. … … 405 405 /** 406 406 * Filters the list of attachment image attributes. 407 407 * 408 * @since 1.0.0408 * @since Twenty Twenty-One 1.0 409 409 * 410 410 * @param array $attr Array of attribute values for the image markup, keyed by attribute name. 411 411 * See wp_get_attachment_image(). -
src/wp-content/themes/twentytwentyone/inc/template-tags.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 if ( ! function_exists( 'twenty_twenty_one_posted_on' ) ) { … … 11 11 /** 12 12 * Prints HTML with meta information for the current post-date/time. 13 13 * 14 * @since 1.0.014 * @since Twenty Twenty-One 1.0 15 15 * 16 16 * @return void 17 17 */ … … 37 37 /** 38 38 * Prints HTML with meta information about theme author. 39 39 * 40 * @since 1.0.040 * @since Twenty Twenty-One 1.0 41 41 * 42 42 * @return void 43 43 */ … … 59 59 * Prints HTML with meta information for the categories, tags and comments. 60 60 * Footer entry meta is displayed differently in archives and single posts. 61 61 * 62 * @since 1.0.062 * @since Twenty Twenty-One 1.0 63 63 * 64 64 * @return void 65 65 */ … … 176 176 * Wraps the post thumbnail in an anchor element on index views, or a div 177 177 * element when on single views. 178 178 * 179 * @since 1.0.0179 * @since Twenty Twenty-One 1.0 180 180 * 181 181 * @return void 182 182 */ … … 218 218 /** 219 219 * Print the next and previous posts navigation. 220 220 * 221 * @since 1.0.0221 * @since Twenty Twenty-One 1.0 222 222 * 223 223 * @return void 224 224 */ -
src/wp-content/themes/twentytwentyone/index.php
11 11 * 12 12 * @package WordPress 13 13 * @subpackage Twenty_Twenty_One 14 * @since 1.0.014 * @since Twenty Twenty-One 1.0 15 15 */ 16 16 17 17 get_header(); -
src/wp-content/themes/twentytwentyone/page.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 get_header(); -
src/wp-content/themes/twentytwentyone/search.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 get_header(); -
src/wp-content/themes/twentytwentyone/searchform.php
9 9 * 10 10 * @package WordPress 11 11 * @subpackage Twenty_Twenty_One 12 * @since 1.0.012 * @since Twenty Twenty-One 1.0 13 13 */ 14 14 15 15 /* -
src/wp-content/themes/twentytwentyone/single.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 get_header(); -
src/wp-content/themes/twentytwentyone/template-parts/content/content-excerpt.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 ?> -
src/wp-content/themes/twentytwentyone/template-parts/content/content-none.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 ?> -
src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 ?> -
src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 ?> -
src/wp-content/themes/twentytwentyone/template-parts/content/content.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 ?> -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-aside.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // Print the full content. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-audio.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 $content = get_the_content(); -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-chat.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // If there are paragraph blocks, print up to two. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // Print the 1st gallery found. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-image.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // If there is no featured-image, print the first image block found. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-link.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // Print the 1st instance of a paragraph block. If none is found, print the content. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-quote.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 $content = get_the_content(); -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-status.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 // Print the full content. -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-video.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 $content = get_the_content(); -
src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt.php
6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Twenty_One 9 * @since 1.0.09 * @since Twenty Twenty-One 1.0 10 10 */ 11 11 12 12 the_excerpt(); -
src/wp-content/themes/twentytwentyone/template-parts/footer/footer-widgets.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 if ( is_active_sidebar( 'sidebar-1' ) ) : ?> -
src/wp-content/themes/twentytwentyone/template-parts/header/entry-header.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 the_title( '<h1 class="entry-title">', '</h1>' ); -
src/wp-content/themes/twentytwentyone/template-parts/header/excerpt-header.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 // Don't show the title if the post-format is `aside` or `status`. -
src/wp-content/themes/twentytwentyone/template-parts/header/site-branding.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 $blog_info = get_bloginfo( 'name' ); -
src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 $wrapper_classes = 'site-header'; -
src/wp-content/themes/twentytwentyone/template-parts/header/site-nav.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 ?> -
src/wp-content/themes/twentytwentyone/template-parts/post/author-bio.php
4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 10 10 ?>