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?
2 Answers
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...
}
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
- Full text
- Summary