Changeset 60513 for trunk/src/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 07/25/2025 05:01:20 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r60506 r60513 53 53 if ( ! function_exists( 'twentyeleven_setup' ) ) : 54 54 /** 55 * Set up theme defaults and registers support for various WordPress features.55 * Sets up theme defaults and registers support for various WordPress features. 56 56 * 57 57 * Note that this function is hooked into the after_setup_theme hook, which runs … … 412 412 if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) : 413 413 /** 414 * Custom header image markup displayedon the Appearance > Header admin panel.414 * Displays custom header image markup on the Appearance > Header admin panel. 415 415 * 416 416 * Referenced via add_theme_support('custom-header') in twentyeleven_setup(). … … 443 443 if ( ! function_exists( 'twentyeleven_header_image' ) ) : 444 444 /** 445 * Custom header image markup displayed.445 * Displays custom header image markup. 446 446 * 447 447 * @since Twenty Eleven 4.5 … … 492 492 if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) : 493 493 /** 494 * Return a "Continue Reading" link for excerpts494 * Returns a "Continue Reading" link for excerpts. 495 495 * 496 496 * @since Twenty Eleven 1.0 … … 504 504 505 505 /** 506 * Replace "[...]" in the Read More link with an ellipsis.506 * Replaces "[...]" in the Read More link with an ellipsis. 507 507 * 508 508 * The "[...]" is appended to automatically generated excerpts. … … 655 655 656 656 /** 657 * Return the first link from the post content. If none found, the657 * Returns the first link from the post content. If none found, the 658 658 * post permalink is used as a fallback. 659 659 * … … 677 677 678 678 /** 679 * Return the URL for the first link found in the post content.679 * Returns the URL for the first link found in the post content. 680 680 * 681 681 * @since Twenty Eleven 1.0 … … 692 692 693 693 /** 694 * Count the number of footer sidebars to enable dynamic classes for the footer.694 * Counts the number of footer sidebars to enable dynamic classes for the footer. 695 695 * 696 696 * @since Twenty Eleven 1.0 … … 829 829 if ( ! function_exists( 'twentyeleven_posted_on' ) ) : 830 830 /** 831 * Print HTML with meta information for the current post-date/time and author.831 * Prints HTML with meta information for the current post-date/time and author. 832 832 * 833 833 * Create your own twentyeleven_posted_on to override in a child theme … … 941 941 if ( ! function_exists( 'wp_body_open' ) ) : 942 942 /** 943 * Fire the wp_body_open action.943 * Fires the wp_body_open action. 944 944 * 945 945 * Added for backward compatibility to support pre-5.2.0 WordPress versions. … … 958 958 959 959 /** 960 * Include a skip to content link at the top of the page so that users can bypass the menu.960 * Includes a skip to content link at the top of the page so that users can bypass the menu. 961 961 * 962 962 * @since Twenty Eleven 3.4
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)