WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm making a custom RSS feed where I want the full article to display. The problem is that when I use the_content() to output the article, it will only show the excerpt if there is a 'more' tag in that article. How do I force the_content() to output the full article, or is there another function that will achieve this?

share|improve this question
up vote 2 down vote accepted

Setting the $more variable to 0 seem to solve the problem for me. I put the following at the top of my function which output the RSS feed:

function outputRSS(){
    global $more;
    $more = 0;
    //Output my RSS below...
share|improve this answer
this is the way indeed – janw May 31 '12 at 14:45

The default setting on wordpress is work for me.

Go to wordpress dashboard-> setting -> reading
There are 2 option we can choose to show how article is displayed:

For each article in a feed, show

  1. Full text
  2. Summary
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.