外掛說明
About Service.
This plugin is designed to use the Expan Pro service associated with your travel agent account created by Expan Tours: (https://expan.pro)
You can review our terms and conditions of the ExpanPro service at: (https://expan.pro/terms).
About Plugin.
This plugin creates a list of Expan Pro trip plans that can be added anywhere in the template.
This plugin provides 1 administration page called “Expan pro”.
In the admin page (http://you-site.com/wp-admin/admin.php?page=expanpro-options) you can login with your Expan pro credentials in order to start using the shortcode [expanpro].
To use this plugin, you must include the shortcode [expanpro]
within the content of pages, posts or widgets.
The filters that can be used to customize the list are the following:
-
countries
Country code type ISO 2 comma separated
[expanpro countries=”AR,CL”] -
name
Keyword for search
[expanpro name=”lima”] -
categories
Category names comma separated
[expanpro categories=”trekking,trenes”] -
quantity
Number of trip plans to show
[expanpro quantity=”20″] -
offers
Show only offers if is true
[expanpro offers=”true”] -
plans
Show specific trip plans by ID, comma separated
[expanpro plans=”10,5″] -
vertical
Show a vertical banner with trip plans
[expanpro vertical=”true”]
Requirements:
* WordPress 3.4 or later
Translators
- Spanish (es_ES) – Sebastián Orellana
螢幕擷圖
安裝方式
- Install and activate the plugin
- Login with your credentials in Expan Pro admin area.
- Add the shortcode [expanpro] anywhere in your site.
- YOU’RE DONE!
常見問題集
-
Can I add the shortcode Anywhere on the Template?
-
Yes, using the function
<?php echo do_shortcode('[expanpro]');?>
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
2.6
- Fixed transcient when api fails
2.5
- Fixed transcient when api fails
2.4
- visual improvements (added vertical option)
2.3
- Internal API fixes
2.2
- Fixed transcient time 12 hours
2.1
- Fixed empty response
2.0
- Added 2 new filters: offers, plans
1.6
- Cached API Call.
1.5
- New custom domain option.
1.4
- Added Styles CSS.
1.3
- Bug showing prices.
1.2
- Added JSON-LD option.
- Added Style CSS.
1.1
- Added canonical link option.
- Fixed image sizes.
1.0
- This is the first version of the plugin.