It is not a problem with Google Reader, but your RSS feed http://www.dtpotp.com/feed/ has the title set as DTP OTPDTP OTP. Reset it.
If you have setup the feed from a text widget, either post the correct title in the box for title or leave it blank and save it.
Thread Starter
DTPOTP
(@dtpotp)
I just have the sidebar widget from Jetpack set up and there is no place to enter the blog name there.
Hi DTOPOTP
Did you resolve this? I have the same problem:
http://www.elated.co.za/feed
feed.feedburner.com/elated
the name appears as ElatedElated
Any help will be appreciated.
Thanks!
Thread Starter
DTPOTP
(@dtpotp)
Nope, I never did! Couldn’t find an explanation that made any sense.
Check your theme’s functions.php file for a function that is being added via the wp_title() filter. If it uses the code suggested in this Codex page, then that’s where the problem will be. The code is flawed and results in a duplicated title in RSS feeds. I’m currently investigating the correct way to amend the code to stop this happening.
And I’ve now corrected the example code in that Codex page to stop the RSS title duplicating.
Hi Esmi. Thanks, but I’m not clued enough to know what to change. Nothing in the functions.php looks anything like the example.
Is this what you’re referring to?
// Action Hook
add_action( 'widgets_init', 'birdtips_widgets_init' );
add_action( 'after_setup_theme', 'birdtips_setup' );
add_action( 'wp_enqueue_scripts', 'birdtips_scripts' );
add_filter( 'get_search_form', 'birdtips_search_form' );
add_filter( 'wp_title', 'birdtips_title' );
add_theme_support( 'automatic-feed-links' );
or this?
// Document Title
function birdtips_title( $title ) {
global $page, $paged;
$title .= get_bloginfo( 'name' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
$title .= " | $site_description";
if ( $paged >= 2 || $page >= 2 )
$title .= ' | ' . sprintf( __( 'Page %s', 'birdtips' ), max( $paged, $page ) );
return $title;
}
Thanks!
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
I think it’s the second function that is to blame. Try replacing it with:
// Document Title
function birdtips_title( $title ) {
global $page, $paged;
$title .= get_bloginfo( 'name' );
if( !is_feed() ) {
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
$title .= " | $site_description";
if ( $paged >= 2 || $page >= 2 )
$title .= ' | ' . sprintf( __( 'Page %s', 'birdtips' ), max( $paged, $page ) );
}
return $title;
}
thanks, no it didn’t work. My home page redirects to my index page, as I wanted the home page to be the blog roll. Is that the problem?
The changes I suggested shouldn’t affect that.