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
- Creating the default language slider
- Translating the slider
- Translating LayerSlider texts
- Getting help – WPML translation support forum.
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. Follow the steps described in the WPML Beginner’s Guide to verify that your setup is correct.
If you own a website and are working with a developer, please ask for the developer’s assistance in managing these settings.
For a better translation experience, activate the WPML Translation Editor. To do this, go to WPML -> Translation Management page and click on the tab titled Multilingual Content Setup. In the section titled How to translate posts and pages, check the Use the translation editor option and click on the Save button.
Creating the default language slider
This example demonstrates the steps for creating a simple slider:
- From the WordPress dashboard navigate to LayerSlider WP -> All Sliders and then click on Add New Slider.
- Fill in the slider name and then click on the Add slider
- 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.
- Choose the image that you want to add as a slider background and then click on the Insert
- 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
- Click on the “+” icon for adding more slides to your slider.
- 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.
The figure below depicts the slider being displayed on the front end.
Translating the slider
To translate the text written on the slides, follow these steps:
- 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.
- Click on the translations link and then add your translated text. Check the Translation is complete option and click on the Save
- To display the translated slider on the front end, translate the page that includes the slider by clicking on the “+” icon in the Language meta-box.
- Translate the texts on the page and check the Translation is complete option for each field. Ensure that you copy the slider’s short-code into the translation field and then click on the Save & Close
The figure below depicts the translated slider being displayed on the front end.
Translating LayerSlider texts
In addition to the contents of posts and pages in your website, there may be some texts originating from other web elements such as themes and plugins.
To learn how to translate these texts, go through the documentation page about translating these texts manually or sending them to others for translation.
Getting help – WPML translation support forum
The members of our support forum, who are trained in using WPML with LayerSlider, are available for six days a week to assist you.
If you are working with a developer for your website, please use our Translation support forum to get assistance in translating your website’s content.
If you are setting up your website and WPML yourself, please use our Technical support forum.