Changeset 2011
- Timestamp:
- 10/27/2015 02:39:39 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-apps
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-apps/functions.php
r843 r2011 57 57 'gallery', 58 58 ) ); 59 60 // Enable support for title tag. 61 add_theme_support( 'title-tag' ); 59 62 } 60 63 endif; // wpmobileapps_setup … … 191 194 192 195 /** 196 * Return the title separator. 197 * 198 * @return string 199 */ 200 function wpmobileapps_title_separator(){ 201 return '|'; 202 } 203 add_filter( 'document_title_separator', 'wpmobileapps_title_separator' ); 204 205 /** 206 * Omit page name from front page title. 207 * 208 * @param array $parts The document title parts. 209 * @return array The document title parts. 210 */ 211 function wpmobileapps_remove_frontpage_name_from_title( $parts ) { 212 if ( is_front_page() ) { 213 $parts['title'] = ''; 214 } 215 216 return $parts; 217 } 218 add_filter( 'document_title_parts', 'wpmobileapps_remove_frontpage_name_from_title' ); 219 220 /** 193 221 * Remove Jetpack Likes on the grid page template. 194 222 */ -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-apps/header.php
r843 r2011 12 12 <meta charset="<?php bloginfo( 'charset' ); ?>"> 13 13 <meta name="viewport" content="width=device-width, initial-scale=1"> 14 <title><?php wp_title( '|', true, 'right' ); ?></title>15 14 <link rel="profile" href="http://gmpg.org/xfn/11"> 16 15 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
Note: See TracChangeset
for help on using the changeset viewer.