This repository was archived by the owner on Sep 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -88,25 +88,6 @@ function flat_paging_nav() {
8888 <?php
8989}
9090
91- function flat_wp_title ( $ title , $ sep ) {
92- global $ paged , $ page ;
93-
94- if ( is_feed () )
95- return $ title ;
96-
97- $ title .= get_bloginfo ( 'name ' );
98-
99- $ site_description = get_bloginfo ( 'description ' , 'display ' );
100- if ( $ site_description && ( is_home () || is_front_page () ) )
101- $ title = "$ title $ sep $ site_description " ;
102-
103- if ( $ paged >= 2 || $ page >= 2 )
104- $ title = "$ title $ sep " . sprintf ( __ ( 'Page %s ' , 'flat ' ), max ( $ paged , $ page ) );
105-
106- return $ title ;
107- }
108- add_filter ( 'wp_title ' , 'flat_wp_title ' , 10 , 2 );
109-
11091if ( ! function_exists ( 'flat_post_nav ' ) ) :
11192function flat_post_nav () {
11293 global $ post ;
Original file line number Diff line number Diff line change 33<head>
44 <meta charset="<?php bloginfo ( 'charset ' ); ?> " />
55 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6- <title><?php wp_title ( ' ~ ' , true , ' right ' ); ?> </title>
6+ <title><?php wp_title ('' ); ?> </title>
77 <link rel="profile" href="http://gmpg.org/xfn/11" />
88 <link rel="pingback" href="<?php bloginfo ( 'pingback_url ' ); ?> " />
99 <?php wp_head (); ?>
You can’t perform that action at this time.
0 commit comments