Answers for "advance custom field"

PHP
0

advance custon feilds

the_field('sub_heading');
$image = get_field('hero_image'); 

if( have_rows('todo') ): 
	while ( have_rows('todo') ) : the_row();
		the_sub_field('item');
    	endwhile; 

 		else : 
    
		endif;
Posted by: Guest on July-24-2020
-1

custom fields wordpress

/*  Wordpress  for custom field -------
 create template file like home.php and add this code  */

<?php echo get_field('name');?>
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language