Changeset 2043
- Timestamp:
- 11/05/2015 06:55:27 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn/functions.php
r4 r2043 22 22 } 23 23 24 /** 25 * Omit page name from front page title. 26 * 27 * @param array $parts The document title parts. 28 * @return array The document title parts. 29 */ 30 function learn_remove_frontpage_name_from_title( $parts ) { 31 if ( is_front_page() ) { 32 $parts['title'] = ''; 33 } 24 34 35 return $parts; 36 } 37 add_filter( 'document_title_parts', 'learn_remove_frontpage_name_from_title' ); 38 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn/header.php
r4 r2043 1 1 <?php 2 2 global $pagetitle; 3 $pagetitle = wp_ title( '«', false, 'right' ) . ' ' . get_bloginfo( 'name');3 $pagetitle = wp_get_document_title(); 4 4 wp_enqueue_style( 'wporg-learn', get_bloginfo( 'stylesheet_url' ), array(), 2, 'screen' ); 5 5 wp_enqueue_style( 'wporg-learn-fonts', '//fonts.googleapis.com/css?family=Roboto+Condensed:700', array(), 1, 'screen' );
Note: See TracChangeset
for help on using the changeset viewer.