PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / core / class / welcome_current.php

welcome_current.php in Booking Calendar 11.9, at core/class/welcome_current.php

1,700 lines 119.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( !defined( 'ABSPATH' ) ) exit;
5
6 /**
7 * Render Booking Calendar 11.9 What's New content.
8 *
9 * @param object $obj Welcome-page renderer and image loader.
10 *
11 * @return void
12 */
13 function wpbc_welcome_section_11_9( $obj ) {
14
15 $section_parameters = array( 'version_num' => '11.9', 'show_expand' => false );
16 $obj->expand_section_start( $section_parameters );
17 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
18 ?>
19 <div class="wpbc_wn_container">
20 <div class="wpbc_wn_section" style="gap: 10px 32px;">
21 <h2><?php echo ( 'A Simpler Setup Wizard for Every Booking Journey' ); ?></h2>
22 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
23 <img
24 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__setup_wizard_customer_journeys_placeholder_2.png' ) ); ?>"
25 alt="<?php echo esc_attr( 'Booking Calendar Setup Wizard showing customer journey choices and the guided setup steps' ); ?>"
26 style="margin:10px 0;width:98%;"
27 />
28 </div>
29 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
30 <p><?php echo ( 'The redesigned Setup Wizard starts with one practical question: how should customers book? After you choose the answer, it presents only the settings needed for that booking flow instead of asking you to configure every Booking Calendar option.' ); ?></p>
31 <ul>
32 <li><strong><?php echo ( 'Begin with the right next step.' ); ?></strong> <?php echo ( 'A first activation from Plugins opens Setup Wizard directly, while a manual update opens What\'s New after the update without interrupting automatic, command-line, or managed live-demo maintenance.' ); ?></li>
33 <li><strong><?php echo ( 'Follow a focused path.' ); ?></strong> <?php echo ( 'The wizard guides you through the matching Date Selection, Booking Resources or Services, time choices, availability, Booking Form, appearance, publishing, and review steps.' ); ?></li>
34 <li><strong><?php echo ( 'Start from the right defaults.' ); ?></strong> <?php echo ( 'Journey-aware recommendations select compatible date behavior and Booking Form templates. Multi-date time journeys also configure their Start and End Times, with Working Hours available only when you want that extra restriction.' ); ?></li>
35 <li><strong><?php echo ( 'Publish and test the result clearly.' ); ?></strong> <?php echo ( 'Non-guided journeys start with a direct Booking Form page, Review links to the published page, and the testing window places your configured page before separate starter examples.' ); ?></li>
36 <li><strong><?php echo ( 'Save as you go.' ); ?></strong> <?php echo ( 'Each step saves its settings, unfinished setup can resume later, and the final Setup overview provides clear links for testing, publishing, and future changes.' ); ?></li>
37 </ul>
38 <h3><?php echo ( 'Choose the customer journey that matches your business' ); ?></h3>
39 <div style="display:flex;flex-wrap:wrap;gap:18px;">
40 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
41 <img
42 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_single_full_day_placeholder.png' ) ); ?>"
43 width="420"
44 height="236"
45 loading="lazy"
46 alt="<?php echo esc_attr( 'Calendar with one complete date selected for a Single full day booking' ); ?>"
47 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
48 />
49 <h4><?php echo ( 'Single full day' ); ?></h4>
50 <p><?php echo ( 'Customers reserve one complete date without choosing a time.' ); ?></p>
51 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'One-day rentals, events and daily reservations.' ); ?></p>
52 </div>
53 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
54 <img
55 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_multiple_independent_full_days_placeholder.png' ) ); ?>"
56 width="420"
57 height="236"
58 loading="lazy"
59 alt="<?php echo esc_attr( 'Calendar with several separate dates selected for a Multiple independent full days booking' ); ?>"
60 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
61 />
62 <h4><?php echo ( 'Multiple independent full days' ); ?></h4>
63 <p><?php echo ( 'Customers select several separate full dates in one booking.' ); ?></p>
64 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Bookings that cover several non-consecutive days.' ); ?></p>
65 </div>
66 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
67 <img
68 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_flexible_date_range_placeholder.png' ) ); ?>"
69 width="420"
70 height="236"
71 loading="lazy"
72 alt="<?php echo esc_attr( 'Calendar with the first and last date selected for a Flexible date range booking' ); ?>"
73 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
74 />
75 <h4><?php echo ( 'Flexible date range' ); ?></h4>
76 <p><?php echo ( 'Customers choose the first and last date of a variable-length booking.' ); ?></p>
77 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Stays and rentals whose length varies by booking.' ); ?></p>
78 </div>
79 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
80 <img
81 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_fixed_length_date_range_placeholder.png' ) ); ?>"
82 width="420"
83 height="236"
84 loading="lazy"
85 alt="<?php echo esc_attr( 'Calendar with an automatically selected Fixed-length date range' ); ?>"
86 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
87 />
88 <h4><?php echo ( 'Fixed-length date range' ); ?></h4>
89 <p><?php echo ( 'Customers choose a start date and the configured range is selected automatically.' ); ?></p>
90 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Weekend, multi-day and weekly packages.' ); ?></p>
91 </div>
92 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
93 <img
94 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_check_in_out_changeover_placeholder.png' ) ); ?>"
95 width="420"
96 height="236"
97 loading="lazy"
98 alt="<?php echo esc_attr( 'Calendar showing arrival and departure boundaries for a Check-in and check-out changeover booking' ); ?>"
99 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
100 />
101 <h4><?php echo ( 'Check-in & check-out changeover' ); ?></h4>
102 <p><?php echo ( 'Customers choose arrival and departure dates with changeover boundaries.' ); ?></p>
103 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Accommodation and rentals with arrival and departure times.' ); ?></p>
104 </div>
105 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
106 <img
107 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_fixed_time_slots_placeholder.png' ) ); ?>"
108 width="420"
109 height="236"
110 loading="lazy"
111 alt="<?php echo esc_attr( 'Calendar and predefined appointment choices for a Fixed time slots booking' ); ?>"
112 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
113 />
114 <h4><?php echo ( 'Fixed time slots' ); ?></h4>
115 <p><?php echo ( 'Customers select one predefined available time slot.' ); ?></p>
116 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Classes, consultations and fixed timetables.' ); ?></p>
117 </div>
118 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
119 <img
120 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_start_end_time_placeholder.png' ) ); ?>"
121 width="420"
122 height="236"
123 loading="lazy"
124 alt="<?php echo esc_attr( 'Calendar with separate start and end choices for a Start and end time booking' ); ?>"
125 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
126 />
127 <h4><?php echo ( 'Start & end time' ); ?></h4>
128 <p><?php echo ( 'Customers choose both ends of a flexible appointment time range.' ); ?></p>
129 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Flexible appointments, equipment use and variable-duration work.' ); ?></p>
130 </div>
131 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
132 <img
133 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_start_time_duration_placeholder.png' ) ); ?>"
134 width="420"
135 height="236"
136 loading="lazy"
137 alt="<?php echo esc_attr( 'Calendar with start-time and duration choices for a Start time and duration booking' ); ?>"
138 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
139 />
140 <h4><?php echo ( 'Start time + duration' ); ?></h4>
141 <p><?php echo ( 'Customers choose a start time and one of the available durations.' ); ?></p>
142 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Appointments offered in standard duration choices.' ); ?></p>
143 </div>
144 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
145 <img
146 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_repeated_time_multiple_dates_placeholder.png' ) ); ?>"
147 width="420"
148 height="236"
149 loading="lazy"
150 alt="<?php echo esc_attr( 'Calendar with multiple dates sharing one selected time for a repeated-time booking' ); ?>"
151 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
152 />
153 <h4><?php echo ( 'Repeat one time on multiple dates' ); ?></h4>
154 <p><?php echo ( 'Customers select several dates and use the same time on every selected date.' ); ?></p>
155 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Recurring sessions submitted together for the same daily time.' ); ?></p>
156 </div>
157 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
158 <img
159 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_first_date_start_last_date_end_placeholder.png' ) ); ?>"
160 width="420"
161 height="236"
162 loading="lazy"
163 alt="<?php echo esc_attr( 'Multi-day calendar with a start time on the first date and an end time on the last date' ); ?>"
164 style="display:block;margin:0 auto 12px;width:100%;max-width:300px;height:auto;"
165 />
166 <h4><?php echo ( 'First-date start & last-date end' ); ?></h4>
167 <p><?php echo ( 'Customers choose a start on the first date and an end on the last date.' ); ?></p>
168 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Multi-day bookings with different arrival and departure times.' ); ?></p>
169 </div>
170 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;">
171 <img
172 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__journey_guided_appointment_flow_placeholder.png' ) ); ?>"
173 width="420"
174 height="236"
175 loading="lazy"
176 alt="<?php echo esc_attr( 'Guided appointment sequence showing Service, Provider, Date, Time, and Details steps' ); ?>"
177 style="display:block;margin:0 0 12px;width:100%;max-width:300px;height:auto;"
178 />
179 <h4><?php echo ( 'Guided appointment flow' ); ?></h4>
180 <p><?php echo ( 'Customers choose a Service, Provider and available start time step by step.' ); ?></p>
181 <p><strong><?php echo ( 'Best for:' ); ?></strong> <?php echo ( 'Businesses with several Services or Providers.' ); ?></p>
182 </div>
183 <div class="wpbc_wn_col" style="flex:1 1 28%;min-width:240px;margin:0;padding:12px;"></div>
184 </div>
185 </div>
186 </div>
187 <div class="wpbc_wn_section" style="gap: 10px 50px;">
188 <h2><?php echo( 'Select the Date Range You Point To' ); ?></h2>
189 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
190 <img
191 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__range_selection_pointer_period_placeholder.gif' ) ); ?>"
192 width="1600"
193 height="900"
194 loading="lazy"
195 alt="<?php echo esc_attr( 'Booking calendar highlighting the valid date range that contains the pointed date' ); ?>"
196 style="margin:10px 0;width:98%;height:auto;"
197 />
198 </div>
199 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
200 <ul>
201 <li><strong><?php echo( 'Keep hover and click together.' ); ?></strong> <?php echo( 'Fixed and Dynamic range selection now previews and selects the same valid period containing the date a visitor points to.' ); ?></li>
202 <li><strong><?php echo( 'Preserve the visitor\'s choice.' ); ?></strong> <?php echo( 'Invalid end dates leave the first Dynamic-range click in place, while conditional Season, weekday, and exact-date rules use the actual range start.' ); ?></li>
203 <li><span><?php echo( 'Available in the Booking Calendar Business Medium or igher versions' ); ?></span> <?php ?></li>
204 </ul>
205 </div>
206 </div>
207 <div class="wpbc_wn_section" style="gap: 10px 50px;">
208 <h2><?php echo ( 'Prevent Unbookable Date Gaps' ); ?></h2>
209 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
210 <p><strong><?php echo ( 'Before' ); ?></strong></p>
211 <img
212 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__unbookable_date_gaps_before_placeholder.png' ) ); ?>"
213 alt="<?php echo esc_attr( 'Booking calendar before enabling Unbookable date gaps, with a short bounded opening still shown as selectable' ); ?>"
214 style="margin:10px 0;width:98%;"
215 />
216 </div>
217 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
218 <p><strong><?php echo ( 'After' ); ?></strong></p>
219 <img
220 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__unbookable_date_gaps_after_placeholder.png' ) ); ?>"
221 alt="<?php echo esc_attr( 'Booking calendar after enabling Unbookable date gaps, with the same impossible opening shown as unavailable' ); ?>"
222 style="margin:10px 0;width:98%;"
223 />
224 </div>
225 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
226 <ul>
227 <li><strong><?php echo ( 'Stop visitors at impossible openings.' ); ?></strong> <?php echo ( 'Business Small and higher editions can optionally show a bounded opening as unavailable when no configured fixed or dynamic date range can fit.' ); ?></li>
228 <li><strong><?php echo ( 'Follow the active booking rules.' ); ?></strong> <?php echo ( 'The calendar respects permitted range lengths, start weekdays, conditional date and Season rules, changeovers, pending dates, and Resource capacity before marking the opening unavailable.' ); ?></li>
229 </ul>
230 </div>
231 </div>
232 <div class="wpbc_wn_section" style="gap: 10px 50px;">
233 <h2><?php echo ( 'Manage Split Working Time' ); ?></h2>
234 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
235 <img
236 src="<?php echo esc_attr( $obj->section_img_url( '11.9/wp_booking_calendar__schedule_rules_multi_interval_placeholder.png' ) ); ?>"
237 alt="<?php echo esc_attr( 'Schedule and Rules Working Time editor showing two non-overlapping intervals for one weekday with Add interval and remove actions' ); ?>"
238 style="margin:10px 0;width:98%;"
239 />
240 </div>
241 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
242 <ul>
243 <li><strong><?php echo ( 'Keep breaks in the normal week.' ); ?></strong> <?php echo ( 'Add several non-overlapping Working Time intervals to a weekday so gaps such as lunch remain unavailable.' ); ?></li>
244 <li><strong><?php echo ( 'Use the same schedule everywhere.' ); ?></strong> <?php echo ( 'Schedule & Rules reads and saves default and Resource-specific intervals used by the Setup Wizard and appointment availability.' ); ?></li>
245 </ul>
246 </div>
247 </div>
248 <div class="wpbc_wn_section" style="gap: 10px 50px;">
249 <h2><?php echo ( 'New Appointment Services Booking Flow' ); ?></h2>
250 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
251 <img
252 src="<?php echo esc_attr( $obj->section_img_url( '11.9/appointments_services_flow_02.png' ) ); ?>"
253 alt="<?php echo esc_attr( 'Appointment Services booking form with a live selection summary, calendar, duration, and start-time choices' ); ?>"
254 style="margin:10px 0;width:98%;"
255 />
256 </div>
257 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
258 <ul>
259 <li><strong><?php echo ( 'See the appointment before continuing.' ); ?></strong> <?php echo ( 'Visitors choose a Service duration, date, and start time while a live summary shows the selected date, start, and end time.' ); ?></li>
260 <li><strong><?php echo ( 'Finish in a focused second step.' ); ?></strong> <?php echo ( 'Customer details, Terms agreement, Back, and Book appointment actions stay together on one responsive page.' ); ?></li>
261 <li><strong><?php echo ( 'Keep existing forms unchanged.' ); ?></strong> <?php echo ( 'The new flow is used for newly created Appointment Services forms without replacing existing forms or their templates.' ); ?></li>
262 </ul>
263 </div>
264 </div>
265
266
267
268
269
270
271 <div class="wpbc_wn_section" style="gap: 10px 50px;">
272 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
273 <div class="wpbc_wn_section" style="gap: 10px 50px;">
274 <h2><?php echo ( 'Add a Country List Visually' ); ?></h2>
275 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
276 <ul>
277 <li><strong><?php echo ( 'Add a ready-made country selector.' ); ?></strong> <?php echo ( 'Drag the Country List field into a visual booking form, then configure its label, help text, and validated default country.' ); ?></li>
278 <li><strong><?php echo ( 'Keep form output synchronized.' ); ?></strong> <?php echo ( 'Saving generates the supported Country shortcode in Advanced Mode and its matching Booking Data token.' ); ?></li>
279 </ul>
280 </div>
281 </div>
282 </div>
283 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
284 <div class="wpbc_wn_section" style="gap: 10px 50px;">
285 <h2><?php echo ( 'Add Discount Coupons Visually' ); ?></h2>
286 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
287 <ul>
288 <li><strong><?php echo ( 'Add the coupon input without editing code.' ); ?></strong> <?php echo ( 'Business Large and higher editions can drag one Discount Coupon field into a visual booking form and configure its content and appearance.' ); ?></li>
289 <li><strong><?php echo ( 'See edition requirements clearly.' ); ?></strong> <?php echo ( 'Lower editions show an upgrade badge and explanation without publishing an unsupported coupon input.' ); ?></li>
290 <li><strong><?php echo ( 'Keep form output synchronized.' ); ?></strong> <?php echo ( 'Saving generates the Coupon shortcode in Advanced Mode and its matching Booking Data token.' ); ?></li>
291 </ul>
292 </div>
293 </div>
294 </div>
295 </div>
296
297 </div>
298 <?php
299 $obj->expand_section_end( $section_parameters );
300 }
301
302 /**
303 * Render Booking Calendar 11.8.1 What's New content.
304 *
305 * @param object $obj Welcome-page renderer and image loader.
306 *
307 * @return void
308 */
309 function wpbc_welcome_section_11_8_1( $obj ) {
310
311 $section_parameters = array( 'version_num' => '11.8.1', 'show_expand' => true );
312 $obj->expand_section_start( $section_parameters );
313 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
314 ?>
315
316
317 <div class="wpbc_wn_container">
318
319 <div class="wpbc_wn_section" style="gap: 10px 50px;">
320 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
321 <div class="wpbc_wn_section" style="gap: 10px 50px;">
322 <h2><?php echo( 'Clearer First-Run Setup' ); ?></h2>
323 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
324 <img
325 src="<?php echo esc_attr( $obj->section_img_url( '11.8.1/wp_booking_calendar__first_run_starter_pages_prompt_placeholder.png' ) ); ?>"
326 alt="<?php echo esc_attr( 'First-run starter booking pages invitation with public-page links' ); ?>"
327 style="margin:10px 0;width:98%;"
328 />
329 </div>
330 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
331 <ul>
332 <li><strong><?php echo( 'Choose Setup when you are ready.' ); ?></strong> <?php echo( 'New installations show one focused invitation on Booking Listing. Start guided Setup immediately or postpone it; either choice is remembered.' ); ?></li>
333 <li><strong><?php echo( 'Test the visitor experience immediately.' ); ?></strong> <?php echo( 'A second one-time window shows complete previews and links to valid published starter pages, including the resource-first Resource Selection workflow. Automatic dismissal is remembered for that administrator and site, while manual reopening remains available from the Booking Listing welcome panel. Live demos also show the welcome section without saving a shared dismissal. The top Booking Calendar menu keeps the public links in a predictable workflow order and places the Home page last.' ); ?></li>
334 </ul>
335 </div>
336 </div>
337 </div>
338 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
339 <div class="wpbc_wn_section" style="gap: 10px 50px;">
340 <h2><?php echo( 'Time-Slot Booking Flow' ); ?></h2>
341 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
342 <img
343 src="<?php echo esc_attr( $obj->section_img_url( '11.8.1/wp_booking_calendar__time-slots-booking-form-2-columns.png' ) ); ?>"
344 alt="<?php echo esc_attr( 'Two-column time-slot booking form with a calendar and live date and time summary' ); ?>"
345 style="margin:10px 0;width:98%;"
346 />
347 </div>
348 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
349 <ul>
350 <li><strong><?php echo( 'Choose date and time together.' ); ?></strong> <?php echo( 'The calendar, time choices, and live Date, Start Time, and End Time summary share one clear first step.' ); ?></li>
351 <li><strong><?php echo( 'Finish details on a focused second step.' ); ?></strong> <?php echo( 'Visitors continue to contact, guest, and Terms fields before sending the booking.' ); ?></li>
352 <li><strong><?php echo( 'Ready to find and reuse.' ); ?></strong> <?php echo( 'When initially added, the Time-Slots template appears first overall and, within Full Days, Two Columns appears before Vertical. Clean installations use the Time-Slots template on their starter page. Updates preserve existing forms, pages, custom URLs, and installed template copies.' ); ?></li>
353 </ul>
354 </div>
355 </div>
356 </div>
357 </div>
358
359
360 </div>
361 <?php
362 $obj->expand_section_end( $section_parameters );
363 }
364
365 /**
366 * Render Booking Calendar 11.8 What's New content.
367 *
368 * Booking Modes and the Full-Day Form Builder template are available in every
369 * edition. Seasonal Availability and the Business Large Searchable Resources
370 * catalog remain protected by their existing feature, edition, and current-user
371 * gates. Image placeholders must be replaced by verified, edition-appropriate
372 * captures before release.
373 *
374 * @param object $obj Welcome-page renderer and image loader.
375 *
376 * @return void
377 */
378 function wpbc_welcome_section_11_8( $obj ) {
379
380 $section_parameters = array( 'version_num' => '11.8', 'show_expand' => true );
381 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
382 $obj->expand_section_start( $section_parameters );
383 ?>
384 <div class="wpbc_wn_container">
385 <div class="wpbc_wn_section" style="gap: 10px 50px;">
386 <h2><?php echo( '2 New Full-Day Booking Form Templates' ); ?></h2>
387
388 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
389 <img
390 src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__form_2_columns_hints_full_days.png' ) ); ?>"
391 alt="<?php echo esc_attr( 'Two-column full-day booking form with a calendar, date summary, and customer details' ); ?>"
392 style="margin:10px 0;width:98%;"
393 />
394 </div>
395 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
396 <ul>
397 <li><strong><?php echo( 'Start with a clear two-column layout.' ); ?></strong> <?php echo( 'Customers select dates in the calendar, then review their Check-in, Check-out, and Days beside the customer details.' ); ?></li>
398 <li><strong><?php echo( 'Vertical full-day layout.' ); ?></strong> <?php echo( 'Vertical full-day booking form with a ability to use a two-month calendar and date summary' ); ?></li>
399 <li><strong><?php echo( 'Designed for full-day bookings.' ); ?></strong> <?php echo( 'Use the live date summary with your saved full-day or changeover settings to make each selection easier to understand.' ); ?></li>
400 <li><strong><?php echo( 'Apply it when you need it.' ); ?></strong> <?php echo( 'The templates are available in Form Builder without replacing existing forms or changing first-install defaults. Confirm its starter Terms links before publishing.' ); ?></li>
401 </ul>
402 </div>
403 </div>
404
405 <div class="wpbc_wn_section" style="gap: 10px 50px;">
406 <h2><?php echo( 'New Seasonal Availability Catalog' ); ?></h2>
407 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
408 <img src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__season_availability_review_placeholder_3.png' ) ); ?>" alt="<?php echo esc_attr( 'Availability listing with Resource names, default-status labels, search and view controls' ); ?>" style="margin:5px 0;width:100%;" />
409 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
410 </div>
411 <div class="wpbc_wn_col" style="flex: 1 1 20%;margin: 0;padding: 0;">
412
413 <ul>
414 <li data-wpbc-availability-feature="overview"><strong><?php echo( 'Availability at a glance.' ); ?></strong> <?php echo( 'Find your Resources in a clear list or Card view. See each Resource’s default availability below its name, search for the one you need, and choose the columns you want to see.' ); ?></li>
415 <li data-wpbc-availability-feature="preview"><strong><?php echo( 'See your seasonal dates clearly.' ); ?></strong> <?php echo( 'Green dates are available and gray dates are unavailable according to your seasonal settings. Hover over a Resource or focus a control in its row to see which Season applies. The preview shows seasonal settings, not existing bookings or remaining capacity.' ); ?></li>
416 </ul>
417 </div>
418 </div>
419 <div class="wpbc_wn_section" style="gap: 10px 50px;">
420 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
421 <ul>
422 <li data-wpbc-availability-feature="bulk"><strong><?php echo( 'Update selected Resources together.' ); ?></strong> <?php echo( 'Select Resources and choose Edit selected to set their default availability, add one Season exception, or remove one Season exception. Other assignments are kept. Review every proposed change before applying; updated Resources are highlighted after a successful save.' ); ?></li>
423 </ul>
424 </div>
425 </div>
426 <div class="wpbc_wn_section" style="gap: 10px 50px;">
427 <div class="wpbc_wn_col" style="flex: 1 1 20%;margin: 0;padding: 0;">
428 <ul>
429 <li data-wpbc-availability-feature="inspector"><strong><?php echo( 'Edit availability without leaving the list.' ); ?></strong> <?php echo( 'Open a Resource in the new sidebar editor. Choose its default, add Season exceptions, turn them on or off, and preview their dates. A plain-language overview explains the result before you review and apply your changes.' ); ?></li>
430 <li data-wpbc-availability-feature="inline"><strong><?php echo( 'Change defaults directly in the list.' ); ?></strong> <?php echo( 'Choose Edit rows to change default availability for several Resources without opening each one. Changed rows are marked so you can check your work, then review the effect on existing Seasons before applying.' ); ?></li>
431 </ul>
432 </div>
433 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
434 <img src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__season_availability__inspector_edit_season_availability_3.png' ) ); ?>" alt="<?php echo esc_attr( 'Seasonal Availability inspector showing default availability, ordered Season exceptions and a selected Season date preview' ); ?>" style="margin:5px 0;width:100%;" />
435 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
436 </div>
437 </div>
438
439
440 <div class="wpbc_wn_section" style="gap: 10px 50px;">
441 <h2><?php echo( 'New Searchable Resources Catalog' ); ?></h2>
442 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
443 <?php // Replace this placeholder with the final 11.8 Searchable Resources Catalog screenshot before release. ?>
444 <img
445 src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__searchable_resources_catalog_placeholder.png' ) ); ?>"
446 alt="<?php echo esc_attr( 'Searchable Resources Catalog with status filters, presentation columns, and Resource editing controls' ); ?>"
447 style="margin:10px 0;width:98%;"
448 />
449 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Large or higher.'; ?></p>
450 </div>
451 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
452 <ul>
453 <li><strong><?php echo( 'Control each search result in one place.' ); ?></strong> <?php echo( 'Open the direct Search Availability > Searchable Resources link, then edit Search visibility, result title, description, image, landing page, and supported criteria from the Inspector or directly in catalog rows. Search form, results, and options each have their own neighboring link.' ); ?></li>
454 <li><strong><?php echo( 'Find the right Resources quickly.' ); ?></strong> <?php echo( 'Switch between All, Searchable, and Not searchable Resources, then use focused table views, compact rows, or image-led Cards.' ); ?></li>
455 <li><strong><?php echo( 'Review changes before saving.' ); ?></strong> <?php echo( 'Stage direct, inline, and selected-Resource updates, review the affected fields, and apply only the changes you approve.' ); ?></li>
456 </ul>
457 </div>
458 </div>
459
460 <div class="wpbc_wn_section" style="gap: 10px 50px;">
461 <h2><?php echo( 'More Reliable Administration Modes' ); ?></h2>
462
463 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
464 <ul>
465 <li><strong><?php echo( 'Choose the view that fits your work.' ); ?></strong> <?php echo( 'Switch between Classic, Appointments, and Rentals while continuing to use the familiar Booking Calendar pages and saved configuration.' ); ?></li>
466 <li><strong><?php echo( 'See the pages available to you.' ); ?></strong> <?php echo( 'Each mode shows the pages provided by your installed edition and add-ons while safely omitting unavailable features.' ); ?></li>
467 </ul>
468 </div>
469 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
470 <ul>
471 <li><strong><?php echo( 'Continue where you were working.' ); ?></strong> <?php echo( 'When possible, switching modes keeps the current Booking Calendar page and section, with a safe destination used when the equivalent page is unavailable.' ); ?></li>
472 <li><strong><?php echo( 'Complete Setup in five steps.' ); ?></strong> <?php echo( 'The streamlined Setup flow now finishes in Form Builder, and the overlapping floating Setup Bar is disabled by default.' ); ?></li>
473 </ul>
474 </div>
475 </div>
476
477 </div>
478 <?php
479 $obj->expand_section_end( $section_parameters );
480 }
481
482 /**
483 * What's New section for Booking Calendar 11.7.
484 *
485 * @param object $obj Welcome-page renderer.
486 *
487 * @return void
488 */
489 function wpbc_welcome_section_11_7( $obj ) {
490
491 $section_param_arr = array( 'version_num' => '11.7', 'show_expand' => true );
492 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
493 $prices_inspector_sections = array(
494 array(
495 'title' => 'Base Cost',
496 'image' => '11.7/wp_booking_calendar__prices_catalog_base_cost_placeholder.png',
497 'alt' => 'Prices inspector showing the Base Cost editor with a decimal amount and synchronized slider',
498 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
499 'purpose' => 'Use Base Cost to define the normal starting price for this Resource before date, duration, deposit, and booking-time adjustments are applied.',
500 'description' => 'Enter an exact Resource price, including decimals, or use the synchronized slider. The inspector also shows the owner currency and charging period that control how the value is understood.',
501 ),
502 array(
503 'title' => 'Seasonal Rates',
504 'image' => '11.7/wp_booking_calendar__prices_catalog_seasonal_rates_placeholder.png',
505 'alt' => 'Prices inspector showing ordered Seasonal Rates with On and Off controls',
506 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
507 'purpose' => 'Use Seasonal Rates when the same Resource should cost more or less on holidays, weekends, high seasons, or other reusable date periods.',
508 'description' => 'Add fixed or percentage Seasonal Rates, switch saved rates On or Off without losing their settings, search authorized Seasons, and control evaluation order with drag or keyboard actions.',
509 ),
510 array(
511 'title' => 'Duration-Based Costs',
512 'image' => '11.7/wp_booking_calendar__prices_catalog_duration_costs_placeholder.png',
513 'alt' => 'Prices inspector showing ordered Duration-Based Cost rules and a separate LAST-day value',
514 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
515 'purpose' => 'Use Duration-Based Costs when the price should change according to how many days a customer books.',
516 'description' => 'Build ordered From, For, Together, and LAST rules with fixed, percentage, or added amounts. Optional Season conditions, synchronized controls, and separate LAST-day previews make each rule easier to understand.',
517 ),
518 array(
519 'title' => 'Partial Payment',
520 'image' => '11.7/wp_booking_calendar__prices_catalog_partial_payment_placeholder.png',
521 'alt' => 'Prices inspector showing a Partial Payment preview with due-now and balance amounts',
522 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
523 'purpose' => 'Use Partial Payment when customers should pay a deposit at booking and the remaining balance later instead of paying the full total immediately.',
524 'description' => 'Configure a percentage or fixed deposit with optional lead-time and Season conditions. The live preview separates the configured value from the amount currently due and shows the remaining balance and calculation basis.',
525 ),
526 array(
527 'title' => 'Early Booking Adjustment',
528 'image' => '11.7/wp_booking_calendar__prices_catalog_early_booking_placeholder.png',
529 'alt' => 'Prices inspector showing an Early Booking discount preview and qualifying date range',
530 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
531 'purpose' => 'Use Early Booking Adjustment to encourage advance reservations by reducing the price when check-in is sufficiently far away.',
532 'description' => 'Offer fixed or percentage reductions for sufficiently early check-ins. The date ruler shows site today, the inclusive threshold, the selected check-in, and whether the authorized Season condition applies.',
533 ),
534 array(
535 'title' => 'Late Booking Adjustment',
536 'image' => '11.7/wp_booking_calendar__prices_catalog_last_minute_placeholder.png',
537 'alt' => 'Prices inspector showing a Last-Minute discount preview and near-term qualifying date range',
538 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
539 'purpose' => 'Use Late Booking Adjustment to help fill near-term availability by reducing the price for check-ins inside a short booking window.',
540 'description' => 'Offer fixed or percentage reductions for near-term check-ins. The preview clearly shows the inverse date range and exclusive boundary, while saving this section leaves Early Booking settings unchanged.',
541 ),
542 );
543
544 $obj->expand_section_start( $section_param_arr );
545 ?>
546 <div class="wpbc_wn_container">
547 <div class="wpbc_wn_section">
548 <h2><?php echo 'A New Prices Catalog'; ?></h2>
549 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
550 <?php // Replace this placeholder with the final 11.7 Prices Catalog screenshot before release. ?>
551 <img
552 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__prices_catalog_overview_placeholder.png' ) ); ?>"
553 alt="<?php echo 'Prices Catalog showing Resource pricing summaries, previews, filters, layouts, and the right-side inspector'; ?>"
554 style="margin:10px 0;width:98%;"
555 />
556 </div>
557 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
558 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
559 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use the Prices Catalog to review and manage all Resource-owned pricing rules from one page instead of opening several separate pricing screens.'; ?></p>
560 <ul>
561 <li><?php echo 'Manage Resource pricing from the familiar Booking Calendar > Prices page with search, filtering, sorting, paging, layouts, customizable columns, and clear pricing previews.'; ?></li>
562 <li><?php echo 'Expand a Resource to open direct links for Base Cost, Seasonal Rates, Duration-Based Costs, Partial Payment, Early Booking, and Last-Minute adjustments, together with owner Pricing context and authorized external settings.'; ?></li>
563 <li><?php echo 'The right-side inspector keeps each pricing area focused, validates current authorized values before saving, and protects changes made by another request.'; ?></li>
564 <li><?php echo 'Need more time before switching? Enable Use legacy catalog pages to temporarily restore the previous Prices listing without migrating or resetting pricing data.'; ?></li>
565 <li><?php echo 'Catalog previews cover Resource-owned pricing. Booking Form option costs, coupons, taxes, payment fees, additional Resources, and other later adjustments can still change the final booking total.'; ?></li>
566 </ul>
567 </div>
568 </div>
569
570 <?php foreach ( $prices_inspector_sections as $prices_inspector_section ) { ?>
571 <div class="wpbc_wn_section">
572 <h2><?php echo esc_html( $prices_inspector_section['title'] ); ?></h2>
573 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
574 <?php // Replace this placeholder with the final 11.7 inspector screenshot before release. ?>
575 <img
576 src="<?php echo esc_attr( $obj->section_img_url( $prices_inspector_section['image'] ) ); ?>"
577 alt="<?php echo esc_attr( $prices_inspector_section['alt'] ); ?>"
578 style="margin:10px 0;width:98%;"
579 />
580 </div>
581 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
582 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo esc_html( $prices_inspector_section['minimum_edition'] ); ?></p>
583 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo esc_html( $prices_inspector_section['purpose'] ); ?></p>
584 <p><?php echo esc_html( $prices_inspector_section['description'] ); ?></p>
585 </div>
586 </div>
587 <?php } ?>
588
589 <div class="wpbc_wn_section">
590 <h2><?php echo 'Clearer Left Sidebar Navigation'; ?></h2>
591 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 10px 0;">
592 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Free. This improvement is available in every edition.'; ?></p>
593 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use the grouped navigation to find administration pages faster and keep the current page visible in long menus.'; ?></p>
594 <ul>
595 <li><?php echo 'The grouped left menu keeps Appointments, Services, Providers, Availability, Pricing, and Settings easier to scan while preserving the familiar WordPress administration area.'; ?></li>
596 <li><?php echo 'Long menus automatically bring the exact current page into view, and the Minimize control now remembers and restores the visible sidebar state reliably.'; ?></li>
597 </ul>
598 </div>
599 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 10px 0;">
600 <?php // Replace this placeholder with the final 11.7 navigation screenshot before release. ?>
601 <img
602 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__left_sidebar_navigation_placeholder.png' ) ); ?>"
603 alt="<?php echo 'Booking Calendar administration showing the grouped left sidebar navigation and selected page'; ?>"
604 style="margin:10px 0;width:98%;"
605 />
606 </div>
607 </div>
608
609 <div class="wpbc_wn_section">
610 <h2><?php echo 'More Improvements in 11.7'; ?></h2>
611 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
612 <?php // Replace these placeholders with the final 11.7 Cost correction screenshots before release. ?>
613 <img
614 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__add_booking_cost_correction_placeholder.png' ) ); ?>"
615 alt="<?php echo 'Add Booking inspector showing the Cost correction number and slider controls'; ?>"
616 style="margin:10px 0;width:98%;"
617 />
618 </div>
619 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
620 <p><strong><?php echo 'Minimum edition for Cost correction:'; ?></strong> <?php echo 'Booking Calendar Business Small or higher.'; ?></p>
621 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use Cost correction when an administrator needs to replace the automatically calculated total for one manually created Booking or Appointment.'; ?></p>
622 <ul>
623 <li><?php echo 'Optionally set an exact final total while adding a Booking or Appointment. Leave the field empty to keep normal automatic pricing.'; ?></li>
624 <li><?php echo 'Applied Cost corrections continue through the established deposit, balance, notification, and cost-note workflow.'; ?></li>
625 <li><?php echo 'All editions: Full Screen preferences now remain consistent between Booking Calendar pages, including WordPress installations in subdirectories.'; ?></li>
626 <li><?php echo 'All editions: Form Builder Select fields now keep Value different from label turned off after saving and continue synchronizing option values with their labels.'; ?></li>
627 <li><?php echo 'Business Medium and higher: Prices Catalog editing keeps Changed indicators compact, and inspector actions retain readable icon spacing in left-to-right and right-to-left layouts.'; ?></li>
628 </ul>
629 </div>
630 </div>
631 </div>
632 <?php
633 $obj->expand_section_end( $section_param_arr );
634 }
635
636 /**
637 * What's New section for Booking Calendar 11.6.
638 *
639 * @param object $obj Welcome-page renderer.
640 *
641 * @return void
642 */
643 function wpbc_welcome_section_11_6( $obj ) {
644 $section_param_arr = array( 'version_num' => '11.6', 'show_expand' => true );
645
646 $obj->expand_section_start( $section_param_arr );
647
648 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
649 ?>
650 <div class="wpbc_wn_container">
651
652 <div class="wpbc_wn_section">
653 <h2><?php echo 'A New Booking Resources Catalog'; ?></h2>
654
655 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
656 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
657 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__booking_resources_catalog_placeholder.png' ) ); ?>" alt="<?php echo 'New Booking Resources catalog'; ?>" style="margin:10px 0;width:98%;" />
658 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, capacity, ...)</div>
659 </div>
660
661 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
662 <ul>
663 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Find and organize Booking Resources faster with **search, filtering, sorting, pagination, saved views, and customizable columns**.' ) ); ?></li>
664 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose the **Default, Compact, or Cards layout** while keeping the same Resource information and management tools.' ) ); ?></li>
665 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Use responsive, keyboard-friendly controls with improved mobile, RTL, wide-table, and shortened-text handling.' ) ); ?></li>
666 </ul>
667 </div>
668 </div>
669
670 <div class="wpbc_wn_section">
671 <h2><?php echo( 'A Native Seasons Catalog' ); ?></h2>
672
673 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
674 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
675 <img
676 src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__seasons_02.png' ) ); ?>"
677 alt="<?php echo( 'Seasons catalog showing reusable date rules and their usage' ); ?>"
678 style="margin:10px 0;width:98%;"
679 />
680 </div>
681
682 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
683 <ul>
684 <li><?php echo( 'Business Medium and higher editions can search, filter, sort, and paginate Seasons in Default, Compact, or Cards layouts with customizable columns and site-local preferences.' ); ?></li>
685 <li><?php echo( 'Create and edit Conditional or Specific-date Seasons in a native right-side inspector with guided controls, color selection, a live twelve-month preview, and the standard Booking Calendar datepicker.' ); ?></li>
686 <li><?php echo( 'Select Seasons and review server-approved safe title changes inline or in bulk before applying them.' ); ?></li>
687 <li><?php echo( 'Review single or bulk deletion impact, follow authorized links to affected configuration, and keep referenced Seasons protected without silently rewriting related settings.' ); ?></li>
688 <li><?php echo( 'Open the reusable Seasons catalog from its dedicated Booking Calendar navigation group between Availability and Pricing; Season Availability remains under Availability, while legacy Season editors remain available through the rollback setting.' ); ?></li>
689 </ul>
690 </div>
691 </div>
692
693 <div class="wpbc_wn_section">
694 <h2><?php echo 'Richer Resource Profiles and Publishing'; ?></h2>
695
696 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
697 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
698 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__resource_profiles_and_publishing_placeholder.png' ) ); ?>" alt="<?php echo 'Booking Resource profile and publishing tools'; ?>" style="margin:10px 0;width:98%;" />
699 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
700 </div>
701
702 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
703 <ul>
704 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Add a recognizable **title, photo, and description** to each Booking Resource.' ) ); ?></li>
705 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Review booking, publishing, pricing, structure, ownership, and availability information without leaving the catalog.' ) ); ?></li>
706 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Free version users can edit and publish the included Booking Resource directly from the catalog.' ) ); ?></li>
707 </ul>
708 </div>
709 </div>
710
711 <div class="wpbc_wn_section">
712 <h2><?php echo 'New Resource Catalog Layouts for Booking Pages'; ?></h2>
713
714 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
715 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
716 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__frontend_resource_catalog_placeholder_01.png' ) ); ?>" alt="<?php echo 'Responsive Booking Resource Catalog layouts'; ?>" style="margin:10px 0;width:98%;" />
717 </div>
718 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
719 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
720 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__frontend_resource_catalog_placeholder_02.png' ) ); ?>" alt="<?php echo 'Responsive Booking Resource Catalog layouts'; ?>" style="margin:10px 0;width:98%;" />
721 </div>
722 <div style="text-align: center;font-style: italic;font-size: 0.9em; margin: 0 auto;">These screenshots demonstrates some features available exclusively in the Pro versions.</div>
723 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
724 <ul>
725 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Transform the **[booking_resource_selector]** shortcode into a visual, searchable **Resource Catalog** for your booking pages.' ) ); ?></li>
726 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose a responsive **Grid or List layout** that adapts to desktop, tablet, and mobile screens.' ) ); ?></li>
727 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Configure Resource images, descriptions, hierarchy, availability, and price summaries to help customers compare their options.' ) ); ?></li>
728 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Customers can search the catalog and select the right Resource before its native booking calendar and form open on the same page.' ) ); ?></li>
729 </ul>
730 </div>
731 </div>
732
733 <div class="wpbc_wn_section">
734 <h2><?php echo 'A More Flexible Services Catalog'; ?></h2>
735
736 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
737 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
738 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__services_catalog_placeholder.png' ) ); ?>" alt="<?php echo 'Services catalog layouts and editing tools'; ?>" style="margin:10px 0;width:98%;" />
739 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
740 </div>
741
742 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
743 <ul>
744 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Manage Services in responsive **Default, Compact, or Cards layouts**, with search, Provider filtering, sorting, and customizable columns.' ) ); ?></li>
745 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Select Services, edit current server-approved fields inline or in reviewed bulk changes, or use the **right-side Service editor** without leaving the catalog.' ) ); ?></li>
746 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Review changes in the same clear **before-and-after cards** used by Booking Resources and Seasons before applying them.' ) ); ?></li>
747 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Permanently delete unreferenced Services through a reviewed impact and confirmation step; protected Services provide authorized links to affected Appointments or saved Appointment pages.' ) ); ?></li>
748 </ul>
749 </div>
750 </div>
751
752 <div class="wpbc_wn_section">
753 <h2><?php echo 'Faster and Safer Resource Management'; ?></h2>
754
755 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
756 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
757 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__resource_management_placeholder.png' ) ); ?>" alt="<?php echo 'Booking Resource editing and review workflow'; ?>" style="margin:10px 0;width:98%;" />
758 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
759 </div>
760
761 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
762 <ul>
763 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Select rows, edit safe fields inline, or use the **right-side Resource editor** while staying in the catalog.' ) ); ?></li>
764 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Paid versions add guided single or batch creation and reviewed bulk changes for the fields available in each edition.' ) ); ?></li>
765 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Preview important changes in consistent **before-and-after cards** before applying them, with server-side permission, ownership, edition, and stale-review checks.' ) ); ?></li>
766 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Reviewed deletion warns about existing bookings, links authorized users to the affected records, and protects parent and child Resource relationships.' ) ); ?></li>
767 </ul>
768 </div>
769 </div>
770
771 <div class="wpbc_wn_section">
772 <h2><?php echo 'Hierarchy and Capacity Tools (Business Large and Higher Editions)'; ?></h2>
773
774 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
775 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
776 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__hierarchy_and_capacity_placeholder_02.png' ) ); ?>" alt="<?php echo 'Booking Resource hierarchy and capacity tools'; ?>" style="margin:10px 0;width:98%;" />
777 </div>
778 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
779 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
780 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__hierarchy_and_capacity_placeholder_03.png' ) ); ?>" alt="<?php echo 'Booking Resource hierarchy and capacity tools'; ?>" style="margin:10px 0;width:98%;" />
781 </div>
782
783 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
784 <ul>
785 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Manage parent and child Booking Resources in expandable groups that stay together while searching, sorting, and changing pages.' ) ); ?></li>
786 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Adjust capacity** by creating inherited child Resources or by reviewing which children become independent or are permanently deleted.' ) ); ?></li>
787 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Capacity now represents the parent calendar and its child Resource calendars instead of the Maximum visitors setting.' ) ); ?></li>
788 </ul>
789 </div>
790 </div>
791 </div>
792 <?php
793 $obj->expand_section_end( $section_param_arr );
794 }
795
796 /**
797 * What's New section for Booking Calendar 11.5.
798 *
799 * @param object $obj Welcome-page renderer.
800 *
801 * @return void
802 */
803 function wpbc_welcome_section_11_5( $obj ) {
804 $section_param_arr = array( 'version_num' => '11.5', 'show_expand' => !false );
805 // Keep empty image slots out of the markup until final 11.5 screenshots are available.
806 $image_urls = array(
807 'appointment_booking' => '',
808 'appointment_admin' => '',
809 'add_booking' => '',
810 'form_appearance' => '',
811 'compatibility' => '',
812 );
813
814 $obj->expand_section_start( $section_param_arr );
815
816 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
817 ?>
818 <div class="wpbc_wn_container">
819
820 <div class="wpbc_wn_section">
821 <h2><?php echo 'Services and the New Appointment Booking Flow'; ?></h2>
822
823 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
824 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__services_and_appointments_2.png' ) ); ?>" style="margin:10px 0;width:98%;" />
825 </div>
826 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
827 <ul>
828 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW Services catalogue**: Create Services with a picture, description, duration, buffers, price, status, Booking Form, and compatible Providers.' ) ); ?></li>
829 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear Provider overview**: Search and sort Services, review assigned Providers and weekly availability, and open the relevant availability settings directly.' ) ); ?></li>
830 </ul>
831 </div>
832
833 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
834 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/booking_calendar__appointment_flow_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
835 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This video demonstrates features available in the Business Small and higher editions, including multiple providers, payments, and booking costs.</div>
836 </div>
837
838 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
839 <ul>
840 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW [booking_appointment] shortcode**: Customers choose a Service and compatible Provider before the native calendar and Booking Form load on the same page with AJAX.' ) ); ?></li>
841 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; A new **Start Over** field in the Booking Form Builder lets customers restart the Appointment flow without reloading the page.' ) ); ?></li>
842 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; A new **Appointments and Services Flow** template and **Weekday Start Time** field provide an Appointment-ready Form Builder starting point.' ) ); ?></li>
843 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Reliable scheduling**: Service duration, buffers, and Provider-specific overrides are checked on the server before an Appointment is saved.' ) ); ?></li>
844 </ul>
845 </div>
846 </div>
847
848 <div class="wpbc_wn_section">
849 <h2><?php echo 'Administration Modes and QuickStart'; ?></h2>
850
851 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
852 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__booking_modes_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
853 </div>
854
855 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
856
857 <ul>
858 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose **Classic**, **Appointments**, or **Rentals** to use familiar terminology and focused navigation without changing existing bookings, resources, availability, or page URLs.' ) ); ?></li>
859 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Mode selection is stored for the active Booking Calendar owner, including supported MultiUser owner contexts.' ) ); ?></li>
860 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Explicit **Appointment QuickStart** and **Rental QuickStart** actions can reuse or prepare the minimum booking page setup and remain safe to run again.' ) ); ?></li>
861 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The **mode-aware Setup Wizard** follows the selected booking profile through the relevant Service, Provider, form, availability, appearance, publish, and test-page steps.' ) ); ?></li>
862 </ul>
863 </div>
864 </div>
865
866 <div class="wpbc_wn_section">
867 <h2><?php echo 'Resource-first Booking Flow'; ?> ( Pro Versions)</h2>
868
869 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
870 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__resources_selector_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
871 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This video demonstrates features available in the Pro versions, including payments, and booking costs in BS+ versions.</div>
872 </div>
873
874 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
875 <ul>
876 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The new **[booking_resource_selector] shortcode** lets visitors choose a permitted Booking Resource before its native calendar and Booking Form load on the same page.' ) ); ?></li>
877 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Restrict, preselect, or optionally auto-open Resources from the shortcode popup or WordPress block, while retaining Start Over and the established availability, pricing, payment, and booking engines.' ) ); ?></li>
878 </ul>
879 </div>
880 </div>
881
882 <div class="wpbc_wn_section" style="gap:1%">
883 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
884 <h3><?php echo 'Appointment Administration'; ?></h3>
885
886 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
887 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__appointment_administration_3.png' ) ); ?>" style="margin:10px 0;width:98%;" />
888 </div>
889
890 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
891 <?php if ( ! empty( $image_urls['appointment_admin'] ) ) { ?>
892 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
893 <img src="<?php echo esc_url( $image_urls['appointment_admin'] ); ?>" alt="<?php echo 'Appointment administration'; ?>" style="margin:10px 0;width:98%;" />
894 <?php } ?>
895 </div>
896
897 <ul>
898 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW Add Appointment page**: Create an Appointment through the same Service-first flow from a focused admin canvas with contextual inspector panels.' ) ); ?></li>
899 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Filter the Booking Listing by **Services and Providers** using reusable searchable multi-select controls.' ) ); ?></li>
900 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Appointment details, Service and Provider snapshots, duration, buffers, and blocked time are available in administration details and supported outputs.' ) ); ?></li>
901 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Providers remain existing **Booking Resources**, preserving established availability, permissions, and ownership behavior.' ) ); ?></li>
902 </ul>
903 </div>
904
905 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
906 <h3><?php echo 'Redesigned Add Booking Page'; ?></h3>
907
908 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
909 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__add_booking_page_3.png' ) ); ?>" style="margin:10px 0;width:98%;" />
910 </div>
911
912 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
913 <?php if ( ! empty( $image_urls['add_booking'] ) ) { ?>
914 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
915 <img src="<?php echo esc_url( $image_urls['add_booking'] ); ?>" alt="<?php echo 'Redesigned Add Booking administration page'; ?>" style="margin:10px 0;width:98%;" />
916 <?php } ?>
917 </div>
918
919 <ul>
920 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Focused booking canvas**: The standard Booking Form remains in the main workspace while setup and actions move into a consistent right-side inspector.' ) ); ?></li>
921 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Important actions stay visible**: Add Booking and Auto-fill Form are placed together with a concise summary of the selected Booking Resource, Booking Form, email notifications, and past-date behavior.' ) ); ?></li>
922 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Temporary Date selection override**: Administrators can switch between Single day, Multiple days, and Range days immediately without reloading the page or changing saved front-end settings.' ) ); ?></li>
923 </ul>
924
925 </div>
926 </div>
927
928 <div class="wpbc_wn_section">
929
930 <h2><?php echo 'Consistent Form Styles and Accent Colors'; ?></h2>
931
932 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
933 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__theme_and_accent_colors_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
934 </div>
935
936 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
937 <?php if ( ! empty( $image_urls['form_appearance'] ) ) { ?>
938 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
939 <img src="<?php echo esc_url( $image_urls['form_appearance'] ); ?>" alt="<?php echo 'Form Styles and accent colors'; ?>" style="margin:10px 0;width:98%;" />
940 <?php } ?>
941 </div>
942 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
943 <ul>
944 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose an optional **Custom accent color** for primary buttons, secondary-button hover borders, focused fields, selected choices, navigation, and compatible time slots.' ) ); ?></li>
945 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Use **Apply accent to form elements** to copy the accent into supported editable components, with global time-picker display and style controls available in Time field inspectors.' ) ); ?></li>
946 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The new **Automatic - Match Booking Form** time-slot style follows the selected Form Style while existing time-picker skins keep their own colors.' ) ); ?></li>
947 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Custom button controls and unified primary, secondary, submit, and wizard styles provide consistent dimensions, borders, hover behavior, dark-theme colors, and accessible keyboard focus.' ) ); ?></li>
948 </ul>
949 </div>
950
951 </div>
952
953 <div class="wpbc_wn_section">
954 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
955 <h3><?php echo 'Compatibility and Extensibility'; ?></h3>
956
957 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
958 <?php if ( ! empty( $image_urls['compatibility'] ) ) { ?>
959 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
960 <img src="<?php echo esc_url( $image_urls['compatibility'] ); ?>" alt="<?php echo 'Booking Calendar compatibility and extensibility'; ?>" style="margin:10px 0;width:98%;" />
961 <?php } ?>
962 </div>
963
964 <ul>
965 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Existing **Booking Resources, availability, Booking Forms, pricing, payments, and bookings remain authoritative**; the Appointment experience builds on them instead of replacing them.' ) ); ?></li>
966 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Appointment information is included in supported confirmations, emails, Booking Listing details, print views, and CSV exports.' ) ); ?></li>
967 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Safer customer access**: Public Timeline links are scoped to the exact authorized booking and Resource; Personal and higher editions use one-time email verification for customer booking lists.' ) ); ?></li>
968 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; New filters and hooks allow commercial editions and extensions to adapt capabilities, Service and Provider catalogues, and Appointment form routing.' ) ); ?></li>
969 </ul>
970 </div>
971 </div>
972 </div>
973 <?php
974 $obj->expand_section_end( $section_param_arr );
975 }
976
977 /**
978 * What's New section for Booking Calendar 11.4
979 *
980 * @param object $obj
981 *
982 * @return void
983 */
984 function wpbc_welcome_section_11_4( $obj ) {
985
986 $section_param_arr = array( 'version_num' => '11.4', 'show_expand' => true );
987
988 $obj->expand_section_start( $section_param_arr );
989 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
990 ?>
991 <div class="wpbc_wn_container">
992
993 <div class="wpbc_wn_section">
994 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Global Booking Form Styles' ) ); ?></h2>
995
996 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
997 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
998 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__booking_form_styles.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
999 </div>
1000
1001 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1002 <ul>
1003 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added global **Booking Form Styles** with Light and Dark bordered, borderless, and soft-background presets, plus a fully configurable Custom style.' ) ); ?></li>
1004 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Complete appearance controls**: Customize form backgrounds, borders, spacing, text, fields, focus states, checkbox and radio controls, and buttons.' ) ); ?></li>
1005 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Consistent live previews**: Select and preview the same global Form Style in **Settings > Appearance / Theme** and the **Booking Form Builder**.' ) ); ?></li>
1006 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Unified front-end design**: Form styles now apply consistently across booking forms and supported payment buttons while preserving PayPal branding.' ) ); ?></li>
1007 </ul>
1008 </div>
1009 </div>
1010
1011 <div class="wpbc_wn_section">
1012 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Two-Click Date Range Selection' ) ); ?></h2>
1013
1014 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1015 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1016 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__date_range_selection.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1017 </div>
1018 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1019 <ul>
1020 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added two-click date-range selection in **Booking Calendar Free and higher editions**, allowing visitors to select the first and last booking dates.' ) ); ?></li>
1021 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear visual selection**: Available dates and the prospective date range are highlighted while visitors move through the calendar.' ) ); ?></li>
1022 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better visitor guidance**: Added clearer instructions for completing a range and more useful feedback when it contains unavailable dates.' ) ); ?></li>
1023 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Faster full-day setup**: Two-click range selection is now the default when Full Day Booking mode is activated in the Setup Wizard.' ) ); ?></li>
1024 </ul>
1025 </div>
1026 </div>
1027
1028 <div class="wpbc_wn_section" style="gap:1%">
1029
1030 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1031 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Centralized Form Messages' ) ); ?></h2>
1032
1033 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1034 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1035 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_messages.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1036 </div>
1037 <ul>
1038 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Form Messages** settings page for date selection notices, validation errors, submission messages, and other visitor-facing text.' ) ); ?></li>
1039 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Multilingual messages**: Customize messages with **[lang=LOCALE]** language shortcodes while keeping translated plugin defaults.' ) ); ?></li>
1040 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Simpler settings workflow**: Edit all message groups on one page, use quick section navigation, restore defaults, and save with AJAX notifications.' ) ); ?></li>
1041 </ul>
1042 </div>
1043
1044 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1045 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Streamlined Form Builder Workflow' ) ); ?></h2>
1046
1047 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1048 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1049 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_builder_workflow.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1050 </div>
1051 <ul>
1052 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Modernized form configuration**: Removed legacy Booking Form settings pages and routed form configuration to the **Booking Form Builder**.' ) ); ?></li>
1053 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Safe legacy migration**: Existing Simple and Advanced legacy forms are imported into the Booking Form Builder during updates.' ) ); ?></li>
1054 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Setup Wizard improvement**: Added **Save and Continue** and limited visual highlighting to the settings relevant to the current setup step.' ) ); ?></li>
1055 </ul>
1056 </div>
1057 </div>
1058
1059 </div>
1060 <?php
1061
1062 $obj->expand_section_end( $section_param_arr );
1063 }
1064
1065 /**
1066 * What's New section for Booking Calendar 11.3
1067 *
1068 * @param object $obj
1069 *
1070 * @return void
1071 */
1072 function wpbc_welcome_section_11_3( $obj ) {
1073
1074 $section_param_arr = array( 'version_num' => '11.3', 'show_expand' => true );
1075
1076 $obj->expand_section_start( $section_param_arr );
1077 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1078 ?>
1079 <div class="wpbc_wn_container">
1080
1081 <div class="wpbc_wn_section">
1082 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Calendar Settings Page' ) ); ?></h2>
1083
1084 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1085 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1086 <img src="<?php echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__settings_calendar_live_preview.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1087 </div>
1088
1089 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1090 <ul>
1091 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Settings > Calendar** page with a live calendar preview and right-side configuration panels.' ) ); ?></li>
1092 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Days selection preview**: Configure single day, multiple days, range selection, start weekdays, and related selection rules while immediately seeing how the calendar behaves.' ) ); ?></li>
1093 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Changeover settings**: Configure check-in/check-out changeover days, diagonal or vertical markings, recurrent times, and changeover exceptions from the same visual interface.' ) ); ?></li>
1094 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Calendar legend and tooltips**: Show or hide the legend, edit legend item titles, and configure date tooltip content with instant preview updates.' ) ); ?></li>
1095 </ul>
1096 </div>
1097 </div>
1098
1099 <div class="wpbc_wn_section">
1100 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Appearance / Theme Settings Page' ) ); ?></h2>
1101
1102 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1103 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1104 <img src="<?php echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__settings_theme_live_preview.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1105 </div>
1106
1107 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1108 <ul>
1109 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Settings > Appearance / Theme** page for configuring the calendar skin and booking form visual style.' ) ); ?></li>
1110 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Real booking form preview**: Preview the real calendar and booking form using selected resources, month count, custom forms, and preview modes.' ) ); ?></li>
1111 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Theme controls**: Switch between light and dark booking form themes, choose calendar skins, configure time picker appearance, and review the result before saving.' ) ); ?></li>
1112 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner settings experience**: Legacy Appearance / Color Theme settings were replaced with a clearer visual workflow.' ) ); ?></li>
1113 </ul>
1114 </div>
1115 </div>
1116
1117 <div class="wpbc_wn_section" style="gap:1%">
1118
1119 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1120 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Setup Wizard Improvements' ) ); ?></h2>
1121
1122 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1123 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__setup_wizard_calendar_flow.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
1124
1125 <ul>
1126 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Setup Wizard steps now open the new Calendar and Appearance / Theme settings pages instead of older settings screens.' ) ); ?></li>
1127 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Smarter changeover setup**: Changeover workflows now include a dedicated Changeover Days step and continue through Date Availability, Color Theme, Publish, and Booking Listing.' ) ); ?></li>
1128 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better Setup Bar positioning**: The floating Setup Bar moves to a better default top position on visual settings pages, while preserving any user-dragged position.' ) ); ?></li>
1129 </ul>
1130 </div>
1131
1132 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1133 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Resources and Admin Workflow' ) ); ?></h2>
1134
1135 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1136 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__resources_capacity_rules.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
1137
1138 <ul>
1139 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Moved capacity-related settings to **Resources > Capacity Rules**, keeping booking quantity and pending-day rules closer to resource configuration.' ) ); ?></li>
1140 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Added a shared top path/status line across Booking Calendar admin pages for clearer navigation.' ) ); ?></li>
1141 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Admin left sidebar and full-screen mode preferences are now saved per user, while special setup and builder workflows can still enforce their required layout.' ) ); ?></li>
1142 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fixes**: Improved Calendar preview saving, changeover rendering, legend refresh, tooltip settings, Setup Wizard routing, and Booking Listing email toggle persistence.' ) ); ?></li>
1143 </ul>
1144 </div>
1145 </div>
1146
1147 </div>
1148
1149 <?php
1150
1151 $obj->expand_section_end( $section_param_arr );
1152 }
1153
1154 /**
1155 * What's New section for Booking Calendar 11.2
1156 *
1157 * @param object $obj
1158 *
1159 * @return void
1160 */
1161 function wpbc_welcome_section_11_2( $obj ) {
1162
1163
1164 $section_param_arr = array( 'version_num' => '11.2', 'show_expand' => true );
1165
1166 $obj->expand_section_start( $section_param_arr );
1167 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1168 ?>
1169 <div class="wpbc_wn_container">
1170
1171 <div class="wpbc_wn_section">
1172 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Redesigned Setup Wizard' ) ); ?></h2>
1173
1174 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1175 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1176 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__floating_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1177 </div>
1178
1179 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1180 <ul>
1181 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Redesigned the initial **Setup Wizard** with a floating **Setup Bar** that guides users through configuration directly on the relevant Booking Calendar admin pages.' ) ); ?></li>
1182 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Step-by-step setup flow**: After choosing the booking type, the wizard opens the exact settings pages needed for form setup, date selection, availability, working time, color theme, and publishing.' ) ); ?></li>
1183 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Context-aware guidance**: The Setup Bar shows the current step, progress, Back / Continue / Finish controls, and clear instructions for what should be configured on each page.' ) ); ?></li>
1184 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Smarter page assistance**: Setup steps can automatically open, scroll to, and highlight the related settings section.' ) ); ?></li>
1185 </ul>
1186 </div>
1187 </div>
1188
1189
1190 <div class="wpbc_wn_section">
1191 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Floating Setup Bar' ) ); ?></h2>
1192
1193 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1194 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1195 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__move_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1196 </div>
1197
1198 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1199 <ul>
1200 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a floating **Setup Bar** available across Booking Calendar admin pages during setup.' ) ); ?></li>
1201 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save-aware workflow**: Steps that require saving now keep the Continue button disabled until changes are saved.' ) ); ?></li>
1202 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible positioning**: The bar can be collapsed, moved by drag and drop, reset to its default position, and automatically shifted away from right-side settings panels.' ) ); ?></li>
1203 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Reliable completion**: Finishing or skipping setup now correctly hides the Setup Bar across all Booking Calendar admin pages.' ) ); ?></li>
1204 </ul>
1205 </div>
1206 </div>
1207
1208
1209 <div class="wpbc_wn_section">
1210 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Front-End Booking Form Popup' ) ); ?></h2>
1211
1212 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1213 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1214 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__open_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1215 </div>
1216
1217 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1218 <ul>
1219 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added front-end popup support for booking forms using shortcode parameters.' ) ); ?></li>
1220 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Popup booking form shortcode**: Use **[booking resource_id=1 popup=1]** to show a button that opens the booking form in a modal window.' ) ); ?></li>
1221 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Dedicated alias shortcode**: Added **[booking_popup]** as a shortcut for popup booking forms.' ) ); ?></li>
1222 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Customizable popup display**: Configure popup button text, popup title, custom CSS classes, modal class, and popup size.' ) ); ?></li>
1223 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Automatic assets loading**: Required popup JavaScript and CSS are loaded automatically on front-end pages.' ) ); ?></li>
1224 </ul>
1225 </div>
1226 </div>
1227
1228 <div class="wpbc_wn_section" style="gap:1%">
1229
1230 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1231 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability Improvements' ) ); ?></h2>
1232
1233 <ul>
1234 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Improved the **Create Booking for Selection** workflow in the Time Slots Availability popup.' ) ); ?></li>
1235 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **More reliable popup handoff**: The Add Booking popup is now validated before the Time Slots popup closes, preventing cases where no booking form appeared.' ) ); ?></li>
1236 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better multi-date selections**: Dragged multi-date time intervals are now handled as explicit admin-selected time overrides during availability validation.' ) ); ?></li>
1237 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner JavaScript**: Fixed deprecated jQuery warnings in the Time Slots Availability popup.' ) ); ?></li>
1238 </ul>
1239 </div>
1240
1241 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
1242 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Reliability and Sync Improvements' ) ); ?></h2>
1243
1244 <ul>
1245 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed a PHP 8+ fatal error on the Form Builder page when malformed legacy custom form data was stored incorrectly.' ) ); ?></li>
1246 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Improved Form Options Costs parsing for selectbox fields with quoted defaults. Available in Business Medium or higher.' ) ); ?></li>
1247 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Add Booking now correctly loads the default custom booking form assigned to the selected booking resource. Available in Business Medium or higher.' ) ); ?></li>
1248 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed Early / Late Booking discount calculation so fixed form option costs are not incorrectly reduced to zero.' ) ); ?></li>
1249 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added the **Append extra day after imported checkout day** option for **.ics** import sync rules.' ) ); ?></li>
1250 </ul>
1251 </div>
1252 </div>
1253
1254 </div>
1255
1256 <?php
1257
1258 $obj->expand_section_end( $section_param_arr );
1259 }
1260
1261 /**
1262 * What's New section for Booking Calendar 11.1
1263 *
1264 * @param object $obj
1265 *
1266 * @return void
1267 */
1268 function wpbc_welcome_section_11_1( $obj ) {
1269
1270
1271 $section_param_arr = array( 'version_num' => '11.1', 'show_expand' => true );
1272
1273 $obj->expand_section_start( $section_param_arr );
1274 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1275 ?>
1276
1277 <div class="wpbc_wn_container">
1278
1279 <div class="wpbc_wn_section">
1280 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Working Time' ) ); ?></h2>
1281
1282 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1283 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1284 <img src="<?php echo esc_attr( $obj->section_img_url( '11.1/wp_booking_calendar_11_1_working_time_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1285 </div>
1286
1287 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1288 <ul>
1289 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added **Working Time** settings to **Booking Calendar > Availability > General Availability**, allowing administrators to restrict time-based bookings to specific working hours.' ) ); ?></li>
1290 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Designed for time-based booking forms**: Working Time applies to booking forms that use **rangetime**, **start/end time**, or **start/duration time** fields.' ) ); ?></li>
1291 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible schedule control**: Define default working hours for each weekday, then optionally set custom working time rules for specific booking resources.' ) ); ?></li>
1292 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear availability timeline**: Time outside working hours is shown in **Time Slots Availability** as read-only unavailable time, with links back to the related Working Time settings.' ) ); ?></li>
1293 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner front-end calendar display**: Dates limited only by Working Time keep their tooltip information, while the calendar avoids showing partial-booking dots when there are no real bookings or manually blocked time slots.' ) ); ?></li>
1294 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better editing workflow**: When opening Working Time settings from the Time Slots Availability timeline, the General Availability page automatically expands and scrolls to the Working Time section.' ) ); ?></li>
1295 </ul>
1296 </div>
1297 </div>
1298
1299 </div>
1300 <?php
1301
1302 $obj->expand_section_end( $section_param_arr );
1303 }
1304
1305 /**
1306 * What's New section for Booking Calendar 11.0
1307 *
1308 * @param object $obj
1309 *
1310 * @return void
1311 */
1312 function wpbc_welcome_section_11_0( $obj ) {
1313
1314
1315 $section_param_arr = array( 'version_num' => '11.0', 'show_expand' => true );
1316
1317 $obj->expand_section_start( $section_param_arr );
1318 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1319 ?>
1320 <div class="wpbc_wn_container">
1321
1322 <div class="wpbc_wn_section">
1323 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability' ) ); ?></h2>
1324
1325 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1326 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1327 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1328 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_02.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
1329 </div>
1330
1331 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1332 <ul>
1333 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added the **Time Slots Availability** page under **Booking Calendar > Availability**, allowing administrators to define unavailable time intervals for specific booking resources and date ranges.' ) ); ?></li>
1334 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Interactive timeline selection**: Select one or many days directly in the timeline, adjust start and end time, then block or unblock the selected interval.' ) ); ?></li>
1335 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear availability states**: The timeline now shows available, booked, unavailable, and full-day unavailable states in one place.' ) ); ?></li>
1336 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Finer control**: Work with visible time range controls, date range navigation arrows, and slot steps down to **5 minutes**.' ) ); ?></li>
1337 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better long-range editing**: Sticky timeline headers and progress indicators make loading, blocking, unblocking, and saving easier to follow.' ) ); ?></li>
1338 </ul>
1339 </div>
1340 </div>
1341
1342
1343 <div class="wpbc_wn_section">
1344 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Set Times Availability Popup' ) ); ?></h2>
1345
1346 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1347 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1348 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_set_times_availability_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1349
1350 </div>
1351
1352 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1353 <ul>
1354 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a reusable **Set Times Availability** popup to the Booking Listing page, so unavailable time intervals can be managed without leaving the bookings workflow.' ) ); ?></li>
1355 <li><img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__add_booking _from__timeslots__availability_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1356 <?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Create bookings from selected intervals**: Start a new booking directly from the selected time interval inside the Time Slots Availability popup.' ) ); ?></li>
1357 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Works across multiple days**: Select, block, unblock, and review unavailable intervals across a date range with booked and unavailable states visible.' ) ); ?></li>
1358 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Unavailable full-day reasons**: The popup can show days blocked by Days Availability, Season Availability, unavailable weekdays, unavailable time from current time, and limit available days from today settings.' ) ); ?></li>
1359 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Quick rule links**: Full-day unavailable timeline bars can link to the related availability settings page, helping administrators identify and adjust the rule that made a date unavailable.' ) ); ?></li>
1360 </ul>
1361 </div>
1362 </div>
1363
1364
1365 <div class="wpbc_wn_section">
1366 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Faster Add Booking Popup' ) ); ?></h2>
1367
1368 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1369 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1370 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_add_booking_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1371 </div>
1372
1373 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1374 <ul>
1375 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a faster **Add Booking** popup to the Booking Listing and Timeline pages, so users can create bookings without leaving the current view.' ) ); ?></li>
1376 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Prefilled from the timeline**: Selected booking resource, date, start time, and end time are passed into the popup when creating a booking from a selected interval.' ) ); ?></li>
1377 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Choose the right form in place**: Select the booking resource and custom booking form directly inside the popup.' ) ); ?></li>
1378 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Edit in the same workflow**: Existing bookings can be opened in the popup, with a direct link to edit the selected booking form when needed.' ) ); ?></li>
1379 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improved navigation**: The Add Booking page is now available under the Bookings section, and Booking Listing and Timeline include a clearer **New booking** quick-action button.' ) ); ?></li>
1380 </ul>
1381 </div>
1382 </div>
1383
1384
1385 <div class="wpbc_wn_section">
1386 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'General Availability Settings' ) ); ?></h2>
1387
1388 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1389 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1390 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_general_availability_settings_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1391 </div>
1392
1393 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1394 <ul>
1395 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a **General Availability** settings page for defining global front-end availability rules across all calendars and booking resources.' ) ); ?></li>
1396 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Live calendar preview**: Review unavailable weekdays, availability limits from the current date, unavailable time from current time, and booking buffer effects before saving.' ) ); ?></li>
1397 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fast settings workflow**: Save changes with AJAX, reset preview controls to defaults, and continue working in the same page layout.' ) ); ?></li>
1398 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Consistent admin design**: Uses the shared right-side palette layout from the Availability pages and setup wizard interfaces.' ) ); ?></li>
1399 </ul>
1400 </div>
1401 </div>
1402
1403
1404 <div class="wpbc_wn_section">
1405 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Availability Accuracy and Reliability Fixes' ) ); ?></h2>
1406
1407 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1408 <ul>
1409 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed calendar booking status detection, improving how the front-end calendar reads approved and pending booking statuses for capacity-based resources, including parent/child resources and change-over dates.' ) ); ?></li>
1410 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed availability calculation for Booking Form Builder forms with time-slot fields, so dates are marked as fully unavailable when all booking form time slots are already booked. (10.15.8.2)' ) ); ?></li>
1411 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed a fatal error on some hosts by reading the local PRO **meta.json** file directly instead of using WordPress FTP filesystem access.' ) ); ?></li>
1412 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Front-end booking form calendars should now reflect real availability more clearly across booked, pending, blocked, and change-over dates.' ) ); ?></li>
1413 </ul>
1414 </div>
1415 </div>
1416
1417 </div>
1418 <?php
1419
1420 $obj->expand_section_end( $section_param_arr );
1421 }
1422
1423 function wpbc_welcome_section_10_15( $obj ) {
1424
1425
1426 $section_param_arr = array( 'version_num' => '10.15', 'show_expand' => true );
1427
1428 $obj->expand_section_start( $section_param_arr );
1429
1430 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1431 ?>
1432 <div class="wpbc_wn_container">
1433
1434 <div class="wpbc_wn_section">
1435 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Drag & Drop Booking Form Builder' ) ); ?></h2>
1436
1437 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1438 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1439 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_overview_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1440 </div>
1441
1442 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1443 <ul>
1444 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Introduced the new **Drag & Drop Booking Form Builder** for visually creating booking forms without manually editing form code.' ) ); ?></li>
1445 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Build forms visually**: Drag fields into the canvas, arrange the layout, and see the result instantly in the live preview.' ) ); ?></li>
1446 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Faster and easier workflow**: Create modern booking forms without working with complex manual shortcodes.' ) ); ?></li>
1447 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Available in all versions**: Booking Calendar now supports **multiple custom booking form configurations** in all versions, including the Free version.' ) ); ?></li>
1448 </ul>
1449 </div>
1450 </div>
1451
1452
1453 <div class="wpbc_wn_section">
1454 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Create Booking Forms, Contact Forms, and Inquiry Forms' ) ); ?></h2>
1455
1456 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1457 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1458 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_inquiry_forms_05.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1459 </div>
1460
1461 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1462 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1463 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_form_preview_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1464 </div>
1465
1466 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1467 <ul>
1468 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added support for **Contact Forms / Inquiry Forms / Request Forms** — the calendar is now optional.' ) ); ?></li>
1469 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Use Booking Calendar as a contact form alternative**: Create forms without booking dates and manage all submissions inside Booking Calendar.' ) ); ?></li>
1470 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Ready-to-use templates**: Start faster with predefined templates for booking, contact, and inquiry forms.' ) ); ?></li>
1471 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible start**: Create a form from a template or begin with a blank canvas for full control.' ) ); ?></li>
1472 </ul>
1473 </div>
1474 </div>
1475
1476
1477 <div class="wpbc_wn_section">
1478 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Powerful Visual Layout Builder' ) ); ?></h2>
1479
1480 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1481 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1482 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_02.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1483 </div>
1484
1485 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1486 <ul>
1487 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Drag & drop fields** from the Fields palette directly into the form canvas.' ) ); ?></li>
1488 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Live visual preview** while building and editing the form.' ) ); ?></li>
1489 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Rows and columns layout** for clean and structured form designs.' ) ); ?></li>
1490 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Nested sections** (up to 5 levels) for advanced multi-row and multi-column layouts.' ) ); ?></li>
1491 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Ready section layouts** with 1, 2, 3, or 4 columns.' ) ); ?></li>
1492 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Column resizing with visual resizers** for precise control of layout widths.' ) ); ?></li>
1493 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Multi-page forms** for creating step-by-step wizard-style booking forms.' ) ); ?></li>
1494 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Drag & drop sorting of sections** plus **Move Up / Move Down controls** for faster layout management.' ) ); ?></li>
1495 </ul>
1496 </div>
1497 </div>
1498
1499
1500 <div class="wpbc_wn_section">
1501 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smart Editing and Form Controls' ) ); ?></h2>
1502
1503 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1504 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1505 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_sidebar_inspector_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1506 </div>
1507
1508 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1509 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1510 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_field_limits_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1511 </div>
1512
1513 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1514 <ul>
1515 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Right sidebar inspector**: Easily edit field and section settings in a clear visual interface.' ) ); ?></li>
1516 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Field usage limits**: The Builder automatically prevents adding one-time fields, such as the Calendar field, more than once.' ) ); ?></li>
1517 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Responsive-friendly column width control** with layout protection for more stable form structure.' ) ); ?></li>
1518 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improved visual editing controls** for easier field, section, and layout management directly inside the canvas.' ) ); ?></li>
1519 </ul>
1520 </div>
1521 </div>
1522
1523
1524 <div class="wpbc_wn_section">
1525 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Better Form Management and Reuse' ) ); ?></h2>
1526
1527 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1528 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1529 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wpbc_11_0_form_management_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1530 </div>
1531
1532 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1533 <ul>
1534 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Predefined templates:** Start building your new booking form with ready-made templates.' ) ); ?></li>
1535 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save and restore complete form layouts** including pages, sections, columns, and fields.' ) ); ?></li>
1536 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Duplicate existing form configurations** to create similar forms much faster.' ) ); ?></li>
1537 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save As workflow**: Create a new form based on an existing layout and settings.' ) ); ?></li>
1538 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible form configuration management** for creating, saving, loading, organizing, and previewing custom forms.' ) ); ?></li>
1539 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Form details management**: Set a custom form title, slug, description, and image.' ) ); ?></li>
1540 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Media library integration** for selecting a custom image for each form configuration.' ) ); ?></li>
1541 </ul>
1542 </div>
1543 </div>
1544
1545
1546 <div class="wpbc_wn_section">
1547 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Preview, Import, and Flexible Workflow' ) ); ?></h2>
1548
1549 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1550 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1551 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wpbc_11_0_preview_page_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1552 </div>
1553
1554 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1555 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1556 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_advanced_mode.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1557 </div>
1558
1559 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1560 <ul>
1561 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Preview page / live front-end preview**: Test how the form looks and works before publishing it on your website.' ) ); ?></li>
1562 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Import existing legacy booking forms** into the new Builder for easier transition to the visual workflow.' ) ); ?></li>
1563 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Builder mode and Advanced Form mode**: Work visually or keep manual form configuration when needed.' ) ); ?></li>
1564 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Blank form creation in Builder mode** lets you start new forms immediately in the visual editor.' ) ); ?></li>
1565 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Section presets** help you insert commonly used layout structures faster.' ) ); ?></li>
1566 </ul>
1567 </div>
1568 </div>
1569
1570
1571 <div class="wpbc_wn_section">
1572 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Important Note About the Beta Builder' ) ); ?></h2>
1573
1574 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1575 <ul>
1576 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **This feature is currently in Beta** and can still be disabled at any time.' ) ); ?></li>
1577 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; To return to the previous legacy booking form configuration, go to **Form Builder > Settings** in the right sidebar and disable the **"Drag & Drop Form Builder"** option.' ) ); ?></li>
1578 </ul>
1579 </div>
1580 </div>
1581
1582 </div>
1583 <?php
1584
1585 $obj->expand_section_end( $section_param_arr );
1586 }
1587
1588 function wpbc_welcome_section_10_14( $obj ){
1589
1590 $section_param_arr = array( 'version_num' => '10.14', 'show_expand' => true );
1591
1592 $obj->expand_section_start( $section_param_arr );
1593
1594
1595 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1596
1597
1598 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1599 // -----------------------------------------------------------------------------------------------------------------
1600 // = F R E E =
1601 // -----------------------------------------------------------------------------------------------------------------
1602 ?>
1603 <div class="wpbc_wn_container">
1604 <div class="wpbc_wn_section">
1605 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Control start and end dates for booking and availability' ) ); ?></h2>
1606 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1607 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1608 <img src="<?php echo esc_attr( $obj->section_img_url( '10.14/wp_booking_calendar_elementor_advanced_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1609 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1610 </div>
1611 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1612 <ul>
1613 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Control which dates are shown!**: You can now control which dates are shown in the Booking Calendar by using two new shortcode parameters: **[booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']**' ) ); ?></li>
1614 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: Ability to **set the start and end dates for the calendar** using shortcode parameters. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' startmonth=\'2025-3\']' ) ); ?></li>
1615 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: If startmonth is omitted, the calendar will now automatically use the month from calendar_dates_start as the initial display month. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li>
1616 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: New: You can now **allow users to submit bookings for past dates**, as long as those dates are within the visible range set by calendar_dates_start and calendar_dates_end in the shortcode. Useful for administrative or backdated bookings. Shortcode Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li>
1617 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: Elementor native supports of these parameters calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' in Advanced section.' ) ); ?></li>
1618 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: When calendar_dates_start and calendar_dates_end are defined in the shortcode, the system skips checking availability from today, and instead starts from the defined calendar_dates_start.' ) ); ?></li>
1619 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: To **enable the new Smart Phone Validation** feature introduced in the previous update, go to: WP Booking Calendar > Settings > Booking Form > Form Options and enable the "Smart Phone Validation" option. It is disabled by default.' ) ); ?></li>
1620 </ul>
1621 </div>
1622 </div>
1623 </div>
1624 <?php
1625
1626 $obj->expand_section_end( $section_param_arr );
1627 }
1628
1629 function wpbc_welcome_section_10_13( $obj ){
1630
1631 $section_param_arr = array( 'version_num' => '10.13', 'show_expand' => true );
1632
1633 $obj->expand_section_start( $section_param_arr );
1634
1635
1636 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1637
1638
1639 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1640 // -----------------------------------------------------------------------------------------------------------------
1641 // = F R E E =
1642 // -----------------------------------------------------------------------------------------------------------------
1643 ?>
1644 <div class="wpbc_wn_container">
1645 <div class="wpbc_wn_section">
1646 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smarter Bookings, Elementor Integration and Cleaner Interface' ) ); ?></h2>
1647 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1648 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Booking Calendar meets Elementor!**' ) ); ?></h3>
1649 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1650 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/wp_booking_calendar_elementor_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1651 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1652 </div>
1653 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1654 <ul>
1655 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Full Elementor Support!**: Design and customize your booking forms directly inside the Elementor editor—with real-time form previews and a built-in skin selector. No more shortcode guesswork—just drag, configure, and save!' ) ); ?></li>
1656 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Calendar Preloader:** We’ve added a smooth-loading preloader bar that prevents layout jumps on slower connections, ensuring a polished experience for your visitors.' ) ); ?></li>
1657 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New Booking Form Template – Service Selection Wizard (Pro):** Perfect for appointment-based bookings: this template features a left-side service selector with a streamlined date/time step for faster, easier bookings.' ) ); ?></li>
1658 </ul>
1659 </div>
1660 </div>
1661 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1662 <div class="wpbc_wn_section">
1663 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1664 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Cleaner & More Intuitive Interface**' ) ); ?></h3>
1665 <ul>
1666 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Updated Sidebar Navigation:** All plugin menus now live in a single, collapsible sidebar—easier to navigate and quicker to access.' ) ); ?></li>
1667 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Visual Polish & UX Tweaks:** We’ve made subtle design upgrades across the board: improved calendar styling, better visual hierarchy, smarter warnings (e.g., duplicate calendar IDs), and more compact menu visuals in compact mode.' ) ); ?></li>
1668 </ul>
1669 </div>
1670 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1671 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1672 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/vertical_menu_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1673 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1674 </div>
1675 </div>
1676 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1677 <div class="wpbc_wn_section">
1678 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1679 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Smart Phone Validation**' ) ); ?></h3>
1680 <ul>
1681 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Auto-Detect & Format Phone Fields:** Phone fields now automatically detect and format numbers based on the user’s input and locale. Start typing +1 and the field instantly formats to +1 000 000 0000 (USA); type +34 for Spain and get +34 000 000 0000.' ) ); ?></li>
1682 </ul>
1683 </div>
1684 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1685 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1686 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/phone_validattion_01.png' ) ); ?>" style="margin:10px auto;max-width:600px;" />
1687 </div>
1688 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1689 <ul>
1690 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Built-In Intelligence – No Setup Required** We intelligently detect phone fields by name (e.g., “phone”, “fone”, “tel”, “mobile”, “telefono”, etc.) and apply the right mask and placeholder automatically—no third-party APIs needed. Only valid digits are allowed; unsupported characters are blocked instantly.' ) ); ?></li>
1691 </ul>
1692 </div>
1693 </div>
1694
1695 </div>
1696 <?php
1697
1698 $obj->expand_section_end( $section_param_arr );
1699 }
1700