• Resolved jfinkle

    (@jfinkle)


    The two branches of the library will have different hours for a few holidays starting next year, and I’m trying to figure out how to call up the notes field from individual exceptions in the short code of our theme’s header for today’s hours. That way, after Xam-Ypm, I can add “Branch A; Branch B Closed” from the notes so both branch’s hours are reflected. The note field already comes up after special hours in the weekly hours table in the footer.

    Our current shortcode in the header is:

    {!! do_shortcode('[open_text]%if_open_today% Today’s hours: %hours_today% %end% %if_special_today% %space% Both Branches %end% %if_closed_today% Closed today. %end%[/open_text]') !!}

    … but with the differing branch hours, I need to be able to call the exception note field text for each holiday in place of “Both Branches”, as it will vary.

    I tried finding it on the instruction page, but it’s not covered in the references here: https://demo.designextreme.com/were-open/

    The page I need help with: [log in to see the link]

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

    (@designextreme)

    @jfinkle This plugin only supports one set of opening hours. So if you’re looking for something beyond one set, then this plugin will not offer the functionality you need.

    I hope to create a premium version that supports multiple locations, but I can’t offer a timeline for this.

    Thread Starter jfinkle

    (@jfinkle)

    @designextreme Is there no way to call the notes field from a holiday/exception to display within a shortcode? That’s all I need to get this to work. I can already get it to read “10am-3pm Clark House; Malta Closed” on a holiday in the weekly table using the notes.

    I tried %note%, %notes%, and a couple other things, but none worked.

    Unfortunately I can’t easily change to another plugin as this one was built into the accessible theme that my library’s system commissioned a couple years ago, and I have to resort to creative workarounds.

    Plugin Author Design Extreme

    (@designextreme)

    @jfinkle Sorry, perhaps I misunderstood your question.

    If you’re only looking for one set of opening hours, then you can add a note to Special opening hours with additional text. It will always appear as the same wherever a note appears.

    I haven’t considered only showing a note for a given date or date range (by excluding everything else), so I’ll look into this for you, but I doubt that it is possible with the plugin as it is.

    Plugin Author Design Extreme

    (@designextreme)

    @jfinkle At the moment, there is nothing available to call a note for a specific day. However, this would be a useful addition to the logic and variables, so I will look into adding this in a future release.

    Thanks again for the feature request and sorry for the misunderstanding in the first response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.