Description
NoniHours is a small, focused plugin that answers one question for your visitors: “Are you open right now?”
Set your opening and closing time for each day of the week under Settings > NoniHours, then place the shortcodes anywhere on your site — a header, a sidebar, your contact page, or your footer.
Shortcodes
[open_hours_status]— Shows the current status using your own wording, plus today’s hours. Example output: “Open now · 9:00–18:00”. The status is calculated from the timezone in your WordPress settings (Settings > General), so it is always correct for your business location, not the visitor’s.[open_hours_week]— Shows the full weekly hours list, Monday to Sunday, with today highlighted.
Features
- Opening and closing time per weekday, with a “closed all day” option per day
- Custom “Open now” and “Closed” texts — use any wording or language you like
- Uses your WordPress timezone and time format settings
- Lightweight: no external requests, no tracking, no ads, nothing leaves your site
- Translation-ready
Installation
- Upload the
nonihours-business-hours-statusfolder to the/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Go to Settings > NoniHours and set your weekly hours.
- Add
[open_hours_status]and/or[open_hours_week]to any post, page, widget, or template.
FAQ
-
Which timezone does the status use?
-
Your site’s timezone, as set in Settings > General > Timezone. NoniHours reads it through WordPress itself (
wp_timezone()), so daylight saving changes are handled automatically. -
Can I set overnight hours, such as 18:00–02:00?
-
Not in this version. NoniHours supports same-day ranges only (for example 9:00–18:00). A range whose closing time is earlier than its opening time will simply never show as open.
-
What happens on a day I mark “Closed all day”?
-
The status shortcode shows only your “Closed” text for that day, and the weekly list shows “Closed” instead of a time range.
-
Can I change the “Open now” and “Closed” wording?
-
Yes. Both texts can be changed on the settings page, so you can write them in your own language or style, for example “We’re open — come on in!”.
-
Does the plugin collect any data or phone home?
-
No. NoniHours makes no external network requests and contains no tracking or analytics. Your hours are stored in a single WordPress option.
-
How can I style the output?
-
The shortcodes output semantic HTML with CSS classes you can target:
.ophrs-status,.ophrs-status--open,.ophrs-status--closed,.ophrs-week,.ophrs-day, and.ophrs-day--today. A small default stylesheet (a colored open/closed dot and a simple list layout) is included and can be overridden by your theme.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“NoniHours – Business Hours Status” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NoniHours – Business Hours Status” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Weekly opening hours settings page under Settings > NoniHours.
[open_hours_status]shortcode with live open/closed status based on the site timezone.[open_hours_week]shortcode with the full weekly hours list.