Skip Navigation

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

Problem:
You are trying to prevent the map shortcode from being translated using WPML and have encountered issues where the shortcode is still being translated, and the website shows as not secure during translation.
Solution:
The issue with the shortcode still being translated arises because the shortcode brackets are incorrectly included in the XML configuration. To resolve this, ensure that your XML configuration matches the correct format. You can refer to a similar case and the correct XML format on our forum: Disable Translation of Shortcode Content.
For the website showing as not secure, this might be related to other issues not directly connected to WPML. We recommend checking your site's SSL configuration and ensuring that all resources are loaded over HTTPS.

If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also 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. For further assistance, you can always contact us through the 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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Carlos Rojas 1 month, 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
May 9, 2025 at 2:47 am #17014208

Manisha K

<b>Background of the issue: </b>
I am trying to translate my website , using WPML. I want to prevent the map shortcode from being translated. I have used the following code to achieve this: <wpml-config> <shortcodes> <shortcode> <tag ignore-content="1">[open-user-map]</tag> </shortcode> </shortcodes> </wpml-config>.

<b>Symptoms: </b>
While translating, the website shows as not secure, and the map shortcode is still being translated despite my efforts to prevent it.

<b>Questions: </b>
Why is the map shortcode still being translated despite using the provided code?
Why does the website show as not secure during translation?

May 9, 2025 at 9:36 am #17015593

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

Your code has a little issue, the shortcode brackets are added in the XML. Please compare your XML with the one provided in the summary of this ticket: https://wpml.org/forums/topic/disable-translation-of-shortcode-content/

Regards,
Carlos