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 9 replies, has 2 voices.

Last updated by Lauren 8 months, 2 weeks ago.

Assigned support staff: Lauren.

Author Posts
January 24, 2019 at 2:21 pm #3125621

aviO-3

I work with my site in Development Environment (hidden link) and add Currency Swither to menu with shortcode. In web-version it added. but in mobile dont showing.

January 24, 2019 at 2:47 pm #3125736

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

January 24, 2019 at 2:49 pm #3125743

aviO-3

Where should I send ftp acces?

January 24, 2019 at 2:56 pm #3125762

aviO-3

Enable please private box

January 24, 2019 at 6:53 pm #3126632

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

The next reply is marked as private. You may need to reload the browser once you are logged in to see the private fields. Thanks!

January 25, 2019 at 7:37 pm #3130356

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks for sending access. I checked all of your menus since you said you were using the shortcode in menu plugin, but I don't see the shortcode for the currency switcher anywhere. Can you please tell me where/how you added it? Perhaps a screenshot will help me better understand.

January 28, 2019 at 8:37 am #3134298

aviO-3

I use shortcode in my menu like this:

January 28, 2019 at 3:06 pm #3136142

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I think the problem is a conflict with the shortcode in menus plugin, because I tested adding the currency switcher to the header of the test site using

do_action('wcml_currency_switcher', array('format' => '%name% (%symbol%)'));

and as you can see, it displays on both mobile and desktop. I also added the currency switcher widget and that shows up on all versions as well. I also see that this shortcode in menus is not on our list of compatible plugins: https://wpml.org/documentation/plugins-compatibility/. I can ask our compatibility team to reach out to them to get the two working together, but in the meantime the workaround is to drop the php code into your theme templates where you would like the currency switcher displayed.

Please let me know if you need any further assistance and I will be happy to help.

January 30, 2019 at 11:27 am #3143545

aviO-3

Can you say mу how add currency switch to mobile menu?

January 30, 2019 at 6:37 pm #3145384

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

This will require custom programming, which is outside of the scope of our support policy. Here are the steps I would recommend:

1. Find the spot within the theme header.php file where you want to place the language switcher
2. If you only want it displayed here for mobile, add a div tag and then hide this div via CSS to only show it on mobile.

If you need further assistance, I suggest asking the theme developer or consider contacting one of our certified partners from this link: http://wpml.org/documentation/support/wpml-contractors/