Changeset 3389 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
- Timestamp:
- 06/16/2016 01:22:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r3388 r3389 182 182 183 183 /** 184 * Bold archive terms are made here. 185 * 186 * @param string $term The archive term to bold. 187 * @return string 188 */ 189 function strong_archive_title( $term ) { 190 return '<strong>' . $term . '</strong>'; 191 } 192 add_filter( 'post_type_archive_title', __NAMESPACE__ . '\strong_archive_title' ); 193 add_filter( 'single_term_title', __NAMESPACE__ . '\strong_archive_title' ); 194 add_filter( 'single_cat_title', __NAMESPACE__ . '\strong_archive_title' ); 195 add_filter( 'single_tag_title', __NAMESPACE__ . '\strong_archive_title' ); 196 add_filter( 'get_the_date', __NAMESPACE__ . '\strong_archive_title' ); 197 198 /** 184 199 * Custom template tags for this theme. 185 200 */
Note: See TracChangeset
for help on using the changeset viewer.