peopleSelection=0 not working in WP

Post here if you cannot find a better category
anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

peopleSelection=0 not working in WP

Post by anzejl » Fri Sep 15, 2017 4:02 pm

Hi
I have been trying to set up wordpress booking strip with only arriving date and departure date.
I have tried to use peopleSelection=0, but WP always shows "Guests" field.
When I see the booking strip in www.beds24.com it looks good without "Guests" field, but when I move the WP shortcode to Worpdress, I get 2 date fields and "Guests" field. It is like peopleSelection=0 is not working in Wordpress.

annettemorgenroth
Posts: 927
Joined: Sun Jun 30, 2013 8:44 am

Re: peopleSelection=0 not working in WP

Post by annettemorgenroth » Sat Sep 16, 2017 7:10 am

Are you asking about a booking widget or the embedded booking page?

1. Booking widget:
You can generate the short code in SETTINGS->BOOKING PAGE->BOOKING WIDGETS. If you do no want to show the number of guests set "People selection" = None

2. Embedded Iframe:
The selector strip will not ask for the number of guests if you set "Collect Number of Guests " = No for all rooms in SETTINGS->PROPERTIES->ROOMS->SETUP.

anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

Re: peopleSelection=0 not working in WP

Post by anzejl » Mon Sep 18, 2017 9:20 am

The booking strip in WP always shows people selection field, even if peopleSelection=0 is used.
For example following code on beds24.com shows 2 date fields and one Book button:
[bookwidget propid=39142 formAction='https://www.beds24.com/booking.php' formTarget='' peopleSelection=0 widgetLang='en' widgetType='BookingStrip']
But in Wordpress it shows 2 date fields, GUEST FIELD and Book button?!?

annettemorgenroth
Posts: 927
Joined: Sun Jun 30, 2013 8:44 am

Re: peopleSelection=0 not working in WP

Post by annettemorgenroth » Mon Sep 18, 2017 9:25 am

Can you please give a link to your web site so we can see what you are referring to?

anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

Re: peopleSelection=0 not working in WP

Post by anzejl » Mon Sep 18, 2017 10:35 am

Just a testing site: http://ljubljana-airport-hotel.com
You can see booking strip on the bottom of first screen (not page).
It includes 3 fields. It should include only 2 fields (dates) as shown on beds24.com page, where the shortcode was produced.

annettemorgenroth
Posts: 927
Joined: Sun Jun 30, 2013 8:44 am

Re: peopleSelection=0 not working in WP

Post by annettemorgenroth » Mon Sep 18, 2017 11:38 am

I assume you mean this:

Image

You can generate the short code for a booking strip with out the number of guests in in SETTINGS->BOOKING PAGE->BOOKING WIDGETS. If you do no want to show the number of guests set "People selection" = None

anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

Re: peopleSelection=0 not working in WP

Post by anzejl » Mon Sep 18, 2017 4:30 pm

Dear Annete
I am trying to tell you "peopleSelection=0" is not working.
I have already selected "People selection"=None and it shows correctly in the Sample preview but it is not showing on WP (where I copied the shortcode).
I have inputted into WP shortcode as written before:
[bookwidget propid=39142 formAction='https://www.beds24.com/booking.php' formTarget='' peopleSelection=0 widgetLang='en' widgetType='BookingStrip']
It contains also peopleSelection=0, as you can see above.
But the result you can also see on the web page mentioned below-it shows people selection field.

Please see attached picture for easy understanding.
beds24 people.png
Expected and obtained result
beds24 people.png (16.56 KiB) Viewed 1990 times

annettemorgenroth
Posts: 927
Joined: Sun Jun 30, 2013 8:44 am

Re: peopleSelection=0 not working in WP

Post by annettemorgenroth » Mon Sep 18, 2017 5:13 pm

If you want to change the short code you are using you use

peopleSelection=0

If you can not fix it I recommend you create a new widget in the Beds24 control panel (not on Wordpress). This is how you do it:

1. In your Beds24 control panel to SETTINGS->BOOKING PAGE->BOOKING WIDGETS

2. In the widget designer set "People selection" = None

3. Click on "Get Short Code"

4. Copy the short code

5. Go to your Wordpress site, remove the short code you are currently using and replace it with the new short code

anzejl
Posts: 6
Joined: Fri Sep 15, 2017 3:48 pm

Re: peopleSelection=0 not working in WP

Post by anzejl » Tue Sep 19, 2017 2:46 am

Have done according your instructions (from beginning). Actually this is the only way I know how to generate WP shortcode.
Please check printscreen of beds24.com, where WP code is taken and copied to WP and producing not expected results.

Do you have any other suggestion?
beds24screenshot.png
beds24screenshot.png (98.1 KiB) Viewed 1986 times

annettemorgenroth
Posts: 927
Joined: Sun Jun 30, 2013 8:44 am

Re: peopleSelection=0 not working in WP

Post by annettemorgenroth » Thu Sep 21, 2017 2:30 pm

Can you please give us a link to your Wordpress site where you have added the widget?

Post Reply