8/31/2004 ↓

Feed choices in WordPress

If you like this post, please subscribe to our RSS feed to read our new posts every day.

In order to offer a choice in offered feeds through WordPress, I have made some very slight modifications to the wp-rss2.php file and in the options inside WordPress to make that possible.

Setup your feed option (under options->reading->syndication feeds->full text) to show full text as the default feed for your blog. This way, the feeds are more complete and links are not disguised etc. Now you can download wp-rss2e.phps (rename it to wp-rss2e.php) and put it in the root of your blog. Once there, just create a link called “Excerpted feed” somewhere in the sidebar to link to that file (or anywhere else really, just not within the loop) in order to allow people to subscribe to the excerpted feed.

You can also add it to the <head> section of index.php as well if you choose, but this is not necessary. If you want the default to be an excerpted feed, this process will not work for you.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2