Support

Account

Forum Replies Created

  • ok thanks for your repply

    Here is what I’ve done and got it worked without any fixed ID

    <?php if( have_rows('dvd_list') ) : ?>
    		    <?php while( have_rows('dvd_list') ): the_row(); 
    		        $dvdItem = get_sub_field('dvd_object');	
    		        if ( $dvdItem) :
    					$dvdName= get_field_object('dvd_name', $dvdItem->ID);
    				?>
    		        	<div><?php echo $dvdName['value']; ?></div>
    		       	<?php endif; ?>
    		    <?php endwhile; ?>
    		<?php endif; ?>
Viewing 1 post (of 1 total)