이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Business Hours Plugin

설명

The Business Hours Plugin allows you to post your daily working hours and show it to your visitors:

  • In a configurable and templatable widget.
  • In a page / post using shortcodes

You’ll be able to choose between showing only today’s working hours, or a collapsible table with the hours for each day of the week.
If you want to show only today’s working hours, the plugin will check your timezone settings to calculate which day to show.

Also, Business Hours is 100% translatable to your language.
We’ve included language files for:

  • Spanish
  • Dutch

If you want to help me translate this plugin to your language, please drop me a line or contact me in the support forum

스크린샷

  • Business Hours Settings
  • Exceptions Settings
  • Widget Settings
  • Front-End Widget: Closed
  • Front-End Widget: Working
  • Front-End Widget: Full week, with an exception

설치

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings->Working Hours to configure your schedule
  4. Go to Appearance->Widgets and add the “Working Hours” widget in the sidebar you want.

FAQ

  1. What timezone is the plugin using to determine when the day changes?

This plugins uses the timezone configured in WordPress settings. ( Settings->General )

  1. Shortcodes what??

The shortcode you need to use is this:

[businesshours closed="TEXT FOR WHEN ITS CLOSED"]TEMPLATE[/businesshours]

As TEMPLATE you should use {{TodayOpen}} for today’s open hours and {{TodayClose}} for closing hours.

For example:

[businesshours closed="Today is closed."]Today we work from {{TodayOpen}} to {{TodayClose}}[/businesshours]

Also there’s another shortcode that allows you to show the full week table:

[businesshoursweek]

You can also use

[businesshoursweek collapsible="true"]

to have the list collapsed by default and a link to open it.

후기

2016년 9월 3일
I've been using this plugin on client sites for years. For 99% of businesses, it's a simple and straightforward way to display your business hours as a widget and dynamically display hours for the current day. Easy to style, easy to add holidays... hard to screw up. Love it!
2016년 9월 3일
We've been using this plugin for years, and we test it when there is a WordPress update, but it was written well and still works well. We like that it has an exceptions setting, so we can enter holidays and other exceptions to our working hours. As mentioned, this plugin does not handle 'split hours' well. If you have opening hours with a lunch break, this could be handled in the message output, such as: [businesshours closed="Today we are closed."]Today we work from {{TodayOpen}} to {{TodayClose}} closed for lunch from 1PM until 2PM[/businesshours] but if your closed period varies from day to day, this will not work for you. Overall, a tight, well written plugin that solves our needs and we've been using it for years. Might be time for an update to add some new features though... hint, hint.
모든 5 평가 읽기

기여자 & 개발자

“Business Hours Plugin”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Business Hours Plugin”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0

  • Feature: Allow for exceptions (for holidays, etc)
  • Enhancement: Allow users to overide views templates
  • Enhancement: Allow to show the hours table fixed in the widget (without collapsible)
  • Enhancement: Cleanup widget admin. Hide templating fields. Clarify some texts.
  • Enhancement: Cleanup settings admin. Sexier and more intuitive.
  • Enhancement: The plugin will respect the “Week Starts On” value from Settings->General to show the days
  • Enhancement: Works with WordPress 3.5
  • Enhancement: General cleaning and improve architecture.
  • Enhancement: Improve code quality ( a lot! )
  • Enhancement: Improve loading speed
  • Bugfix: Fixed how I’m handling timezones to account for DST
  • Bugfix: Fixed minor bugs for WordPress 3.4.2
  • Bugfix: Added missing getText calls in hardcoded strings
  • New filter: business-hours-closed-text
  • New filter: business-hours-open-hour
  • New filter: business-hours-close-hour
  • New filter: business-hours-is-open-today
  • New filter: business-hours-view-template
  • New filter: business-hours-collapsible-link-anchor
  • New filter: business-hours-exceptions-how-many-years
  • New filter: business-hours-save-settings
  • New filter: business-hours-row-class
  • New action: business-hours-settings-page
  • New action: business-hours-before-row
  • New action: business-hours-after-row

1.3.2

  • Fixed how the plugin handles weekdays names localization
  • Added dutch language files

1.3.1

  • Added Spanish language files
  • Fixed some localization related issues

1.3

  • Added the shortcodes
  • Added localization and english lang file
  • Added text-align=center; to: .business_hours_table_closed, .business_hours_table_heading, .business_hours_table_open and .business_hours_table_close
  • Fix: Spelling collapsable for collapsible.

1.2

  • Added an optional collapsable table in the widget showing the working hours for all weekdays.
  • Fixed the mess of different names (working hours, open hours, etc) in favour of Business Hours.
  • Added support email
  • WordPress 3.3 compatible.

1.1

  • Some minor bug fixes

1.0.2

  • Fixed screenshots

1.0.1

  • Fixed plugin info in php header

1.0

  • First release