Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Jaff

    (@hemantyadav)

    Please add posts_per_page parameter on get_all_post function.

    For anyone still struggling, just edit index.php and change line 51 into something like this:

    $options_pages_obj = get_posts( array(
    	'posts_per_page'   => 100,
    	'offset'           => 0,
    	'category'         => '',
    	'orderby'          => 'post_date',
    	'order'            => 'DESC',
    	'include'          => '',
    	'exclude'          => '',
    	'meta_key'         => '',
    	'meta_value'       => '',
    	'post_type'        => 'post',
    	'post_mime_type'   => '',
    	'post_parent'      => '',
    	'post_status'      => 'publish',
    	'suppress_filters' => true
    ) );

    This way you’ll also get some other options, like category and sort order. For more info, see Template Tags/get posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Increasing post limits’ is closed to new replies.