• Resolved twmcmahan

    (@twmcmahan)


    Is there a widget or shortcode I’m missing that shows upcoming special hours?

    For example:
    December 24th: 10am-4pm
    December 25th: Closed
    December 31st: 10am-4pm
    January 1st: Closed

    or
    Closed July 4-July 8th

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @twmcmahan It’s not part of the shortcode, these are special opening hours in the main We’re Open! page in the Dashboard.

    You can set as many special opening hours as you wish for specific dates.

    There is a shortcode parameter to only show regular or special opening hours, but that’s not going to set any new data.

    • This reply was modified 3 years, 11 months ago by Design Extreme. Reason: Last paragraph
    Plugin Author Design Extreme

    (@designextreme)

    @twmcmahan I just re-read the question – there isn’t something that picks out only the Special opening hours and nothing else… I think this would make for a very useful addition and I’ll add this in the next update.

    For now, you can set a date range and select to display Special opening hours for this range, but it may be less useful to you than isolating all of the particular dates (similar to what you see in the Dashboard).

    I’ll work on this soon, so you can apply it in the near future.

    Plugin Author Design Extreme

    (@designextreme)

    @twmcmahan I have updated to the plugin to version 1.19 with better support for just Regular or just Special opening hours. You will also be able to set very long date ranges (up to a year minus a week) for special opening hours.

    An example shortcode would be:

    [opening_hours regular=false day_format="full_date_month_first_comma" start="2020/12/01" end="2021/11/30"]

    Plugin Author Design Extreme

    (@designextreme)

    @twmcmahan I have also added a demo (see the last entry):

    https://demo.designextreme.com/were-open/#table

    Doesn’t work.

    I use this code (below) based on your example and get no results, even though I have the following (copied below) defined as Exceptions or Holidays.

    [open class=”hours-right closed-bold” day_format=”full_date_month_nos” regular=false start=”2021/01/01″ end=”2021/12/31″]

    Sunday, April 4 Closed
    Friday, April 16 Closed
    Monday, May 31 Closed
    Sunday, July 4 Closed
    Monday, September 6 Closed
    Friday, October 8 Closed
    Saturday, October 16 Closed

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling Thanks for letting me know… I’ll have a look into this very soon using the details provided.

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling Two points to check:

    1. Use the Temporary Closure functionality to cover the range of dates (if you haven’t)
    2. Have you set to display days that are marked as “Closed”? If so, you’ll get a lot of nothing showing up for this – you’ll need to show Closed days (in the settings).

    The second point is the most important as I presume you’ve used the Temporary Closure.

    Thanks!

    I have used the Exceptions and Holidays functionality for the dates I listed above, as they are exceptions and holidays.

    Show closed days is checked in settings.

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling Thanks for clarifying. I’ll see if I can replicate this issue.

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling I found the issue where it reverts to a 7-day range – I will change it to a year and a week. There will be release a new version with a fix shortly.

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling Please download version 1.20.

    ok, will do. FYI, every time I upgrade to a new version, it shifts my opening hours a day so I have to re-set them every time I upgrade the plugin. I can send a screen shot if necessary.

    Also, the modified date for the change is never accurately reflected in the settings.

    tested this shortcode again with update and still no display

    [open class=”hours-right closed-bold” day_format=”full_date_month_nos” regular=false start=”2021/01/01″ end=”2021/12/31″]

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling Thanks so much for this information. I’ll be sure to check this and produce a fix – probably by altering how the upgrade process works as the “proper” WordPress method doesn’t work as expected.

    Did you mean the regular or special opening hours?

    Please email me the details, including the time zone – wordpress dash plugins at designextreme dot com.

    Thanks again!

    Plugin Author Design Extreme

    (@designextreme)

    @rflewelling I did use the details you placed here for testing… It’s not cached is it?

    Drop me an email and I’ll look at it again to ensure it’s sorted for everyone.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Special Hours Widget/Shortcode’ is closed to new replies.