=== Opening Hours === Contributors: janizde Tags: opening hours, venue, widget, shortcode, currently open Requires at least: 3.0.1 Tested up to: 3.6.1 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html The Opening Hours Plugin lets you set up your venue’s opening hours in a simple GUI and displays them in two Widgets and a Shortcode == Description == When having activated the plugin you can set up your venue’s opening hours in a couple of seconds on an extra options-page. You can add several periods for each day, e.g. if you’re having a lunch break. Now that the Plugin knows when your venue is open and when it is closed you can chose any ways among the following to show them in your front end: * The ‚Opening Hours Overview‘ Widget: This Widget lists up your Opening Hour in a table. The Special thing about it is, that it highlights the currently running opening period. You can also select either to display the days your venue is closed or not and add an individual caption for this case (see Screenshots). In the front end it perfectly integrates with most templates, as there is hardly any individual theming in the Widget itself. * The ‚Opening Hours Status‘ Widget: This Widget checks wether your venue is currently open or not and displays a text-string that you can customize yourself. You can also easily style the Widget via your theme’s style.css * The is_open() or is_closed() Template Tags: These Template Tags are functions that return a bool wether your venue is open or not (true/false). Use this in your Theme. * is-open Shortcode: This Shortcode basically does what the Opening Hours Status Widget does. But with the shortcode you can dynamically include the opening status in your posts and pages. You can also customize the text output via the attributes. The Plugin has language support for English and German (more to follow). Features to come with the next mayor version: 1. Option to show a label for exhibitional openings (no sale, no consult) 1. Individual Opening Hours (e.g. Christmas Days) 1. List of Holidays 1. Opening Hours Status Widget to also display the new featured (e.g. „We’re currently on holiday“) == Installation == 1. Download the .zip-archive 1. Unzip the archive 1. Upload the directory /opening-hours to your wp-content/plugins 1. In your Admin Panel go to Plugins and active the Opening Hours Plugin 1. Now you can edit your Opening Hours in the Settings-Section 1. Place the Widgets in your Sidebars or use the Shortcode in your posts and Pages For more detailed information read through Jeff Matson’s (@JeffMatson) Installation and Configuration Blog-Post: http://www.inmotionhosting.com/support/website/wordpress-plugins/opening-hours-plugin-for-wordpress == Frequently Asked Questions == == Screenshots == 1. Manage your Opening Hours in the WordPress Admin-Settings. 2. The Opening Hours Overview Widget lists up your Opening Hours in a Sidebar. 3. The Opening Hours Status Widget displays a text string in your Sidebar depending on wether your venue is open or closed. 4. These are the two Widgets in the front end. On the top there is the Overview Widget. The green period indicates that it’s the currently running period (it was between 13:00 and 18:30 when I took the screenshot). On the bottom there is the Status Widget displaying the default text. 5. Use the provided shortcode two show conditional text in your posts and pages. 6. This is how it looks like in the front end == Changelog == = 1.0 = initial version