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

Last updated by kevinM-20 1 year ago.

Assigned support staff: Dennis.

Author Posts
May 16, 2019 at 10:45 pm #3829747


Tell us what you are trying to do?

Is there any documentation that you are following?
Yes, the official.

Is there a similar example that we can see?
Your own website

What is the link to your site?
hidden link

I would like to show make the following snippet viable, but I can not find the proper functions:
<?php if(language_is_available) :?>
<a href="<?php link_to_translated_content_of_this_one(); ?>">
<img src="src/to/my/flag/item">
<?php endif; ?>

May 17, 2019 at 8:17 am #3832201



Welcome to WPML Support forum.

Please review the following documentation for more information on creating your own custom language switcher.

Unfortunately at the moment we cannot support any custom work through the forum. If you need further assistance with this, we recommend contacting our 3rd party contractors that are familiar with WPML.

Kind regards,

May 17, 2019 at 10:17 am #3833287


My issue is resolved now. Thank you!