Skip Navigation
October 8, 2020

The LayerSlider plugin allows you to create sliders that can display images, videos, and posts. It features a multitude of animation effects and allows the layering of contents in each slide. The integration of LayerSlider with WPML allows the user to create and run multilingual sliders.


Getting started

If you are a developer, ensure that the LayerSlider, plugin is activated.

To get started, make sure that the following plugins are activated: WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and WPML Media Translation plugins.

If you own a website and are working with a developer, please ask for the developer’s assistance in managing these settings.

WPML translation tools

WPML offers two translation editors you can use for translating your site’s content:

Besides translating your site content yourself, you can also:

Creating the default language slider

This example demonstrates the steps for creating a simple slider:

  1. From the WordPress dashboard navigate to LayerSlider WP Options and then click on Add New Slider.
Click on “Add New Slider”
  1. Fill in the slider name and then click on the Add slider
Add your slider name
  1. Click on the SLIDES In the section titled Slide Background Image, click on the CLICK TO SET button to add an image to your slide.
Set the slide background image
  1. Choose the image that you want to add as a slider background and then click on the Insert
Choose the image
  1. Scroll to the Content tab and click on the Text button for adding text to the slide. After adding the text, click on the Save changes
Add text to your slider
  1. Click on the “+” icon for adding more slides to your slider.
Adding new slides to your slider
  1. Add the slider to your desired page. In this example, for the purpose of demonstration, a new page has been created and the slider has been added to it. Remember to update the page after adding the slider.
Insert the slider to the default language page

The figure below depicts the slider being displayed on the front end.

The default language slider on the front-end

Translating the slider

To translate the text written on the slides, follow these steps:

  1. From your WordPress dashboard, navigate to WPML → String Translation. Choose the LayerSlider Sliders text domain from the drop-down menu titled Select strings within domain. A list can then be seen with all the texts that you added to the slides.
Choose the “LayerSlider Sliders” text domain on the String Translation page
  1. Click on the translations link and then add your translated text. Check the Translation is complete option and click on the Save
Translate the slider text and save
  1. To display the translated slider on the front end, translate the page that includes the slider by clicking on the plus icon in the Language box.

The figure below depicts the translated slider being displayed on the front end.

The translated slider on the front-end
Disable the use slider markup caching option

Translating LayerSlider texts

Besides contents coming from posts and pages on your site, there are usually some texts coming from other places. Most common examples are themes and plugins.

To learn how to translate these texts, read our documentation page about translating strings.

Known Issues

There are no known compatibility issues between this plugin and WPML.

Getting help – WPML translation support forum

In case you need help translating your site built using LayerSlider and WPML, visit WPML’s support forum.