Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to configure WPML to copy custom post titles instead of translating them, but some of your custom post types are translating titles when they should be copied.
Solution:
We do not have a built-in feature in WPML to exclude custom post titles from translation. This requires custom development. You can use the following example as a starting point: https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/#post-13051837
Make sure to replace "product" in the code with your specific custom post type. Here is how you can modify the code:

$posttype == "your_custom_post_type"

Please ensure to backup your database before making any changes.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 1 week, 2 days ago.

Assisted by: Andrey.

Author Posts
May 19, 2025 at 4:14 pm #17049577

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?

May 19, 2025 at 6:42 pm #17050245

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.