Linux 软件免费装

NoniHours - Business Hours Status

开发者 muse1990
更新时间 2026年11月26日 09:48
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

opening hours business hours store hours open closed

下载

1.0.0

详情介绍:

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 Features

安装:

  1. Upload the nonihours-business-hours-status folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Go to Settings > NoniHours and set your weekly hours.
  4. Add [open_hours_status] and/or [open_hours_week] to any post, page, widget, or template.

常见问题:

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.

更新日志:

1.0.0