Block Visibility 3.4.0: Seasonal Schedules and WordPress 6.5

|

|

Block Visibility 3.4.0 focuses on preparing the plugin for WordPress 6.5, which will be released on April 2, 2024. I removed a few deprecated functions, fixed how editor styles were enqueued, bumped the minimum version to WordPress 6.3, added demo content to the Playground blueprint, and more.

You can check out the new Playground demo using the button below.

The one new feature included in 3.4.0 is the ability to set seasonal schedules. This has been one of the top feature requests for some time.

Seasonal schedules

Prior to 3.4.0, all schedules created using the Date & Time control depended on the year as well as the month, day, and time. While this approach satisfies most use cases, creating seasonal schedules was tedious.

Consider the scenario where you want to display a block every March. You would have to create a schedule for each year, which would look like this:

Now, you will find a toggle that reads “Make schedule seasonal.” When selected, the year is removed. As long as the current date (year-agnostic) falls within the range selected, the block will be displayed.

You can also combine seasonal schedules with the day-of-week and time-of-day settings, just like normal schedules. This update should make it easier to build date and time conditionals.

Next steps

The continued development of Block Visibility will focus on improving current functionality and adding new features to existing controls. No new integrations are on the horizon. The goal is to make each existing control as feature-rich as possible while ensuring the plugin feels like a native Core add-on.

If you find a bug or have a feature request, please submit a support ticket or create an issue on the Block Visibility GitHub repo. Pull requests are also always welcome. So, if a feature you really want is taking too long for me to build, I encourage you to become a contributor!

Thanks for your interest in Block Visibility. Until next time. 👋


Nick Diego Avatar

Nick is the creator of Block Visibility. He is also an active WordPress contributor and Developer Advocate focusing on block-based WordPress. You can follow him on Twitter or reach out in WordPress Slack at @ndiego.

Share Your Thoughts

Your email address will not be published. Required fields are marked *

Recent Posts

Ready to try Block Visibility?

Unlock the power of the Block Editor with location controls, advanced block scheduling, and more!