Recras WordPress plugin


With this plugin, you can easily integrate data from your Recras instance, such as packages and contact forms, into your own website.

To get started, go to the Recras → Settings page and enter your Recras name. For example, if you log in to Recras at then your Recras name is mysite. 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 name (see paragraph above).
* Availability calendar
* Contact forms
* Online booking
* Packages
* Products
* Voucher sales
* 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/Time picker

By default, date and time pickers in contact forms use whatever the browser has available. Internet Explorer (all versions) does not have native date/time pickers and only shows a text field. If your website has a lot of visitors from IE, we recommend to enable the date picker we have included with the plugin. You can enable this on the Recras → Settings page. For time inputs, a proper fallback is included.

Note: this setting only applies to standalone contact forms, not to contact forms used during “new style” online booking.

زیبا سازی ( قالب بندی )

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.


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 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!


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

We only support the plugin on the latest version of WordPress (which you should always use anyway!) and only on actively supported PHP branches.


  • 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.

عکس‌های صفحه

  • Example of a programme with the Twenty Fifteen theme
  • Example of package information, generated from Recras data
  • The Recras blocks in Gutenberg


این افزونه 1 بلوک ارائه می‌دهد.

  • Voucher


Easy installation (preferred)

  1. Install the plugin from the Plugins > Add New page in your WordPress installation.

Self install

  1. Download the zip file containing the plugin and extract it somewhere to your hard drive
  2. Upload the recras-wordpress-plugin folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Using Composer

  1. Type composer require recras/recras-wordpress-plugin in your terminal
  2. The plugin will automatically be installed in the /wp-content/plugins/ directory by using Composer Installers
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

سوالات متداول

Do you support Gutenberg?

Yes, since version 2.2.0! Please make sure you use the latest version of the plugin and please report any bugs you encounter.

Do you support Visual Composer, Brizy, etc. ?

We do not support page builders and have no plans to do so.

Does the plugin support network installations?

Yes it does. You can set different Recras names (all settings, for that matter) for each site.

Can the plugin be installed as “must use plugin” ?

No. “Must use” plugins don’t appear in the update notifications nor show their update status on the plugins page (direct quote from the WordPress documentation) which is reason enough for us not to support this.


بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Recras WordPress plugin” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Recras WordPress plugin” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fix page crashing when trying to show the duration of a package where the last line has no end time


  • Seamless online booking integration: change value of “BuyInProgress” events from package/template ID (bookings/vouchers, respectively) to total price


  • Fix wrong page width when using an online booking theme


  • Fix page crashing when trying to show the programme of a multi-day package where the last line has no end time
  • Small styling update for book process calendar


  • Fix page crashing when trying to show the duration of a package that does not exist


  • Fix “Class not found” error when using Composer in a theme
  • Update themes for use in book processes and add two new themes


  • Clearing cache didn’t delete book process cache – fixed


  • Fix book process not loading when using it from a widget or custom field


  • Fix PHP 8.0 compatibility


  • Fix book process not loading when using the Gutenberg block instead of the shortcode


  • Prevent JavaScript error on pages without a book process


  • Book processes can now be integrated through the plugin!
  • Seamless online booking integration: Fixed slowness after clicking required checkboxes a few times


  • Seamless online booking integration: Replace alerts with inline messages
  • Seamless online booking integration: Make redirect without Mollie more robust
  • Fix default selected country in contact forms


  • The “Term for number of vouchers” is now used during voucher sales


  • Add option to hide voucher sale quantity (defaults to 1)
  • Add option to hide discount field during online booking
  • Seamless online booking integration: pressing Enter in the amounts form sometimes broke the form


  • Seamless online booking integration: Fix discount code with prefilled date


  • Seamless online booking integration: Swedish translation is now available


  • Setting “package_list” parameter in the online booking shortcode sometimes wasn’t working properly – fixed


  • Fixed default country for contact forms used during online booking


  • Add localised country list (in contact forms) when the WordPress language is set to Swedish
  • Fix default country for contact forms when the WordPress language is set to one of the following: Dutch (Belgium), English (Ireland), German (Austria)


  • Fix empty package list after selecting and deselecting a package during online booking


  • Seamless online booking integration: allow dates in the past for “relation extra field”


  • Shortcode documentation: fix wrong example code & clarify option


  • Fix date picker for “extra fields date type” in a contact form


  • Seamless online booking integration: check if a discount is still valid after changing the date


  • Fix potential conflict causing Gutenberg blocks not to load


  • Fix potential conflict causing Gutenberg blocks not to load


  • Seamless online booking integration: when a list of packages to show is given, don’t show all of them after resetting package selection


  • Fix potential conflict causing Gutenberg blocks not to load
  • Simplify clearing the Recras cache
  • Enable multiple package selection in classic (non-Gutenberg) editor


  • Fix max length of various contact form fields


  • A message has been added to online booking when the selected date no longer has available time slots. This can occur when the availability cache is enabled.


  • Allow clearing of non-required radio buttons. Since this adds a button to the list which may require styling, we consider this a breaking change.
  • Required checkboxes now notify you before sending the form
  • Small styling fixes for WP 5.5

Older versions

See the full changelog for older versions.