Background of the issue:
I've created a Custom Post Type (CPT) using ACF with some custom fields, and I have published several posts under this CPT, along with their translations using WPML. Now I need to change the post type key and have received the following advice: "You will need to run an SQL command to change the post type in the database: UPDATE wp_posts SET post_type= 'new_post_type' WHERE post_type= 'old_post_type';" In my case, I would use the command: UPDATE c0lab_posts SET post_type= 'grupos-electrogenos' WHERE post_type= 'generador-electrico';
Symptoms:
I need to ensure that changing the post type key using this method will work for translated content without causing issues.
Questions:
Could you please confirm whether this approach will work without causing issues for the existing translations?
Are there any additional steps or considerations I should take to ensure everything functions correctly with WPML?
主题 “[關閉] Changing Post Type Key on Translated Content with WPML” 已关闭,不接受新回复。