The Beds24 WordPress plugin is tested for compatibility with the WPML plugin, so you can show your booking page and widgets in the language of each page on a multilingual WordPress site.
Set up Beds24 with WPML
Prerequisites: the latest version of the Beds24 WordPress plugin (at least version 2.0.6) and the latest version of the WPML plugin.
Steps:
- Install the Beds24 WordPress plugin. See Wordpress.
- Install the WPML plugin. See the WPML getting started guide.
- Add the Beds24 shortcodes to your pages, posts or widget areas, with the language for each page (see below).
Shortcode examples
| Where | English | French |
|---|---|---|
| Embedded booking page, in pages or posts | [beds24-embed lang="en"] |
[beds24-embed lang="fr"] |
| Booking button, in widget areas |
[beds24-button] or [beds24-button text="Book"]
|
[beds24-button] or [beds24-button text="Rechercher"]
|
Buttons and links can be used in widget areas.