Home › Forums › Bug Reports › ACF don't save the text in field › Reply To: ACF don't save the text in field
If the fields only exist on the home page then that is were you need to get them from.
// here you are showing the front page
// if you use getting fields here will
// show field from added for the front page
// custom query loop
while(have_posts()) {
the_post();
// any fields you try to show here will be from this post
// not the page that is being displayed outside of this loop
}
So, if the only place you can edit these fields is on the home page, then they won’t be shown inside the custom loop unless you supply the post ID when getting those fields. https://www.advancedcustomfields.com/resources/how-to-get-values-from-another-post/
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.