Title: Custom text after &#8216;hours&#8217;
Last modified: August 23, 2021

---

# Custom text after ‘hours’

 *  Resolved [wes1731](https://wordpress.org/support/users/wes1731/)
 * (@wes1731)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/custom-text-after-hours/)
 * Hi there,
 * I’m trying to add custom text after the hours. For example, I want it to say 
   this:
 * Sunday 7am – 3pm ** Breakfast until 12pm**
 * The bold part is what I want to add. How can I add this to the table? Thanks 
   in advance for any help or ideas.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/custom-text-after-hours/#post-14795272)
 * [@wes1731](https://wordpress.org/support/users/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.
 *  Thread Starter [wes1731](https://wordpress.org/support/users/wes1731/)
 * (@wes1731)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/custom-text-after-hours/#post-14797786)
 * 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.
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/custom-text-after-hours/#post-14803739)
 * [@wes1731](https://wordpress.org/support/users/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.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom text after ‘hours’’ is closed to new replies.

 * ![](https://ps.w.org/opening-hours/assets/icon.svg?rev=2706372)
 * [We’re Open!](https://wordpress.org/plugins/opening-hours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/opening-hours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/opening-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/opening-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/opening-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/opening-hours/reviews/)

## Tags

 * [text](https://wordpress.org/support/topic-tag/text/)

 * 3 replies
 * 2 participants
 * Last reply from: [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/custom-text-after-hours/#post-14803739)
 * Status: resolved