Background of the issue:
We're using WPML in conjunction with LearnDash (and the LearnDash Multilingual Integration add-on) to offer courses in both English and Spanish. Note that the courses aren't translations of one another, but different courses. We want to be able to use the LearnDash Profile shortcode/block to show the user's courses in all available languages. We've contacted LearnDash support who have said that this is possible with Polylang using the shortcode [ld_profile lang="en,es"], but not with WPML as that doesn't support the 'lang' parameter.
See hidden link from LearnDash team which demonstrates how this works with Polylang. This is exactly what we want to achieve.
Symptoms:
When users look at their profile in English, they can't see their Spanish-language courses and vice versa.
Questions:
Can you offer any advice for how we could achieve showing the user's courses in all available languages using WPML?
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.