Hi,
On the Dynamic Widgets edit screen, where it lists all the individual posts in each Custom Post Type module, only 5 are coming through. This is the number I have set in the Settings for posts_per_page. Shouldn't the query to get the posts have -1 set for this explicitly?
I'm working around this with a filter in my theme's functions.php:
add_filter( 'pre_get_posts', 'slt_dynwid_cpt_fix' );
function slt_dynwid_cpt_fix( $query ) {
if ( isset( $_GET['page'] ) && $_GET['page'] == 'dynwid-config' && isset( $_GET['action'] ) && $_GET['action'] == 'edit' ) {
$query->set( 'posts_per_page', -1 );
}
return $query;
}