Recras
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.
Top keywords
- recras11×2.20%
- date7×1.40%
- contact6×1.20%
- data6×1.20%
- date picker6×1.20%
- picker6×1.20%
- contact forms5×1.00%
- forms5×1.00%
- enable4×0.80%
- integration4×0.80%
- only4×0.80%
- own4×0.80%
VoucherPress
Thanks for using VoucherPress. It’s great to see so many people creating vouchers for all kinds of business. From pizza joints to jewellers, cleaning companies to sports clubs – you’ve created thousands of vouchers, and I’m really proud to have created something which has been useful to so many people. As I work on the next version of VoucherPress it would be really helpful if you could fill in this short survey. Many thanks for your time. Have you ever wanted to give away vouchers, tickets, coupons or tokens on your website? If so this plugin is for you. You can create a voucher with whatever text you want, choosing the layout and font from a range of templates (you can also add your own templates). Vouchers can then be viewed, downloaded and printed from a specified URL. There are shortcodes to add a link to a particular voucher, to show an unordered list of all your vouchers, or to show the registration for to request a restricted voucher. You can require visitors to provide their name and email address to get a voucher. If an email address is required an email is sent to the address with a link to the voucher URL. Each voucher has a unique code, and vouchers that have an email address associated with them can only be used once, so once a registration-required voucher is downloaded it can’t be downloaded again. Hooks From version 1.1.2 the plugin also offers a selection of hooks which you can use to run your own custom code. The hooks are: voucherpress_create When a voucher is created, this hook returns the properties of the voucher. You can use it like this: add_action( ‘voucherpress_create’, ‘my_voucherpress_create_function’ ); function my_voucherpress_create_function( $id, $name, $text, $description, $template, $require_email, $limit, $startdate, $expiry ) { // do something here… } voucherpress_edit When a voucher is edited, this hook returns the properties of the voucher. You can use it like this: add_action( ‘voucherpress_edit’, ‘my_voucherpress_edit_function’ ); function my_voucherpress_edit_function( $id, $name, $text, $description, $template, $require_email, $limit, $startdate, $expiry ) { // do something here… } voucherpress_register When someone registers to download a voucher and an email is sent to them, this hook returns the voucher and the users details. You can use it like this: add_action( ‘voucherpress_register’, ‘my_voucherpress_register_function’ ); function my_voucherpress_register_function( $voucher_id, $voucher_name, $user_email, $user_name ) { // do something here… } voucherpress_download When someone downloads a voucher, this hook returns the voucher and the users details. You can use it like this: add_action( ‘voucherpress_download’, ‘my_voucherpress_download_function’ ); function my_voucherpress_download_function( $voucher_id, $voucher_name, $code ) { // do something here… } The plugin also makes use of the __() function to allow for easy translation. Thanks to Christian Serron (http://twitter.com/cserron) for the code to make the vouchers work in widgets (currently disabled, I’m working on this) and to Barry (http://www.betakeygiveaway.com/) for bug testing above and beyond the call of duty. Shortcodes There are four shortcodes available. The first shows a link to a particular voucher, and is in the format: [voucher id=”123″] The “id” parameter is the unique ID of the voucher. The correct ID to use is available in the screen where you edit the voucher. You can also how the description after the link: [voucher id=”123″ description=”true”] The second shows a link to a voucher, but with a preview of the voucher (just the background image, no text) and the voucher name as the image alternate text: [voucher id=”123″ preview=”true”] And you can show the description after the preview as well: [voucher id=”123″ preview=”true” description=”true”] You can also show an unordered list of all your live vouchers using this shortcode: [voucherlist] And a list of all live vouchers with their descriptions: [voucherlist description=”true”] And you can also show the form for people to enter their name and email address if they wish to register for a restricted voucher: [voucherform id=”123″] The shortcodes for any voucher can be found on the edit screen for that voucher. Just click the ‘Shortcodes’ button.