Feed Issue
-
Here is the working code – http://pastebin.com/bgXxu6MY
You can also fix this, with the newest version from the google code page, by adding a comma directly after
#commentform
on lines 185 and 194.Me and Mark finally solved this issue in his website!
I have added the , to where it needs to be and I still get a blank website.
I have downloaded both Prasanna’s theme-head.php and replaced mine with his and once that did not work I tried Josh’s. So I have no idea what is going on.
I still get a “»” error for my feed ever after replacing the code. Any new ideas what could be causing it?. Guess I’ll have to use another theme until further notice :/
Much like Daniel, I am interested in fixing this » error. I am attempting to set up my RSS feed for email subscriptions through feedburner, but they need a properly coded feed, and my feed keeps coming up with the same code error.
I was just wondering, since no one has addressed it specifically, if the changes being addressed here are meant to fix the code so this » bit is resolved? Or are these changes for something else?
I asked a friend of mine to look at it and he made the following changes that worked for me at least.
Search for raquo in the theme-head.php and you should find something like this
if ( $graphene_settings['custom_site_title_frontpage']) {
$title = $graphene_settings['custom_site_title_frontpage'];
$title = str_replace( '#site-name', get_bloginfo( 'name' ), $title);
$title = str_replace( '#site-desc', get_bloginfo( 'description' ), $title);
} else {
$title = get_bloginfo( 'name' ) . " » " . get_bloginfo( 'description' );
}
} else {
if ( $graphene_settings['custom_site_title_content'] ) {
$title = $graphene_settings['custom_site_title_content'];
$title = str_replace( '#site-name', get_bloginfo( 'name' ), $title );
$title = str_replace( '#site-desc', get_bloginfo( 'description' ), $title );
$title = str_replace( '#post-title', $default_title, $title );
} else {
$title = $default_title . " » " . get_bloginfo( 'name' );
Replace the whole thing with this
if ( $graphene_settings['custom_site_title_frontpage']) {
$title = $graphene_settings['custom_site_title_frontpage'];
$title = str_replace( '#site-name', get_bloginfo( 'name' ), $title);
$title = str_replace( '#site-desc', get_bloginfo( 'description' ), $title);
} else {
$title = get_bloginfo( 'name' ) . $sep . get_bloginfo( 'description' );
}
} else {
if ( $graphene_settings['custom_site_title_content'] ) {
$title = $graphene_settings['custom_site_title_content'];
$title = str_replace( '#site-name', get_bloginfo( 'name' ), $title );
$title = str_replace( '#site-desc', get_bloginfo( 'description' ), $title );
$title = str_replace( '#post-title', $default_title, $title );
} else {
$title = $default_title . $sep . get_bloginfo( 'name' );The lines “getbloginfo” and “deafault_title” have changed into something that doesn’t reference the raquo at all and that worked for me. Since I pretty much have no idea what I’m doing when it comes to php-code, I won’t guarantee anything, but it worked for me at least.
alright I will give it a try and hopefully it will work, thanks
Freaking awesome man, thanks so much, easiest fix in the world, just had to change the » to $sep in those two lines, and the feed is validated!
Hopefully this helps other people using this theme as well.
And for waloshin, I had to install a new version of wordpress on my site, but I had a new website so it wasn’t too big of a deal. The people at hostgator were a big help in getting my site back up and running. If you have a good hosting company you might want to see if they can help
hi ~ here is my rss
http://www.catchtide.com/feed/
I tried replace theme-head.php but it’s not working.
Can you help me how to fix it?
Thank you
- You must be logged in to reply to this topic.