Thanks Kor. I created a brand new "child post", the ones we're linking to. I translated it too.
Then I added links to that new post in the same places (intro text and button) on this page: hidden link
The translation editor does not translate the URL (see attached). I ignored that and only translated the texts and then saved the translation. The translated page hidden link now contains an English link in the summary. I thought this was solved, but it's failing again. The button link is ok though.
Why is this so difficult? What's different here than all the other translations throughout the site that work fine?
Thanks for your reply. I've tried to test this on a new page but I'm having issues saving it as shown in the attached screenshot.
Could you create a new page and only insert a wp:meta-box/ohcc-block-button pointing to a translated URL? I'd like to isolate the issue and retest this and then, show this to our 2nd Tier Support if the issue persists.
Sorry, that error is because the post has a couple of required fields:
1) Content summary - Content long title (any text)
2) Content classification - Content popularity (any number, e.g. 0)
3) Content management - Content last update (any date)
On child posts, it's the same fields, and in addition:
4) Post hierarchy - Parent post
Anyway, I tried again and changed the button link on hidden link to point to hidden link
Then I updated the translation of hidden link. It showed an empty translation for the URL hidden link. I ignored that and saved the translation. Indeed, the button URL is now fine in the frontend.
I can't say I'm very confident it's fully solved. It feels like it works randomly, and the empty link in the translation editor is weird.
But, if you're convinced it is solved, please let me know the final steps.
- I guess I can already update the XML on the live site? Is it only the section you shared on November 4, 2025 at 3:28 pm?
- And then wait for the WPML update that contains the fix?
Thanks for your reply. Yes, this is solved. Please copy the entire custom XML configuration from the dev site and paste it into your production site. Then, make minor edits to the primary language page so that the Advanced Translation Editor could resync the contents.
But, I also have to wait for an official release containing the fix that was made before, right? Only then, the link will be translated in both locations that were problematic in my original request?
Thanks for your reply. Yes, that code replacement is correct. There won’t be a fix for this since it’s not a workaround. You just need to add the correct custom XML configuration to tell WPML how to translate the links.
After updating the custom XML configuration, make a small edit to the page in the default language and retranslate it. The links should then update correctly.