
內容簡介
Recras 外掛可輕鬆將 Recras 系統中的數據整合到您的網站中,例如預訂流程。透過安全的 HTTPS 連接,確保數據完整性,並可使用小工具檢索所需數據。
【主要功能】
• 整合預訂流程數據
• 提供產品和套餐資訊
• 支援 Google Analytics 整合
• 自訂日期選擇器樣式
• 快取數據最多可達 24 小時
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
With this plugin, you can easily integrate data from your Recras instance, such as book processes, into your own website.
To get started, go to the Recras → Settings page and enter your Recras domain. For example, if you log in to Recras at https://mycompany.recras.com/ then enter mycompany.recras.com. That’s all there is to it! You can now use widgets to retrieve data. All data is retrieved via a secured connection (HTTPS) to ensure data integrity. Other than the request parameters, no data is sent to the Recras servers.
This plugin consists of the following “widgets”. To use them, you first need to set your Recras domain (see paragraph above).
* Book processes
* Contact forms (deprecated)
* Packages
* Products
* Voucher info
Widgets can be added to your site in three ways. Using Gutenberg blocks (recommended), using the buttons in the “classic editor” (limited functionality), or by entering the shortcode manually (discouraged).
Date picker for contact forms
By default, date pickers in contact forms use the browser date picker. If you want to be able to style the date picker, we recommend to enable the date picker we have included with the plugin. You can enable this on the Recras → Settings page.
Note: this setting only applies to standalone contact forms, not to contact forms used in the old online booking of packages integration or in book processes.
Styling
No custom styling is applied by default, so it will integrate with your site easily. If you want to apply custom styling, see css/style.css for all available classes. Be sure to include these styles in your own theme, this stylesheet is not loaded by the plugin!
For styling the date picker, we refer you to the Pikaday repository. Be sure to make any changes in your own theme or using WordPress’ own Customizer.
Cache
All data from your Recras is cached for up to 24 hours. If you make important changes, such as increasing the price of a product, you can clear the cache to reflect those changes on your site immediately.
Google Analytics integration
You can enable basic Google Analytics integration for the booking of packages and voucher sales by checking “Enable Google Analytics integration?” on the Recras Settings page. This will only work if there is a global ga JavaScript object. This should almost always be the case, but if you find out it doesn’t work, please contact us!
Support
We would appreciate it if you use our GitHub page for bug reports, pull requests and general questions. If you do not have a GitHub account, you can use the Support forum on wordpress.org.
We only support the latest plugin of the plugin, on the latest version of WordPress (which you should always use anyway!) and only on actively supported PHP branches.
Credits
Icons from Dashicons by WordPress, released under the GPLv2 licence.
Date picker is Pikaday, released under the BSD/MIT licence.
Country list is by umpirsky, released under the MIT licence.
