 dennisB-32
|
Background of the issue:
I am trying to ensure that custom post titles on my site, hidden link, are copied rather than translated using WPML.
Symptoms:
Some of my custom post types are translating titles when they should be copied.
Questions:
How can I configure WPML to copy custom post titles instead of translating them?
|
 Andrey
WPML Supporter since 06/2013
Languages:
English (English )
Russian (Русский )
Timezone:
Europe/Kyiv (GMT+03:00)
|
Thank you for contacting WPML support.
WPML does not include a built-in feature to exclude custom post titles from translation. Achieving this behavior requires custom development.
You can refer to the following example as a starting point or for testing:
https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/#post-13051837
Make sure to replace "product" in the code with the custom post type you want to target, like so:
$posttype == "your_custom_post_type"
I hope this helps. Please backup your database before making any changes.
|