• Resolved daving68

    (@daving68)


    we are a seasonal pool that has 4 time periods of the season where the hours change. For instance there are a set of hours for the first week of the pool being open. Then the hours expand for the next 10 days until schools close for the summer, Then the hours expanded even further for the summer, then toward the end of the season the hours constrict a bit. I am currently using the free version to see if i’d be able to use this plug in. I was trying to add some of the early shortened days as holiday hours, which seems to max out at 4 dates. Does the paid version allow for MUCH more entries in the holiday field? Or does it allow for designating a range of dates with hours that would allow an easier solution for our situation? thanks for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @daving68,

    You should be able to add unlimited holiday hours in the free version. The available space only shows 4, but you can scroll it down and you should see your older holiday entries as well. Can you verify this works? If not, that’s a bug I need to tackle.

    As for your seasonal setup, I would do it differently:

    1) Set up each seasonal block as a different location (in your case, you’d have 4 locations).
    2) With some basic PHP, you can display the correct opening times of the current season. In the below example, I want to display different hours in Spring.

    $today = new DateTime();
    $spring = new DateTime('March 20');
    $summer = new DateTime('June 20');
    
    if($today >= $spring && $today < $summer)
       do_shortcode('[mbhi_hours location="your spring season hours"]; // Hours in Spring
    else do_shortcode('[mbhi_hours location="normal hours"]); // Your normal hours the rest of the year.

    Something like this would work ??

    Thread Starter daving68

    (@daving68)

    very good, i did not notice that it was adding the additional entries below the visible window. i just scrolled and i have 10 entries for May 30th. haha! i think the PHP solution you have illustrated would be an excellent way to go. i’ll figure out how to set that up, thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Seasonal Hours/Expanded Holidays Hours’ is closed to new replies.