title: Advanced Custom Field post object inside 2 nested repeater is not working
body: <p>I am trying to achieve like this.. I am trying to show a post object as repeater inside 2 nested repeater field.. I am using this repeater and post object in a page template called page-bagels.php . These 2 repeater showing  the 2 row as output as expected. But the post object is not showing or not returning value. Rather it is returning value of the page. Like where I have used  it is returning the page title and not returning the post object title. My code is as below </p>
  
  <pre><code>    &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  
      &lt;div class="main-content"&gt;
          &lt;div class="main-wrap"&gt;
  
  
              &lt;div class="col-sm-12"&gt;
                  &lt;div class="breadcrumbs"&gt;
                      &lt;?php if(function_exists('bcn_display'))
                  {
                      bcn_display();
                  }?&gt;
                    &lt;/div&gt;  &lt;!-- breadcrambs ends here --&gt;
  
              &lt;/div&gt;&lt;!-- col-sm-12 ends here --&gt;
  
  
              &lt;?php 
  
                  // check for rows (parent repeater)
                  if( have_rows('product_page') ): ?&gt;
  
              &lt;div class="col-lg-12 row product-row"&gt;
  
                  &lt;?php 
  
                      // loop through rows (parent repeater)
                      while( have_rows('product_page') ): the_row(); ?&gt;
  
                  &lt;div class="col-sm-12"&gt;
                              &lt;div class="marque"&gt;
                                  &lt;span class="brand-lg"&gt;&lt;img src="&lt;?php the_sub_field('brand_image'); ?&gt;" /&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
  
                  &lt;?php 
  
                              // check for rows (sub repeater)
                              if( have_rows('post_repeater') ): ?&gt;
  
  
  
  
                  &lt;div class="col-sm-12 product-item-row"&gt;
  
                  &lt;?php 
                          // loop through rows (sub repeater)
                      while( have_rows('post_repeater') ): the_row();?&gt;
  
                  &lt;div class="col-sm-3 product-item"&gt;
  
  
                       &lt;?php
                          $postobject = get_sub_field('product_post'); ?&gt;  
  
                      &lt;a href="&lt;?php $postURL = get_permalink($postobject-&gt;ID);?&gt;"&gt;
                          &lt;img class="product-img" src="&lt;?php bloginfo('template_directory');?&gt;/images/product-images/321600_moelleux_blanc_trepais.png" width="100%" /&gt;
                          &lt;p class="product-name"&gt;&lt;?php the_title();?&gt;&lt;/p&gt;
                          &lt;p class="product-seemore"&gt;See More&lt;/p&gt;
                      &lt;/a&gt;
  
  
  
                  &lt;/div&gt;&lt;!-- col ends here --&gt;
  
                   &lt;?php endwhile; ?&gt;
  
                  &lt;/div&gt;&lt;!-- col Product Items row here --&gt;
  
                  &lt;?php endif; //if( get_sub_field('items') ): ?&gt;
  
                  &lt;?php endwhile; // while( has_sub_field('to-do_lists') ): ?&gt;
  
              &lt;/div&gt;&lt;!-- col lg 12 ends here or row ends here --&gt;
  
  
              &lt;?php endif; // if( get_field('to-do_lists') ): ?&gt;
  
              &lt;?php endwhile; // end of the loop. ?&gt;  
  
  
  
  
  
                  &lt;div class="lnk-top"&gt;
      &lt;a href="#"&gt;&lt;span class="icon-arrow-up up-arrow"&gt;&lt;/span&gt;&lt;br&gt;Top&lt;/a&gt;
  &lt;/div&gt;
  
  
          &lt;/div&gt;&lt;!-- main wrap ends here --&gt;
  
          &lt;div class="clr"&gt;&lt;/div&gt;
  
      &lt;/div&gt;&lt;!-- main content ends here --&gt;
  </code></pre>
  
  <p>So in this code you can see the post object is also a repeater.. So it means I am using 3 repeaters. If you see the code you will get it</p>
  
  <p>Here is the output I am getting <a href="http://ahsanurrahman.com/myprojects/cms/wp/gadoua/en/bagels/" rel="nofollow noreferrer">http://ahsanurrahman.com/myprojects/cms/wp/gadoua/en/bagels/</a></p>
  
  <p>So any help is appreciated. </p>