Home > OS >  Where is variables located in Wordpress like how it works for e.g (have_rows('help_list'))
Where is variables located in Wordpress like how it works for e.g (have_rows('help_list'))

Time:12-15

 <div id="how_can_we_help">
  <div >
   <div >
    <div >
     <?php the_field('help_title');?>
    </div>
   
    <div >
     <?php if( have_rows('help_list') ): ?>
     <?php while( have_rows('help_list') ): the_row(); ?>
     <!---->
     <div >
      <div ><img src="<?php the_sub_field('icon');?>"  alt="icon"/></div>
       <div >
        <h4><a href="<?php the_sub_field('link');?>"><?php the_sub_field('title');?></a></h4>
         <p><?php the_sub_field('info');?></p>
       </div>
       <div ><a href="<?php the_sub_field('link');?>">Discover More</a> 
       </div>
      </div>
      <!---->
      <?php endwhile; ?>
      <?php endif; ?> 
     </div>
    </div>
   </div>
 </div>

I am new to wordpress, I just trying to figure out where this "help_list" is located in our wordpress site. also there is a while loop on this "help_list" but no idea where it is coming from.

CodePudding user response:

Your website has ACF plugin installed.

and it comes from the Repeater Field of the ACF plugin.

Check here for more :

  1. Check this
  2. More link

CodePudding user response:

Advanced Custom Fields (ACF) plugin for WordPress brings that for you. you can check more information about this in link :

ACF - have_rows

  • Related