In order to build my custom language selector I need to know if the translated page retains in some way, as metadata or custom field, the url of the original page in the primary language.
(I imagine Wpml needs this reference to sync pages)
This would be essential from the crossposted site to come back to the main language site.
The translated pages do not retain the URL of the original in any way.
Translations are normal posts in wp_posts, and they are connected with the original through "trid", a value in the table icl_translations.
Please consider we can provide limited support with your case since it involves custom coding. You might consider hiring one of our contractors https://wpml.org/contractors/
The topic ‘[Closed] Custom Language selector in a crossposted website’ is closed to new replies.