Categories
Uncategorized

Edit WordPress RSS Title

To edit the WordPress RSS Title in your Blog feeds, you can follow two methods. One method is to edit the feed’s title on your host itself and the other is to edit the title in the Feedburner. I personally prefer method one, as it can be tweaked according to one’s comfort levels.
wordpress rss

Method 1

You will have to use your online File Manager or an FTP client like FileZilla to implement this. method. Log in to your hosting account and then download the files included in the following path:
/public_html/wp-includes/

Download the following files to your computer if you want edit them using a text editor like Notepad, Adobe Dreamweaver, etc. You can also choose to edit these files online using the Edit option in the online File Manager of your Hosting account.

feed-rss.php
feed-rss2.php
feed-rss2-comments.php
feed-atom.php
feed-atom-comments.php
feed-rdf.php

After opening the above files search for the following snippets of code like:

<title type="text"><?php bloginfo_rss('name'); wp_title_rss(); ?></title>

(or)

<title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>

 

You will find this code at or around the 19th line. Now you have to change the title attribute by either commenting out the PHP codes or by deleting them and then, adding your own custom made title.  Then it will seem somewhat like the below code:

<title type="text"><?php /*bloginfo_rss('name');  wp_title_rss(); */?>THIS IS YOUR TITLE</title>

(or)

<title><?php /*bloginfo_rss('name'); wp_title_rss(); */ ?>THIS IS YOUR TITLE</title>

 

You might also find the title code like the following in the above files, and in the same way as above you have to comment it out or remove it and replace it with your own Title:

<?php
		if ( is_singular() )
			printf( <span class="hiddenSpellError" pre=""-->ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
		elseif ( is_search() )
			printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
		else
			printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) . get_wp_title_rss() );
	?>

You can change it to the following by commenting out the second title given above:

<?php
		if ( is_singular() )
			printf( <span class="hiddenSpellError" pre=""-->ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
		elseif ( is_search() )
			printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
		else
			printf( ent2ncr( __( 'Comments for %s' ) ), get_bloginfo_rss( 'name' ) /* . get_wp_title_rss() */ );
	?>

Hope you found this method easy to understand and impliment, cause you din’t then there’s an even more easier way to get around this.

 

Method 2

The method 2 as mentioned above is quite easy and you can do it without editing any sort of code. All you need to do is login to your Feedburner account and then click on the Feed you want to burn and then go to Optimize option in the tabs given. To the left in your SERVICES pane, you will have an option that says Title/Description Burner. You can enter your own title that replaces your blog title provided in the feeds and you are also allowed to enter the description of your wish.

feedburner

 

The option Edit Feed Details above the Optimize tab in your Feedburner window, isn’t of much use in the above case as it is used only to edit the title of your Feed inside Feedburner Interface itself.
feedburner

If you have any queries regarding this, then please feel free to mention them in the comment section below.