Support

Account

Home Forums Bug Reports Custom Post Overview Field Won't Update

Solved

Custom Post Overview Field Won't Update

    • tnace

    • August 3, 2019 at 2:41 am

    I have a post overview ACF but when I update the post along with the post overview and hit update everything updates except the ACF post overview field. I’ve cleared cache many times, tried on a private browser, etc.

    I think for some reason the old value for the custom field is not being overwritten. I did change the field name from post-overview to post_overview to work with the Yoast SEO plugin as a custom excerpt field. Maybe this created a duplicate table in the database instead of modifying the existing table?

    I tried disabling all plugins and switching themes and it didn’t fix the issue.

    • tnace

    • August 3, 2019 at 3:06 am

    I’m running ACF v5.8.2 & WP v5.2.2

    • tnace

    • August 3, 2019 at 3:26 am

    I figured out the problem. In the template file I was still calling “post-overview” instead of “post_overview” field. Strangely “post-overview” still worked even though I changed the custom field name. I assume this is because it didn’t overwrite the previous field but just created a new custom field with the underscore.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.