On working with a non-profit organization, http://cloverareaassistance.org/about-us/who-we-are/, we are trying to display the board members. We have 12 Board Members of Custom Post Types in WordPress 4.2. Yet the code below only displays 10 of 12. :’( I don’t understand why it would limit at 10. If I change the order, I can verify that the two members that aren’t being displaying are correctly identified in the Board Members classification because they do appear if I change the menu order. What do I need to change to have all 12 display?
Thanks.
<?php get_header() ?> <?php $args = array( 'post_type' => 'staff', 'department' => 'staff', 'order' => 'menu_order' ); $staffquery = new WP_query( $args ); if ($staffquery->have_posts()): $staffmembers = 'Staff
'; while ($staffquery->have_posts()): $staffquery->the_post(); $url = get_the_post_thumbnail_url($post->ID); if ($url) { $staffmembers .= ''.$post->post_title.'
'; $title = ''; $title = get_field('title', $post->ID); if($title) { $title .= ''.$title.''; } $term = get_field('term', $post->ID); if ($term) { $staffmembers .= '('.$term.')'; } $description = get_field('description', $post->ID); if ($description) { $staffmembers .= ''; endwhile; $staffmembers .= '
'.$post->post_title.'
'; $title = ''; $title = get_field('title', $post->ID); if($title) { $title = ''.$title.''; } $term = get_field('term', $post->ID); if ($term) { $term = '('.$term.')'; } $boardmembers .= '
'.$title.' '.$term.'
'; $description = get_field('description', $post->ID); if ($description) { $boardmembers .= '