skip to Main Content
Diamond Wordpress Theme

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Recent Works
Contact Us

12345 North Street, New York City, NY 555555
Phone: 1-800-555-5555
Mobile: 1-234-567-8910
Fax: 1-234-879-5641

Many language plugins include built-in options for adding your language switcher directly to your WordPress menu, but often this doesn’t look very good it really clutters things up. For this reason we have included built-in shortcodes for WPML and Polylang switchers.

WPML Shortcode

WPML includes a built-in shortcode for displaying a language switcher anywhere you want that uses the “Custom Language Switchers” settings in the main WPML settings panel. This shortcode doesn’t include any parameters so be sure to go to your WPML admin panel to customize the way you want it to look after adding it where you want (displays as a “list” by default). You can view all WPML shortcodes and parameters on their docs here.


PolyLang Shortcode

Diamond includes a PolyLang lanaguage switcher so you can add it wherever you want!


Download Polylang

Diamond includes a configuration file that registers all the strings included in the Theme Customizer so you can easily translate them. This includes things such as your custom related posts heading, custom image logo, callout text, copyright text…etc.

Translating with WPML

The “String Translation module” is included with the “Multilingual CMS package” and will allow you to translate any strings not included inside posts, pages or taxonomies. It’s very easy to use and is located at WPML->String Translation.

Below is the link to the guide on the WPML website which goes into greater detail. I would strongly recommend you check it out.

View WPML Docs

If you are looking to translate a small string of text for WPML you can do so with the included wpml_translate shortcode. Please see the example below:

[wpml_translate lang=es]Hola[/wpml_translate]
[wpml_translate lang=en]Hello[/wpml_translate]
Back To Top