Changeset 60508 for trunk/src/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 07/24/2025 02:45:00 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/functions.php
r60456 r60508 136 136 137 137 /** 138 * Add support for a custom header image.138 * Adds support for a custom header image. 139 139 */ 140 140 require get_template_directory() . '/inc/custom-header.php'; 141 141 142 142 /** 143 * Register block patterns and pattern categories.143 * Registers block patterns and pattern categories. 144 144 * 145 145 * @since Twenty Twelve 4.4 … … 179 179 180 180 /** 181 * Enqueue scripts and styles for front end.181 * Enqueues scripts and styles for front end. 182 182 * 183 183 * @since Twenty Twelve 1.0 … … 225 225 226 226 /** 227 * Enqueue styles for the block-based editor.227 * Enqueues styles for the block-based editor. 228 228 * 229 229 * @since Twenty Twelve 2.6 … … 239 239 240 240 /** 241 * Add preconnect for Google Fonts.241 * Adds preconnect for Google Fonts. 242 242 * 243 243 * @since Twenty Twelve 2.2 … … 265 265 266 266 /** 267 * Filter TinyMCE CSS path to include hosted fonts.267 * Filters TinyMCE CSS path to include hosted fonts. 268 268 * 269 269 * Adds additional stylesheets to the TinyMCE editor if needed. … … 294 294 295 295 /** 296 * Filter the page title.296 * Filters the page title. 297 297 * 298 298 * Creates a nicely formatted and more specific title element text … … 332 332 333 333 /** 334 * Filter the page menu arguments.334 * Filters the page menu arguments. 335 335 * 336 336 * Makes our wp_nav_menu() fallback -- wp_page_menu() -- show a home link. … … 347 347 348 348 /** 349 * Register sidebars.349 * Registers sidebars. 350 350 * 351 351 * Registers our main widget area and the front page widget areas. … … 517 517 if ( ! function_exists( 'twentytwelve_entry_meta' ) ) : 518 518 /** 519 * Set up post entry meta.519 * Sets up post entry meta. 520 520 * 521 521 * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. … … 640 640 641 641 /** 642 * Register postMessage support.643 * 644 * Add postMessage support for site title and description for the Customizer.642 * Registers postMessage support. 643 * 644 * Adds postMessage support for site title and description for the Customizer. 645 645 * 646 646 * @since Twenty Twelve 1.0 … … 701 701 702 702 /** 703 * Enqueue JavaScript postMessage handlers for the Customizer.703 * Enqueues JavaScript postMessage handlers for the Customizer. 704 704 * 705 705 * Binds JS handlers to make the Customizer preview reload changes asynchronously.
Note: See TracChangeset
for help on using the changeset viewer.