@wes1731 At the moment, there are no sub sets of opening hours.
I have considered something to add for this, but I cannot think of an eloquent way to add text either before or after individual day’s opening hours (it needs to consider special hours too). The text could appear for just, some or all of the days of the week or a range of dates, handling of consolidated days, etc…. it starts to get really complicated once you open up the options.
Did you consider this (for all days)?
[open time_group_suffix="Breakfast until 12pm"]
One thing that may work as a “starting point” is an extension to this (a suggestion, not in the code right now):
[open time_group_suffix="0:Breakfast until 12pm"]
where 0 = Sunday, 1 = Monday, …, but this is a misuse of the parameter because this is meant to add words like “Uhr” in German.
Thanks for the quick reply! I tried it and that’s a good solution. The second example would be perfect because the breakfast hours are different on weekends.
I’ll try to add this code to the plugin but it might be a little too complicated for my limited coding skills.
Again, thanks for the help! You have a great plugin.
@wes1731 I’ll give this more thought and introduce something in the future.
At some point I want to add:
- The ability to add supplementary text as a prefix or a suffix to each of the hours for every day;
- A new parameter that will allow for a prefix or a suffix for each given day with a key of 0, 1, …, 6 to cover the days Sunday to Saturday;
- The prefix or suffix text will be enclosed by a <span> to allow for styling;
- Ideally, this would be able to handle “rules” such as closing time minus 1 hour for a kitchen closing (as an example). This time would use the same formatting as the overall times for consistency.
Please add your own suggestions as a reply, similarly this goes out to all users of this plugin.