From edc9b11221cc0db3f55e43d42caaa022d5aed079 Mon Sep 17 00:00:00 2001 From: Khaled Mohammed Date: Fri, 16 Dec 2016 21:33:54 +0530 Subject: [PATCH] issue fixed #299 --- templates/features.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/features.php b/templates/features.php index 35d71810b..69302b477 100644 --- a/templates/features.php +++ b/templates/features.php @@ -837,7 +837,7 @@ function ampforwp_custom_title_tag(){ if( is_single() || is_page() ){ global $post; $title = $post->post_title; - echo $title | get_bloginfo( 'description' ) ; + echo $title . ' | ' . get_option( 'blogdescription' ) ; } // title for archive pages if ( is_archive() ) { @@ -847,12 +847,12 @@ function ampforwp_custom_title_tag(){ // title for Static front page if ( $redux_builder_amp['amp-frontpage-select-option']== 1 && ( is_front_page() ) ) { $ID = $redux_builder_amp['amp-frontpage-select-option-pages']; - echo get_the_title( $ID ) | get_bloginfo('name'); + echo get_the_title( $ID ) . ' | ' . get_option('blogname'); } // title for index page if ( is_front_page() && $redux_builder_amp['amp-frontpage-select-option']== 0 ) { - echo bloginfo('name') | get_bloginfo( 'description' ) ; + echo bloginfo('name') . ' | ' . get_option( 'blogdescription' ) ; } ?>