Difference between revisions of "WPML"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | What you need: Latest version of the Beds24 plugin (at least version 2.0.6), latest version of | + | '''What you need:''' Latest version of the [http://www.beds24.com/wordpress-plugin.html Beds24 plugin] (at least version 2.0.6), latest version of [http://wpml.org/purchase/ WPML plugin]. |
1. Install the Beds24 Wordpress plugin. | 1. Install the Beds24 Wordpress plugin. | ||
− | 2. Install the | + | 2. Install the WPML plugin. There is a [http://wpml.org/documentation/getting-started-guide/ getting started guide] available. |
− | 3. Add the widget short codes | + | 3. Add the widget short codes to your pages, posts or widget area. |
− | '''Example:''' | + | 3.1 Pages or posts: |
+ | |||
+ | '''Example Embedded Booking Page:''' | ||
*English language shortcode: [beds24-embed lang="en"] | *English language shortcode: [beds24-embed lang="en"] | ||
*French language shortcode: [beds24-embed lang="fr"] | *French language shortcode: [beds24-embed lang="fr"] | ||
+ | |||
+ | 3.2 Widget areas: | ||
+ | |||
+ | Buttons and Links can be used in widget areas. | ||
+ | |||
+ | '''Example Booking Button:''' | ||
+ | |||
+ | *English language shortcode: [beds24-button] [beds24-button text="Book"] | ||
+ | |||
+ | *French language shortcode: [beds24-button] [beds24-button text="Rechercher"] | ||
− | See [[Developers| list of all language parameters]] | + | See [[Developers| list of all language parameters]]. |
Latest revision as of 17:06, 20 April 2015
The Beds24 Wordpress plugin is tested for compatibility with the WPML plugin
What you need: Latest version of the Beds24 plugin (at least version 2.0.6), latest version of WPML plugin.
1. Install the Beds24 Wordpress plugin.
2. Install the WPML plugin. There is a getting started guide available.
3. Add the widget short codes to your pages, posts or widget area.
3.1 Pages or posts:
Example Embedded Booking Page:
- English language shortcode: [beds24-embed lang="en"]
- French language shortcode: [beds24-embed lang="fr"]
3.2 Widget areas:
Buttons and Links can be used in widget areas.
Example Booking Button:
- English language shortcode: [beds24-button] [beds24-button text="Book"]
- French language shortcode: [beds24-button] [beds24-button text="Rechercher"]
See list of all language parameters.
Keywords: multi language, multi lingual, Wordpress