November 1

Showing your opening hours with

0  comments

Show your hours

Add this shortcode to any page, post or widget:

It shows the hours set in Helpdesk > Business Hours. See "Business hours, holidays and the out-of-hours notice". If business hours are switched off, visitors see nothing. Administrators see a note saying the schedule is hidden.

What visitors see

  • A badge reading "Open now" or "Closed now". When closed it also says when you next open.
  • A table of the seven weekdays, with times such as "9:00 am – 5:00 pm". Split shifts are separated by commas, and closed days read "Closed".
  • A line reading "Times shown in TIMEZONE." for example Europe/London.

The times are always your site's timezone, never the visitor's local time. The table does not list holidays, but the Open now or Closed now badge takes them into account.

HelpDesk WP business hours shortcode on the front end showing a Closed now badge, Monday to Friday 9:00 am to 5:00 pm and Saturday and Sunday closed
The business hours shortcode with a live Open now or Closed now badge.

One department

Use the department's numeric ID:

The ID is not the name or slug. If you type a name such as department="billing", HelpDesk WP cannot read it and shows the main schedule instead. A department that has no schedule of its own also shows the main schedule. To find an ID, open the department for editing in Helpdesk > Departments and look for the number after "tag_ID=" in the address bar.

Hide parts of the output

  • show_status="no" hides the Open now or Closed now badge.
  • show_timezone="no" hides the timezone line.

Tip

Put it next to the ticket form so people know when you will reply.

Still stuck? Open a ticket on the support page on ABC and a real person will help.

Was this article helpful?

  • business hours
  • HelpDesk WP
  • opening hours
  • shortcode

← Helpdesk WP


Tags


You may also like

Hello world!

Hello world!
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch

Name*
Email*
Message
0 of 350