Support

Account

Home Forums General Issues How to fetch custom field value in index.php? Reply To: How to fetch custom field value in index.php?

  • Elliot answered a similar question here. In order to call a field while on index.php, you need to add the page_ID like this: <?php the_field('page_intro_text', 15); ?> where the number ’15’ is the value of page_ID for the page that has the field 'page_intro_text'.