This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to activate only 3 specific languages on certain pages using WPML, while keeping other pages with the full set of languages. They also requested documentation for the languages array and information on variables inside
[wpml_language_switcher]
and
[wpml_language_selector_widget]
shortcodes, as well as how to get the current language flag URL outside of the shortcode using PHP.
Solution:
We recommended the client to review the following documentation:
Additionally, we suggested checking our hooks reference for more advanced customization options: WPML hooks reference.
If the provided solution is not relevant due to being outdated or not applicable to your case, 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 in our forum: 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 3 replies, has 2 voices.
Last updated by 10 months ago.
Assisted by: Osama Mersal.