Changeset 9454
- Timestamp:
- 02/03/2020 09:57:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/functions.php
r9406 r9454 130 130 131 131 /** 132 * Outputs `noindex,follow` robots tag for search results. 133 */ 134 function jobswp_noindex_for_search() { 135 if ( is_search() ) { 136 wp_no_robots(); 137 } 138 } 139 add_action( 'wp_head', 'jobswp_noindex_for_search', 9 ); 140 141 /** 132 142 * Implement the Custom Header feature. 133 143 */
Note: See TracChangeset
for help on using the changeset viewer.