Home › Forums › General Issues › Custom Text in Home Page › Reply To: Custom Text in Home Page
Hi @mukeshnegi
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.