Depakar Business Hours

Add-on for Depakar Social Chat. Show the chat button only during business hours, or switch it to an offline state.

Depakar Business Hours plugin icon

Keep chat visible only when you can respond.

A chat button that stays on overnight can create the wrong expectation. Visitors write when nobody is there, and the conversation starts with a delay you did not mean to offer. Depakar Business Hours adds a Business Hours tab to Depakar Social Chat so you can control when that button is available.

Set a weekly schedule with opening and closing times, closed-all-day days, overnight hours, or 24-hour days using your site timezone. Outside hours you can hide the chat button or show an offline version with its own text, link, and colour.

The open or closed check runs in the visitor’s browser so it still works with page caching. That matters on sites that already cache pages for speed: the schedule does not depend on a freshly generated server response to stay accurate.

Who this add-on is for.

Depakar Business Hours is for people who already use, or plan to use, Depakar Social Chat, and who are not available to reply at every hour of the day. That is a common situation on service sites, small teams, and any WordPress site that offers WhatsApp, phone, or another chat route but keeps defined working hours.

If you need the chat button, scroll-to-top control, and reading progress bar first, start with the Depakar Social Chat page. This add-on does not replace that plugin; it extends it once Social Chat 1.2.0 or later is active.

How it works.

After Social Chat is active, you install Depakar Business Hours and use the Business Hours tab in the Social Chat settings. There you set the weekly schedule in your site timezone: opening and closing times for each day, days that stay closed, overnight ranges, or 24-hour days.

When a visitor loads the page, their browser checks whether you are currently open. If you are closed, the plugin can hide the chat button entirely, or swap it for an offline state that you have already configured - including the wording, a link, and a colour that fits the rest of the layout.

You can preview that offline state before you save, so you are not guessing how it will look on the public page. Because the check happens in the browser, a cached copy of the page can still show the right state as the clock moves through your schedule.

Why it is useful.

Weekly schedule control

Open and closed times per day, including overnight and 24-hour options.

Offline state

Hide chat or show a custom offline button when you are closed.

Cache-friendly

Availability is checked in the browser, so cached pages stay accurate.

Live preview

Preview the offline state before saving settings.

What is included.

This add-on is deliberately narrow. It does not replace Depakar Social Chat; it adds the scheduling layer that Social Chat leaves to you:

A Business Hours tab

Manage the weekly schedule from the Social Chat settings, in your site timezone.

Flexible day types

Use ordinary opening hours, closed-all-day days, overnight hours, or 24-hour days.

Closed-state choices

Hide the button, or show an offline version with its own text, link, and colour.

A preview before you save

Check the offline state in the admin preview so the public page matches what you intended.

To see the rest of the set, open the plugins catalogue. If you need a different kind of availability or contact workflow, the custom plugin service is the place to start, or you can contact me directly.

Ready to schedule chat availability?

Install Depakar Business Hours from WordPress.org after Depakar Social Chat is active.

FAQ

Common questions.

Does Depakar Business Hours work on its own?

No. It is an add-on for Depakar Social Chat and requires Depakar Social Chat 1.2.0 or later. Install and activate Social Chat first, then add Business Hours.

Will this still work if my pages are cached?

Yes. The open or closed check runs in the visitor’s browser, so cached pages can still show the correct chat or offline state.

What can I do when we are closed?

Outside business hours you can hide the chat button, or show an offline version with its own text, link, and colour. You can preview the offline state before you save the settings.

How flexible is the weekly schedule?

You can set opening and closing times for each day, mark days as closed all day, and use overnight hours or 24-hour days. Times follow your site timezone.

Where do I install it?

Depakar Business Hours is available on WordPress.org. Install it after Depakar Social Chat is active.