Tag Info

Hot answers tagged


Your custom loop $catquery will override the "current" post, and so the_field will operate on the last post of that loop. Call wp_reset_postdata() right after your loop is finished (after endwhile;). This will restore the post global to the true "current" post.


I know this is an old ticket, but data importing is an ongoing challenge for users, I am sure! I've recently started using WP All Import, and I came across the same problem with ACF fields. Luckily, they came out with an extension for the plugin for exactly this problem: http://www.wpallimport.com/add-ons/ WP All Import ACF Add-On should handle this ...

Only top voted, non community-wiki answers of a minimum length are eligible