Conditional Opening Hours Shortcode with Oasis Immersion

We’re Open! has hit 4,000 active installations

My favourite WordPress self-made plugin has hit its 4,000 mark. I’ve introduced a timely feature that I’ve wanted to show special opening hours conditionally – but only if they exist for a given time period.

This means it’s now possible to enclose any HTML content, including the shortcode itself to show holiday opening times with a heading, but only when required.

You can see this in the demonstration website using the new shortcode: [open_special].

I introduced this because the Oasis Immersion website, which I now develop, had a heading without subsequent content until this shortcode was introduced to their website’s footer.

Last updated on

Leave a Reply

Your email address will not be published. Required fields are marked *