WordPress Multilingual (WPML) is a commercial plugin that adds various multilingual capabilities to WordPress.
Questions tagged [wpml]
414 questions
0
votes
1 answer
SQL query for custom menu Wordpress using WPML
I'm using the following sql query to get a custom menu by it's name:
SELECT p2.post_title, p2.post_name, p2.guid
FROM wp_posts p1
INNER JOIN wp_term_relationships AS TR
ON TR.object_id = p1.ID
…

jxe
- 310
- 4
- 16
0
votes
1 answer
Variations not showing in second language (WPML and Woo Commerce)
The variation is not showing in the second language using wpml and woocommerce. I checked with the multiple site for this. They suggested to upgrade wpml and woo commerce multilinguial plugin, that is done. Still variation is not showing. There are…

user2508506
- 61
- 11
0
votes
1 answer
Howto modify this short php-function? (Wordpress)
This function is part of the WMPL-Plugin (Language-Selector) for Wordpress. What I need is a extension (if / else) of this function which makes it possible to show another flag-image on active sites.
function language_selector_flags(){
…

mrs.yoda
- 1
0
votes
1 answer
Widget translation using WPML and Widget Logic Plugin
I have an unexpected issue with my wordpress site. I am running 3 languages on my site: English, Bahasa Malay and Simplified Chinese. And when I am trying to add Malay translated widget using this code ICL_LANGUAGE_CODE == 'bm' than it can not show…

user2673625
- 1
- 1
0
votes
2 answers
Redirect to wordpress page without page ID
I'm looking for a way to redirect to a specific wordpress page without knowing the ID.
I have a shortcode that is meant to redirect to a registration page once a button is clicked.
Before, I was able to just use a page ID. Now I am using WPML and…

Lee Loftiss
- 3,035
- 7
- 45
- 73
0
votes
1 answer
Wordpress WPML how to print translation
I'm trying to translate texts in a WordPress template file:
_e('Sport Events Organizing', 'theme-text-domain');
I've setup the translation for spanish on WPML String Translation. Checked "Finished Translation" and clicked "Save". Then I browse my…

martincho
- 4,517
- 7
- 32
- 42
0
votes
2 answers
translating within PHP using WPML
I'm currently going through my static template files on a Wordpress-based website using WPML and wondering how I would set this PHP code up to be translatable:

keitha7
- 1
- 4
0
votes
1 answer
Wordpress WPML replace Li a values
Greetings everyone,
Scenario: I am running a WPML (multilingual site) but the problem is that each language has its social media account and the backend only support one.
I would like to ask if it is possible to change the value of li a? Basically…

Unwired
- 82
- 1
- 5
-1
votes
1 answer
Share custom text using social share in wordpress based on current language
I have four languages on my website managed using WPML. I need to implement social sharing on my website. I need to share custom text ( different for each language) using this social share. The current page URL along with the custom text is needed…

Priyanka
- 1
- 5
-1
votes
1 answer
Excluding categories in Woocommerce
I am creating a bilingual website with woocommerce and WPML.
I have the categories: USA, Canada and Central America, Simple Product, Variable Product and Subscriptions.
I have 30 products that are distributed in those 6 categories.
How do I (for…
-1
votes
2 answers
How to display availability for products depending on shipping classes in two languages
I'm trying to display custom availability text for products by 4 rules in two languages.
I set this function but I get both availability text (from english and greek). I want to display the specific message for each language.
//Availability Text…

Helen_zs
- 75
- 2
- 10
-1
votes
1 answer
Post tags in Custom Post Type not showing in archive with WPML in non-default language
I've done some searching over the last couple of hours and I couldn't find a solution that worked; so here goes nothing:
I have a custom post type which has 'taxonomies' => array('post_tag') attached to it. I can properly add tags to this custom…

CaptainCarl
- 3,411
- 6
- 38
- 71
-1
votes
1 answer
Javascript multiple language choice
I have this code I used for my wordpress multi language website. (currently english and french).
To make the translation of a specific part in the footer I used that code :

Antoine Sp
- 11
- 2
-1
votes
1 answer
Selling tickets using WordPress + WPML + WooCommerce
I have specific (technical + process) issue on one e-commerce project.
We have fully active and working WordPress + WooCommerce, internationalized with premium WPML plugin (everything setup) + Events plugin for events.
We tried to find premium…

milan.latinovic
- 2,217
- 1
- 21
- 26
-1
votes
1 answer
Why wordpress images only work with only one domain
I have created many WordPress sites and there is something I was never able to fix.
When you have two domains for the same website (such as www.example.com and www.example.fr) only one shows correctly and the alternative doesn't show it's images.
I…

Ariel
- 549
- 1
- 5
- 13