Problem:
Client was using code that uses both the Forms API and the WPML API to automatically duplicate posts submitted via a form into other languages (the content being copied from the original).
But these new posts were WPML "duplicates", meaning they were synched to the original and could not be independently edited.
Solution:
An updated version of the code which "un-synchs" the duplicate posts is offered below: https://toolset.com/forums/topic/edit-independently-in-front-end-ro-en-title-content-of-duplicated-posts/#post-1239002
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/#hook-606504
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 15 replies, has 2 voices.
Last updated by 5 years, 6 months ago.
Assisted by: Nigel.