php - Parameter for more than 10 posts in WordPress RSS -


i need generate rss feed posts in wordpress contains more usual 10-or-so items. understand somewhere need such query_posts( 'posts_per_page=-1' );, have absolutely no idea where. (i new wordpress development.)

i've looked , down includes/feed-rss2.php, , while see lot of stuff generates feed, see queries list of posts. in fact, there no reference "query" anywhere in file!

can direct me appropriate place? better yet, if there parameter can stick in url when requesting feed in first place, great.

thanks direction can give.

the simplest way change number of posts in feed utilize built in options.

go admin dashboard, settings, reading.

you faced various options, important being:

syndication feeds show recent 10 items

that allow specify number of posts feed contain.

simple, easy , via admin panel!

source: settings -> reading via wordpress codex


Comments