Language dependent IDs: make get_permalink() multilingual with Polylang
-
Hi,
Coming from WPML I’m really happy to have been switched to Polylang, by far more intuitive, faster and works almost perfectly even with ACF Pro.
I’m using get_permalink() in several part of the template.
With WPML I can handle this links in several ways:
https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/language-dependent-ids/
https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/How can I achieve the same with Polylang?
Is it possible to make IDs language dependent?
I know I can use conditionals to check the current language and get the correct ID each time but it would be better a simpler solution.Thanks
Davide
- The topic ‘Language dependent IDs: make get_permalink() multilingual with Polylang’ is closed to new replies.