title: Wordpress Custom Field group not displaying all data
body: <p>I've been bugging about this issue for days now so hope to find a solution here. </p>
  
  <p>I'm trying to display data coming from a Custom Field Group. Here's a sample layout of what I'm trying to achieve</p>
  
  <p><a href="https://i.stack.imgur.com/ILblW.png" rel="nofollow"><img src="https://i.stack.imgur.com/ILblW.png" alt="enter image description here"></a></p>
  
  <p>Basically, I'm trying to display 20++ of those columns. However, I'm only getting about 11 coming from this custom field group.</p>
  
  <p>Here's my code for the template of the page:</p>
  
  <pre><code>&lt;?php
  /* Template Name: Branches Page */  
  
  get_header();
  
  global $currentCity;
  
  $registration_link = get_post_meta(96, 'registration_link', true);
  $registration_text = get_post_meta(96, 'registration_text', true);
  
  
  $thumbnail_url  = wp_get_attachment_url( get_post_thumbnail_id( $post-&gt;ID ) );
  ?&gt;
      &lt;!-- FEATURE IMAGE
      ================================================== --&gt;
      &lt;?php if( has_post_thumbnail() ) { // check for feature image ?&gt;
  
      &lt;section class="feature-image" style="background: url('&lt;?php echo $thumbnail_url; ?&gt;') no-repeat; background-size: cover;" data-type="background" data-speed="2"&gt;
          &lt;h1 class="page-title"&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
      &lt;/section&gt;
  
      &lt;?php } else { // fallback image ?&gt;
  
      &lt;section class="feature-image feature-image-default" data-type="background" data-speed="2"&gt;
          &lt;h1 class="page-title"&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
      &lt;/section&gt;
  
      &lt;?php } ?&gt;
  
      &lt;!-- MAIN CONTENT
      ================================================== --&gt;
      &lt;div class="container"&gt;
          &lt;div class="row" id="primary"&gt;
  
              &lt;div id="content" class="col-sm-12&gt;
  
                  &lt;section class="main-content"&gt;
  
                      &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  
                          &lt;?php the_content(); ?&gt;
  
                      &lt;?php endwhile; // end of the loop ?&gt;
  
                      &lt;?php $loop = new WP_Query( array( 'post_type' =&gt; 'branches_locations', 'orderby'=&gt;'post_id', 'order'=&gt;'ASC' ) ); ?&gt;
  
  
                      &lt;div class="resource-row clearfix"&gt;
                          &lt;?php while( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); ?&gt;
  
                          &lt;?php
                              $resource_url = get_field('resource_url');
                              $address = get_field('address');
                              $city    = get_field('city');
                              $branch_image = get_field('branch_image');  
                              $senior_high_ready = get_field('senior_high_ready');
  
                          ?&gt;
  
                          &lt;div class="resource"&gt;
  
                              &lt;?php 
                              if( $city &lt;&gt; $currentCity )
                              {
                              ?&gt;
                                  &lt;h2&gt;
                                      &lt;?php echo $city; ?&gt;
                                  &lt;/h2&gt;
  
                              &lt;?php 
                              }
                              else
                              {
                              ?&gt;  
                                  &lt;h2 class="hidden-dummy-header"&gt;
                                      Blank
                                  &lt;h2&gt;    
                              &lt;?php
                              }
                              ?&gt;
  
                              &lt;h3&gt;&lt;?php the_title(); ?&gt;&lt;/h3&gt;
  
                              &lt;p&gt;&lt;?php echo $address; ?&gt;&lt;/p&gt;
  
                              &lt;?php
                              if( $senior_high_ready == True)
                              {
                              ?&gt;
                                  &lt;h5 class="senior_high_ready"&gt;
                                      SENIOR HIGH READY
                                  &lt;/h5&gt;
  
                              &lt;?php 
                              }
                              else
                              {
                              ?&gt;  
                                  &lt;h5 class="hidden-dummy-header"&gt;
                                      Blank
                                  &lt;/h5&gt;   
                              &lt;?php
                              }
                              ?&gt;
  
                              &lt;img src="&lt;?php echo $branch_image[url]; ?&gt;" alt="&lt;?php echo $branch_image[alt]; ?&gt;"&gt;
  
                              &lt;div class="register-link"&gt;
  
                                  &lt;a href="&lt;?php echo $registration_link; ?&gt;" class="btn btn-primary"&gt;&lt;?php echo $registration_text; ?&gt;
                                  &lt;/a&gt;
  
                              &lt;/div&gt;
  
                              &lt;?php $currentCity = $city; ?&gt;
                          &lt;/div&gt;&lt;!-- resource --&gt;
  
                          &lt;?php endwhile; ?&gt;
  
                      &lt;/div&gt;&lt;!-- resource-row --&gt;
  
                  &lt;/section&gt;&lt;!-- main-content --&gt;
  
              &lt;/div&gt;&lt;!-- content --&gt;
  
          &lt;/div&gt;&lt;!-- row --&gt;
  
      &lt;/div&gt;&lt;!-- container --&gt;
  
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>What is causing it not to display the entire list on my custom field group? </p>