- Timestamp:
- 07/27/2025 01:03:38 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/functions.php
r60159 r60515 47 47 48 48 /** 49 * Register block patterns and pattern categories.49 * Registers block patterns and pattern categories. 50 50 * 51 51 * @since Twenty Thirteen 4.3 … … 263 263 if ( ! function_exists( 'twentythirteen_fonts_url' ) ) : 264 264 /** 265 * Return the font stylesheet URL, if available.265 * Returns the font stylesheet URL, if available. 266 266 * 267 267 * The use of Source Sans Pro and Bitter by default is localized. For languages … … 307 307 308 308 /** 309 * Enqueue scripts and styles for the front end.309 * Enqueues scripts and styles for the front end. 310 310 * 311 311 * @since Twenty Thirteen 1.0 … … 357 357 358 358 /** 359 * Add preconnect for Google Fonts.359 * Adds preconnect for Google Fonts. 360 360 * 361 361 * @since Twenty Thirteen 2.1 … … 383 383 384 384 /** 385 * Enqueue styles for the block-based editor.385 * Enqueues styles for the block-based editor. 386 386 * 387 387 * @since Twenty Thirteen 2.5 … … 397 397 398 398 /** 399 * Filter the page title.399 * Filters the page title. 400 400 * 401 401 * Creates a nicely formatted and more specific title element text for output … … 438 438 439 439 /** 440 * Register two widget areas.440 * Registers two widget areas. 441 441 * 442 442 * @since Twenty Thirteen 1.0 … … 485 485 if ( ! function_exists( 'twentythirteen_paging_nav' ) ) : 486 486 /** 487 * Display navigation to next/previous set of posts when applicable.487 * Displays navigation to next/previous set of posts when applicable. 488 488 * 489 489 * @since Twenty Thirteen 1.0 … … 522 522 if ( ! function_exists( 'twentythirteen_post_nav' ) ) : 523 523 /** 524 * Display navigation to next/previous post when applicable.524 * Displays navigation to next/previous post when applicable. 525 525 * 526 526 * @since Twenty Thirteen 1.0 … … 559 559 if ( ! function_exists( 'twentythirteen_entry_meta' ) ) : 560 560 /** 561 * Print HTML with meta information for current post: categories, tags, permalink, author, and date.561 * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. 562 562 * 563 563 * Create your own twentythirteen_entry_meta() to override in a child theme. … … 599 599 if ( ! function_exists( 'twentythirteen_entry_date' ) ) : 600 600 /** 601 * Print HTML with date information for current post.601 * Prints HTML with date information for current post. 602 602 * 603 603 * Create your own twentythirteen_entry_date() to override in a child theme. … … 635 635 if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) : 636 636 /** 637 * Print the attached image with a link to the next attached image.637 * Prints the attached image with a link to the next attached image. 638 638 * 639 639 * @since Twenty Thirteen 1.0 … … 701 701 702 702 /** 703 * Return the post URL.703 * Returns the post URL. 704 704 * 705 705 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or … … 742 742 743 743 /** 744 * Extend the default WordPress body classes.744 * Extends the default WordPress body classes. 745 745 * 746 746 * Adds body classes to denote: … … 772 772 773 773 /** 774 * Adjust content_width value for video post formats and attachment templates.774 * Adjusts content_width value for video post formats and attachment templates. 775 775 * 776 776 * @since Twenty Thirteen 1.0 … … 790 790 791 791 /** 792 * Add postMessage support for site title and description for the Customizer.792 * Adds postMessage support for site title and description for the Customizer. 793 793 * 794 794 * @since Twenty Thirteen 1.0 … … 823 823 824 824 /** 825 * Render the site title for the selective refresh partial.825 * Renders the site title for the selective refresh partial. 826 826 * 827 827 * @since Twenty Thirteen 1.9 … … 836 836 837 837 /** 838 * Render the site tagline for the selective refresh partial.838 * Renders the site tagline for the selective refresh partial. 839 839 * 840 840 * @since Twenty Thirteen 1.9 … … 849 849 850 850 /** 851 * Enqueue JavaScript postMessage handlers for the Customizer.851 * Enqueues JavaScript postMessage handlers for the Customizer. 852 852 * 853 853 * Binds JavaScript handlers to make the Customizer preview … … 904 904 if ( ! function_exists( 'wp_body_open' ) ) : 905 905 /** 906 * Fire the wp_body_open action.906 * Fires the wp_body_open action. 907 907 * 908 908 * Added for backward compatibility to support pre-5.2.0 WordPress versions. … … 921 921 922 922 /** 923 * Register Custom Block Styles923 * Registers Custom Block Styles. 924 924 * 925 925 * @since Twenty Thirteen 3.4 … … 928 928 function twentythirteen_register_block_styles() { 929 929 930 /**931 * Register block style932 */933 930 register_block_style( 934 931 'core/button',
Note: See TracChangeset
for help on using the changeset viewer.