WordPress plugin intelligence profile

TS Business Hours

TSBusinessDay class with functions used for restricting content based on hours of operation. Requires Advanced Custom Fields and 3 of its add-ons.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.7
Current version0.1.1
WordPress coverageTested up to WordPress 3.7
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update13 Jan 201412y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records TS Business Hours version 0.1.1 as active, updated 12y ago and tested up to WordPress 3.7.

Overview

About this plugin

TSBusinessDay class with functions used for restricting content based on hours of operation. Supports hours that run past midnight. Will eventually develop into full-fledged plugin, but thanks to Elliot Condon, I don’t have to just yet!

Dependencies

This function requires the Advanced Custom Fields plugin and some of its add-ons. They are as follows:

  • Repeater Field
  • Options Page
  • Date & Time Picker Field

The Repeater Field and Options page are premium add-ons. If you are already using them, you understand how invaluable they are. If not, there’s no better time to start!

Installation

  • Make sure you have all of the required dependencies.
  • Download the ts-business-hours directory and copy it to wp-content/plugins.
  • Activate the plugin on the Plugins page.
  • Navigate to the Options page. Configure days and hours. You must have both opening and closing times.
  • You must start the week on Sunday and end it on Saturday for the plugin to work correctly. This is because the plugin uses the date(‘w’) function.
  • See example.php and use accordingly.

Notes

I ran into an issue when working locally, which was that I had to wait until the turn of a minute to see my changes to the template file reflected live. I’m not sure why that is and would love to hear suggestions!

What does ‘TS’ stand for, anyway?

Tribeswell is an interactive marketing company specializing in high quality responsive website design. We are students of great design and useability. Choosing to work with Tribeswell means your organization will get the absolute best in modern design.

We are headquartered in Bloomington, Indiana and work with clients all across the midwest.

About the Author

Originally from Bedford, Indiana, Zack is currently working full-time at Tribeswell. Zack is passionate about front-end design and UX. He is instrumental in ensuring that every Tribeswell website contains a flawless level of fit and finish, providing an excellent experience for visitors.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • business
  • content
  • hours
  • operation
  • restrict
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.7
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity13 Jan 201412y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.