🎉 Celebrating WordCamp Asia 2026 — All 8 plugins, $49 lifetime. Offer ends April 13th.
59 d
:
12 h
:
23 m
:
07 s
Buy Now
DOCUMENTATION

Time-Based Conditions

Schedule admin bar visibility based on time of day and specific days of the week.

2 min read    Last updated Feb 26, 2026

Overview

Schedule admin bar visibility based on time of day and specific days of the week. This feature is part of the Conditional Visibility category in Hide Admin Bar Pro.

Feature Details

Category Conditional Visibility
Type Admin Bar Control
Plan Pro
Configurable Settings Yes

Prerequisites

  • Hide Admin Bar Pro plugin must be installed and activated.
  • Pro license required for this feature.

How to Configure

  1. Go to your WordPress admin dashboard.
  2. Navigate to Settings > Hide Admin Bar Settings.
  3. Click the Conditional Visibility tab (Pro features appear as separate tabs).
  4. Configure the settings as needed and click Save.
  5. Changes take effect immediately — no page refresh needed for visitors.

How It Works

Configure the admin bar to be hidden during specific hours and days. Set a start time and end time (24-hour format) and select which days of the week the rule applies. The feature uses your WordPress timezone settings for accurate time calculations and supports overnight time ranges (e.g., 10 PM to 6 AM). Useful for restricting access during non-working hours or maintenance windows.

Benefits

  • Schedule-based visibility for specific hours and days.
  • Supports overnight time ranges spanning midnight.
  • Uses WordPress timezone for accurate calculations.
  • Day-of-week selection for weekday/weekend rules.
  • Ideal for business-hours-only admin access.

Frequently Asked Questions

How do I enable Time-Based Conditions?

Go to Settings > Hide Admin Bar Settings in your WordPress admin and navigate to the appropriate Pro tab.

Can I use this with other visibility conditions?

Yes, all visibility conditions work together. The plugin evaluates conditions in order: global settings, role-based, capability-based, and then Pro conditions (time, URL, device, per-user). If any condition triggers hiding, the admin bar is hidden.

What happens if I accidentally hide the admin bar for administrators?

The plugin provides a secure reset URL on the settings page. You can also access the reset URL directly to restore all settings to their defaults without needing the admin bar.

Need More Help?

Our support team can help with setup, troubleshooting, and best practices.

Contact Support