Support » Plugin: Simple Multisite Sitemaps » [Plugin: Simple Multisite Sitemaps] Max 10 post/pages in each sitemap

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author luckyduck.networks

    (@luckyducknetworks)

    Oh, will take a look at this. Sorry for the late reply. Never received a notification about new posts in this support section.

    I just installed your plugin and also stumbled on the max 10 posts limit.
    By adding 'posts_per_page'=>-1 to sitemap-template.php this was easy to fix though:

    $query_args = array(
    	'post_type'      => array( 'post', 'page' ),
    	'post_status'    => 'publish',
    	'orderby'        => 'date',
    	'posts_per_page' => -1
    );
    query_posts( $query_args );

    Cheers,
    Benny

    Plugin Author luckyduck.networks

    (@luckyducknetworks)

    Fixed in 1.1.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Multisite Sitemaps] Max 10 post/pages in each sitemap’ is closed to new replies.