• Resolved bgolsen

    (@bgolsen)


    Hi

    Thanks for a really great plugin 🙂

    I was wondering, is it somehow possible to have the RSS export contain more than 10 items? I know I can export a JSON file, but we are using the RSS to display on the site, and it would be nice with the option to have more items from the log 🙂

    Kind regards,
    Bruno

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pär Thernström

    (@eskapism)

    There is a filter
    $args = apply_filters( 'simple_history/rss_feed_args', $args );
    that you can use to modify the parameter “posts_per_page”.

    Use it something like this (I have not tested this code, but this or something similar should work):

    
    add_filter(
      'simple_history/rss_feed_args',
      function( $args ) {
        $args['posts_per_page'] = 50;
        return $args;
      }
    );
    
    Thread Starter bgolsen

    (@bgolsen)

    Thanks, I’ll try that 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘RSS max items beyond 10’ is closed to new replies.