This blog site is not meant to be any information that is distributed to the general public. It is to serve as shared documentation between the DNSTC developers; however, if you find something useful and would like to use it, go right ahead.

Thursday, March 10, 2011

Removing the Continue Reading From the RSS feed in the TwentyTen Theme

When I started playing with the RSS feeds, I noticed that the feed would truncate and then add a link at the end that said Continue Reading with an arrow. I tried for a few hours to remove this since it was not fitting in with what I was trying to accomplish in the layouts. It turns out that this is actually added by the theme itself to the RSS feed.

For the purpose of using a blog for RSS news feeds, I have been just using the default TwentyTen Theme. You can actually go into the theme and remove that annoying Continue Reading if you want.

Here is how:

  1. Edit the file: [wordpress directory]/wp-content/themes/twentyten/functions.php
  2. Do a search for "Continue Reading" (Normally around line 241)
  3. Comment out the link within the function that starts with return…
  4. Save the file

Removed!


 

 

No comments:

Post a Comment