Time-Based Content Scheduling

Schedule content to display by time of day and day of week.

Demo

How does it work

Use Schedule Content to display different versions by time of day and day of week. Create time windows for business hours, after-hours, weekends, and more.

Use cases

  • Show a click to call button during opening hours on mobile.
  • Display a contact form when your business is closed.
  • Show opening hours when the business is closed.
  • Rotate messages or offers by time of day.

Display a contact form when your business is closed

27

Customize content by time of day

29

What can be scheduled

Any content inside an If-So trigger: headings, text, images, calls to action, buttons, and custom HTML.

Time source

Server time: Uses your site time as set in Settings > General (WordPress). Choose this for schedules tied to a single business time zone.

User’s local time: Uses the visitor’s detected local time via our geolocation service. Choose this when content should align with each visitor’s local hours across regions.

Step-by-step

  1. Go to If-So → Add New Trigger in your WordPress dashboard.
  2. Click Select a condition and choose Time & Date.
  3. Select Schedule.
  4. Choose the time source: Server time or User’s local time.
  5. Select the hours and days to display the customized content.
  6. In the content field, add content for the selected times.
  7. In the default content field, add fallback content for other times (optional).
  8. Click Publish and paste the generated shortcode where you want it to appear.

Important: When using Server time, confirm your time zone under Settings > General. With User’s local time, consider caching exclusions or Ajax rendering for accurate per-visitor output.

Screenshots

1 13
2 13
3 15
4 12
5 11
6 9

FAQs

  • Does If-So work with server-side and WordPress caching solutions?

    Yes.

    Whether you are using a caching plugin or server caching, you can navigate to the plugin settings and enable the “Page Caching Compatibility” option.

    With the option enabled, dynamic triggers will be rendered in a separate request that will take place after the loading of the cached version.

    Learn more about Page Caching Compatibility.

  • Is it possible to set up conditional redirects (redirecting users to different pages based on conditions)?

    Yes, you can set up conditional redirects based on any If-So condition.

    For a step-by-step guide, click here.

Was this Helpful ?

    We're sorry couldn’t be more helpful ☹️

      Halloween Sale
      Up to 35%