Difference between revisions of "WordPress integration"

From SimplyBook.me
Line 95: Line 95:
  
 
[[File:Wp widget new.png| center]]
 
[[File:Wp widget new.png| center]]
 +
<br><br>
 +
=How to translate WordPress plugin to your language=
 +
<br><br>
 +
:1) download plugin zip file from https://wordpress.org/plugins/simplybookme-online-appointment-scheduling-widget-and-booking-system/
 +
:2) uncompress this file
 +
:3) go to "/langs" folder
 +
:4) copy simplybook_me-en_US.po file with name "simplybook_me-sl_SL.po"
 +
:5) download PoEdit (program) https://poedit.net/ (Free)
 +
:6) open simplybook_me-sl_SL.po with PoEdit
 +
:7) save and update zip file with your translation file.
 +
:8) go to your WordPress dashboard, Plugins page ans click on "Add new" at the top, then choose "Upload Plugin" and upload your zip file there.<br>
 +
If it does not work you need to apply translations via FTP - for this please contact your web developer.
 
<br><br>
 
<br><br>

Revision as of 08:43, 23 October 2017

With the help of our Wordpress plugin

N.B Wordpress SimplyBook.me plugin may not work with some custom themes of Worpress and some specific plugins. If you installed the plugin and all the data is correct but the page does not show up, please try inserting widget (option #2)

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.


Website1.png



3. Enable API Custom Feature in the Custom Featuress section of SimplyBook.me admin page in the section "For developers" by pressing green button "enable near it.
Api enable.png



After you enabled the Custom Features, please press "settings",


Api settings.png



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


Apikeys.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, please contact our support and we will try to help you.


if you receive the message that Fatal error occurred when installing the plugin most likely you will need to update your PHP version, the preferable version is 5.3 and higher.

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.

Bookingwidgetsetting.png





New iframe code.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 add code new3.png



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

Wp widget new.png



How to translate WordPress plugin to your language



1) download plugin zip file from https://wordpress.org/plugins/simplybookme-online-appointment-scheduling-widget-and-booking-system/
2) uncompress this file
3) go to "/langs" folder
4) copy simplybook_me-en_US.po file with name "simplybook_me-sl_SL.po"
5) download PoEdit (program) https://poedit.net/ (Free)
6) open simplybook_me-sl_SL.po with PoEdit
7) save and update zip file with your translation file.
8) go to your WordPress dashboard, Plugins page ans click on "Add new" at the top, then choose "Upload Plugin" and upload your zip file there.

If it does not work you need to apply translations via FTP - for this please contact your web developer.