Pass parameters to CP_APP_HOUR_BOOKING_LIST shortcode

[ad_1]

I am using this plugin as a boat booking service for my community rowing club. I have a list of boats on one page. Clicking the boat name shows the appropriate calendar in a popup to make the booking. Next to each boat name I also have ‘Existing bookings” so users can see the dates and time the boat is already booked.

The :Existing bookings” links to another page containing the shortcode [CP_APP_HOUR_BOOKING_LIST from=”today” calendar=”N”] where N is 1-48. At the moment, I have 48 separate pages – one for each boat with the appropriate calendar number.

I would love to know how (or if it’s even possible) to set the calendar number from the first boat name page by passing a parameter via the “Existing bookings” URL link that can be used by the _BOOKING_LIST shortcode. For example… https://myrowingclub/booking-list?calendar=31 that will set he shortcode calendar number to list the bookings for calendar 31. Or is there another way?

Thanks for any assistance

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer