If you’re using the PRO version, you can use the options page to store the field value and display it in the index.php file. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/options-page/. Also, please check the Getting Started section of this page: https://www.advancedcustomfields.com/resources/.
If you have a static page set for the front page on “wp-admin > Settings > Reading”, you can set the field to the selected home page and show it by using the
the_field() function. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/.
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.