- Timestamp:
- 08/01/2025 11:27:03 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r60494 r60533 245 245 246 246 /** 247 * Set the content width in pixels, based on the theme's design and stylesheet.247 * Sets the content width in pixels, based on the theme's design and stylesheet. 248 248 * 249 249 * Priority 0 to make it available to lower priority callbacks. … … 285 285 if ( ! function_exists( 'twentyseventeen_fonts_url' ) ) : 286 286 /** 287 * Register custom fonts.287 * Registers custom fonts. 288 288 * 289 289 * @since Twenty Seventeen 1.0 … … 310 310 311 311 /** 312 * Add preconnect for Google Fonts.312 * Adds preconnect for Google Fonts. 313 313 * 314 314 * @since Twenty Seventeen 1.0 … … 332 332 333 333 /** 334 * Register widget area.334 * Registers widget area. 335 335 * 336 336 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar … … 412 412 413 413 /** 414 * Add a pingback url auto-discovery header for singularly identifiable articles.414 * Adds a pingback url auto-discovery header for singularly identifiable articles. 415 415 */ 416 416 function twentyseventeen_pingback_header() { … … 422 422 423 423 /** 424 * Display custom color CSS.424 * Displays custom color CSS. 425 425 */ 426 426 function twentyseventeen_colors_css_wrap() { … … 552 552 553 553 /** 554 * Add custom image sizes attribute to enhance responsive image functionality554 * Adds custom image sizes attribute to enhance responsive image functionality 555 555 * for content images. 556 556 * … … 599 599 600 600 /** 601 * Add custom image sizes attribute to enhance responsive image functionality601 * Adds custom image sizes attribute to enhance responsive image functionality 602 602 * for post thumbnails. 603 603 * … … 623 623 624 624 /** 625 * Use front-page.php when Front page displays is set to a static page.625 * Uses front-page.php when Front page displays is set to a static page. 626 626 * 627 627 * @since Twenty Seventeen 1.0 … … 693 693 694 694 /** 695 * Show the featured image below the header on single posts and pages, unless the696 * page is the front page.697 * 698 * Use the filter `twentyseventeen_should_show_featured_image` in a child theme or695 * Shows the featured image below the header on single posts and pages, unless 696 * the page is the front page. 697 * 698 * Uses the filter `twentyseventeen_should_show_featured_image` in a child theme or 699 699 * plugin to change when the image is shown. This example prevents the image 700 700 * from showing: … … 750 750 751 751 /** 752 * Register block patterns and pattern categories.752 * Registers block patterns and pattern categories. 753 753 * 754 754 * @since Twenty Seventeen 3.8
Note: See TracChangeset
for help on using the changeset viewer.