WXP Opening Times
Show the opening times of an organisation, and whether it is open right now.
Use with caution
WXP Opening Times works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.1 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where WXP Opening Times stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| business hours | >100 |
| holidays | >100 |
| open now | >100 |
| Opening Hours | >100 |
| opening times | #36 |
About WXP Opening Times
From the official readme Β· v1.0.0Description
WXP Opening Times shows your opening times on any page with a shortcode, together with an Open/Closed badge that stays correct while the visitor is on the page.
- Set the weekly opening times by ticking the days. Add a second (or third) set of times for a lunch break: 8:00β12:00 and 14:00β18:00. A closing time earlier than the opening time means “after midnight”.
- Exceptions: different times in a period (summer and winter hours, a holiday closure, only on certain weekdays), and rules for holidays. Holiday dates are calculated for every year (Easter and everything that depends on it included).
- Several named schedules, for example “Restaurant” and “Kitchen”. Each can use its own words, such as “Absent” instead of “Closed” for a doctor, or “to” instead of a dash.
- Visitors can browse to the next weeks.
- Templates are written in Twig and can be overridden in your theme.
- Works on its own. It can be used next to WXP Restaurant Menu, but does not need it.
- Ready for translation: help translate it on translate.wordpress.org.
Shortcode
[wxp_opening_times]
Attributes:
schedule– id of the schedule, shown in the admin (default: the first schedule).template–default(week table) orcompact(one line), or a template from your theme.show_status–yesorno: the Open/Closed badge (default yes).show_title–yesorno: the schedule name as a heading (default no);heading_levelsets the level (2-6, default 3).show_dates–yesorno: the date next to each weekday (default no).-
week_nav–yesorno: previous/next week buttons (default no);weeks_aheadsets how far visitors can look ahead (0-26, default 4). -
text_closed,text_open,text_separator,text_open_until,text_closed_opens– other words for this block only, for exampletext_closed="Absent". They win over the texts set for the schedule in the admin. Use{time}in the last two for the time.
Elementor
With Elementor active, the “Opening times” widget (panel “WXP Plugins”) shows the same output as the shortcode. It has the same options, optional alternative texts for that widget, and style controls for the badge colours, the typography, the lines, the highlight of today and the week buttons.
Block editor
The “Opening times” block (category “WXP Plugins”) has the same options as the shortcode in the sidebar, including the alternative texts, and shows a live preview in the editor. Like the shortcode and the Elementor widget it is rendered on the server, so the status is always current.
Structured data (JSON-LD)
Add schema="yes" to the shortcode (or switch on “Structured data for search engines” in the block or the Elementor widget) and the page also gets the opening times as schema.org JSON-LD (openingHoursSpecification), so search engines can show them. The weekly hours are included, and so are the exceptions of the next 365 days: a closed day has opens and closes “00:00”. It is printed once per schedule on a page, and not in the editor previews. The business is a LocalBusiness with the site name and address of the home page; change the type or add details (address, phone number) with the wxp_opening_times_schema filter, for example to make it a Restaurant.
If an SEO plugin already prints the data of your business, use wxp_opening_times_get_schema() to get the same array, and add it there.
For developers
Template override: copy a file from the plugin’s templates folder to wxp-opening-times/ in your (child) theme. The markup contract is described at the top of _base.html.twig.
Helper functions (call them after the init action):
wxp_opening_times_is_open( $schedule = '', $at = null )returns true when open.$atis an optional DateTimeImmutable.wxp_opening_times_get_holidays( $date )returns the holidays on a date (Y-m-d) as a list ofkey,labelandcalendar.wxp_opening_times_get_schedules()returnsconfigured(whether anything was saved yet) and theschedules(idandname).wxp_opening_times_get_status( $schedule = '', $at = null )returnsopen,closes_at,opens_at,next_change(Unix times) andschedule, or null for an unknown schedule.
Filters: wxp_opening_times_status, wxp_opening_times_template_context, wxp_opening_times_template_paths, wxp_opening_times_twig_cache, wxp_opening_times_schema, wxp_opening_times_schema_days, wxp_opening_times_load_css (return false to load your own CSS) and wxp_opening_times_holidays (add holiday providers, for example for other calendars).
CSS custom properties on .wxp-opening-times (--wxp-ot-open-bg, --wxp-ot-closed-bg and more) change the colours.
Source code and third-party libraries
The admin app and the block are built with @wordpress/scripts. The readable sources are in the plugin, in assets/admin/src and assets/block/src; the build commands are in package.json (npm install, then npm run build).
The plugin bundles Twig (BSD 3-Clause) and a few Symfony polyfills (MIT) in vendor-prefixed, with their namespaces prefixed so they cannot clash with other plugins. They are installed with Composer (composer install).
Installation
- Upload the plugin to
/wp-content/plugins/and activate it. - Open “Opening times” in the admin menu and set your times.
- Add
[wxp_opening_times]to a page.
The time zone, the week start day and the time format are taken from Settings, General.
Changelog
1.0.0
- First stable release. No functional changes since 0.12.0.
- The source of the built JavaScript is now included in the plugin.
0.12.0
- New helper functions
wxp_opening_times_get_holidays( $date )(the holidays on a date) andwxp_opening_times_get_schedules(), used by WXP Local Events to warn about events on holidays and closed days.
0.11.0
- A holiday can now have more than one date in a year (needed for the Islamic calendar), for add-ons.
- A holiday rule for a holiday that is not available (for example when an add-on is deactivated) is kept, shown as “not available” in the admin, and does nothing until the add-on is back.
0.10.0
- Opening times as schema.org JSON-LD (
schema="yes", block toggle, Elementor switch), with the filterswxp_opening_times_schemaandwxp_opening_times_schema_daysand the functionwxp_opening_times_get_schema().
0.9.0
- Block for the block editor, with a live preview and the same options as the shortcode.
- Elementor widgets of all WXP plugins now share one panel, “WXP Plugins”.
- The compact template no longer repeats the status in a second line.
0.8.0
- Elementor widget with content, text and style controls.
- Alternative texts per block through the
text_*shortcode attributes. - The plugin shows an admin notice instead of a fatal error when it cannot start; the bundled Twig no longer conflicts with other plugins that bundle it.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best WXP Opening Times alternatives
All business hours plugins βFAQ
WXP Opening Times: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WXP Opening Times free?
Yes. WXP Opening Times is free to download and use from the official WordPress.org plugin directory.
Is WXP Opening Times safe to use in 2026?
WXP Opening Times works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
How many websites use WXP Opening Times?
WXP Opening Times is active on <10 WordPress websites and has been downloaded 188 times since it launched in October 2026. It was downloaded 93 times in the last 30 days.
Does WXP Opening Times work with WordPress 7.1?
Yes. The developer has tested WXP Opening Times up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.
What PHP version does WXP Opening Times need?
WXP Opening Times requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WXP Opening Times last updated?
The latest version, 1.0.0, was released on October 25, 2026 (1 month ago).
Who makes WXP Opening Times?
WXP Opening Times is developed and maintained by Wilko van der Ploeg.
What are the best alternatives to WXP Opening Times?
The most popular alternatives to WXP Opening Times are Business Hours Indicator (7K+ installs), Weβre Open! (5K+ installs) and Business Hours & Holiday Scβ¦ (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


