• was looking for this kind of plugin for hours now ?? it would be nice to be able to change the batch size of postings in admin (hardcoded limited to 100, up to 1000 works just fine with my cheapo shared webhosting)

Viewing 1 replies (of 1 total)
  • Plugin Author keesiemeijer

    (@keesiemeijer)

    Hi akedv

    Thanks for the review ??

    There are two ways to increase the batch size. Register the unused post types and increase the number of items per page in the screen options of the admin page for the custom post type posts.

    Or update the batch size with a plugin filter in your (child) theme’s functions.php file

    
    add_filter('custom_post_type_cleanup_batch_size','cptc_update_batch_size', 10, 2);
    
    function cptc_update_batch_size($batch_size, $post_type) {
    	// Return a new batch size
    	return 1000;
    }
    

    I’m guessing this info is a bit too late now ??

    Maybe I will update the readme with this information. Thanks again for the review.

    btw:
    consider creating a child theme instead of editing your theme (functions.php file) directly – if you upgrade the theme all your modifications will be lost. Or create a plugin with the code above.

Viewing 1 replies (of 1 total)
  • The topic ‘works great’ is closed to new replies.