Difference between revisions of "WordPress integration"

From SimplyBook.me
Line 64: Line 64:
  
 
;Error while setting up the widget.
 
;Error while setting up the widget.
If you got the error "''Seems the method cannot be found on your server. Possible reasons may include: PHP option 'allow_url_fopen' is not enabled, PHP CURL is not enabled. Please ask your hoster for support regarding absence of required methods.''" Please check if your PHP has the necessary methods (allow_url_fopen and  PHP CURL) on. To check this, you can install [https://wordpress.org/plugins/php-settings/ PHP Settings plugin]. After you have checked and the necessary methods are off, please contact your hosting provider and request activating them. If those methods are on, there may be another reason that prevents simplybook plugin from displaying on your page.  
+
If you got the error "''Seems the method cannot be found on your server. Possible reasons may include: PHP option 'allow_url_fopen' is not enabled, PHP CURL is not enabled. Please ask your hoster for support regarding absence of required methods.''"  
 +
* Please check if your PHP has the necessary methods (allow_url_fopen and  PHP CURL) on.  
 +
* To check this, you can install [https://wordpress.org/plugins/php-settings/ PHP Settings plugin].  
 +
*After you have checked and the necessary methods are Off, please contact your hosting provider and request activating them.  
 +
*If those methods are On, there may be another reason that prevents [https://simplybook.me/ SimplyBook.me] plugin from displaying on your page.  
  
 
===2. As a '''Widget''':===
 
===2. As a '''Widget''':===

Revision as of 11:45, 28 June 2016

1. With the help of our Wordpress plugin

Installation
1. Search for Simplybook WordPress plugin in the list of plugins of WP catalogue and add it to your website (it is called Online Appointment Scheduling Widget and Booking System).
Wp plugin search.png


2. If you don't have account with us yet, please register on SimplyBook.me (you can register here), or visit our website and press big button “Get Free Account”). If you already have account, please log into it.


Get free account.png


3. Enable API plugin in the plugin section of SimplyBook.me admin page in the section "For developers" by pressing green button "enable near it.
Enable api plugin.png


After you enabled the plugin, please press "settings",


Api plugin settings.png


there you will see 2 keys: Api public key (API Key) and API secret key.


Api plugin keys.png


4. Insert those keys into the settings of Simplybook plugin in your WordPress account.
5. Insert your company login (the one in url of your admin page, e.g in the link https://image.secure.simplybook.me/, image is company name )


Wp plugin settings.png


6. In your WordPress admin site navigate to "Pages" and create a new page specifically for bookings (you can also add it to already existing page if you wish, the process is the same). Then, paste '[simplybook]' tag in that page.


Shortcode in wp admin.png
7. Example of WordPress plugin (may look different depending on your WP theme and SimplyBook.me settings). You can also use CSS option in the settings of SimplyBook WP plugin to adjust the look of the plugin to the design of your website.

Select location

Example wp plugin.png

Select service

Example wp plugin choose service.png

Select date and time

Example wp plugin select time and date.png

Fill in the details

Example wp plugin details.png
Error while setting up the widget.

If you got the error "Seems the method cannot be found on your server. Possible reasons may include: PHP option 'allow_url_fopen' is not enabled, PHP CURL is not enabled. Please ask your hoster for support regarding absence of required methods."

  • Please check if your PHP has the necessary methods (allow_url_fopen and PHP CURL) on.
  • To check this, you can install PHP Settings plugin.
  • After you have checked and the necessary methods are Off, please contact your hosting provider and request activating them.
  • If those methods are On, there may be another reason that prevents SimplyBook.me plugin from displaying on your page.

2. As a Widget:

Please copy the code from Settings//Bookings on Webpage or Facebook//Booking widget for your own website//Save settings and Get code.

Widget integration for your own website.png


Widget settings 2.png


Widget code 3.png

Then, insert the iFrame code to the page you want to show the widget on in WordPress admin page//Pages//Add new or edit existing one//paste the code and press "publish/update".


Wp iframe.png


Example' (may look different depending on your WP theme and SimplyBook.me theme and settings)

Wp iframe example.png