I found the problem:
This happens only if the page has subpages! The subpages also have the same “video” custom field.
If the page does’t have any subpage, the video shows up.
EDIT:
I resolved the problem by putting this code after the loop that shows up a list of subpages:
<?php wp_reset_postdata(); ?>
<?php wp_reset_query(); ?>
Hi Elliot,
Yes, I get the correct ID and title.
I tried to duplicate the page and it works (I edited the CF several times without problems) but the original pages are still not working.
Hi elliot,
I’m not using any caching plugin an the moment.
In my single.php page I don’t have the loop code. It is just a simple page that prints out all the ACF fields without the WP default content
Hi elliot,
Yes, I confirm that the value does change in the backend and also saved to DB (checked using phpmyadmin)
What type of cache do you mean? If you mean the browser cache I cleared it and tried on different browsers/machines.
I’m using the code on a custom page.php outside the loop.
Thanks
Alex