Hi team, I am facing challenge as every time I update a custom post from front end acf_form(), it changes my post category (wp category) setting.
As we use WPML, when editing in EN site, it remove the CN category for the post. When editing in CN site, it removes the EN category for the post.
Our EN post and CN post are hard coded to have same content so we only manage the EN version. And every post, either EN post or CN post has both EN category and CN category.
So to summary, I have an EN post (having EN category and CN category), and an CN post (having EN category and CN category). When editing using acf_form() in the EN site, it removes CN category from both posts. Likewise when editing in the CN site, it removes EN category from both posts.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users