add custom field in wordpress pages code example
Example 1: custom fields wordpress
/* Wordpress for custom field -------
create template file like home.php and add this code */
<?php echo get_field('name');?>
Example 2: How to display custom field in wordpress?
echo get_post_meta($post->ID, 'keyName', true);