I'm french so sorry for my bad english :)
How can I set the limit of post display in rss2 ?
I try :
if(!function_exists('ongetfeed')) {
function ongetfeed (){
if(!empty($_GET['nolimit']) ){
add_filter('post_limits',"setpost_limits");
}
}
}
if(!function_exists('setpost_limits')) {
function setpost_limits ($s){
return '100000';
}
}
add_action('do_feed_rss2','ongetfeed',1);
add_action('rss2_head','ongetfeed',1);
add_action('rss2_ns','ongetfeed',1);
I worked many time on this with many others solutions... and I have no result at the time...
HELP ME!!