Block Visibility 3.1.0 Introduces WooCommerce and Easy Digital Downloads Controls
When WordPress contributor and developer Nick Diego released version 3.0 of his Block Visibility plugin earlier this year in March, he made all the Pro features available in the free version, with the exception of a few that would take more time. The plugin, which is used on more than 10,000 WordPress sites, allows users to conditionally display blocks based on specific user roles, logged in/out, specific users, screen sizes, query strings, ACF fields, and more.
In the latest 3.1.0 update, Block Visibility has added the missing WooCommerce and Easy Digital Downloads (EDD) controls. These features were originally planned to be merged into the free version in April but required more development to improve how they work on sites with large product/download catalogs.
The WooCommerce controls include 18 conditional visibility rules with full support for products with variable pricing. It allows users to show or hide blocks based on products, cart contents, customer purchase history, and more.
“There is one notable change to the product-based rules,” Diego said. “Previously, you had to select which product you wanted to target with the visibility conditions. While this is still possible, Block Visibility can now detect the current product.
“This functionality is extremely useful on product pages, single product templates, and product grids (Query blocks).”
The EDD controls allow users to show or hide blocks based on downloads, cart contents, customer purchase history, and more. Since EDD doesn’t have as many block-powered layouts as WooCommerce, Diego did not include the “Detect current product” feature.
“The EDD visibility control currently has no product-based rules,” he said. “If greater block support is added to EDD in the future, such as an EDD Products block that supports inner blocks, expect more functionality.”
Block Visibility 3.1.0 also adds a new Command Palette command to “Manage Visibility Presets,” which requires WordPress 6.3+.
Diego said he doesn’t plan on adding any new integrations to the plugin but will continue improving existing controls. Now that all the features from the Pro version have been merged into the free plugin, users who have the Pro version installed can deactivate it after upgrading to version 3.1.0.
The Block Visibility plugin has become a popular choice among WordPress users due to its ability to conditionally display blocks based on various factors. With the addition of WooCommerce and EDD controls, users now have even more flexibility in managing their website’s visibility.
The WooCommerce controls offer a wide range of options for displaying or hiding blocks based on specific products, cart contents, and customer purchase history. This is particularly useful for e-commerce websites that want to customize the user experience based on the products in their catalog.
One notable improvement in the product-based rules is the ability to detect the current product automatically. This eliminates the need for users to manually select the product they want to target with visibility conditions, making it easier and more efficient to manage product pages and grids.
While EDD controls don’t currently have product-based rules, they still provide valuable options for showing or hiding blocks based on downloads, cart contents, and customer purchase history. As EDD continues to evolve and add more block-powered layouts, users can expect additional functionality in the future.
The addition of the Command Palette command to manage visibility presets further enhances the usability of Block Visibility. Users can now easily access and manage their visibility presets directly from the Command Palette, streamlining the process and saving time.
Overall, the 3.1.0 update of Block Visibility brings significant improvements and expanded capabilities to WordPress users. With the inclusion of WooCommerce and EDD controls, as well as the Command Palette command, users have more control over their website’s visibility and can create a more personalized experience for their visitors.
As Nick Diego continues to refine and enhance the plugin, users can expect even more improvements in the future. The decision to merge all the Pro features into the free version demonstrates Diego’s commitment to providing a valuable and accessible tool for WordPress users.
If you’re looking to optimize the visibility of your WordPress blocks, Block Visibility is a plugin worth considering. With its extensive range of conditional visibility rules and now with added WooCommerce and EDD controls, it offers a powerful solution for customizing your website’s content based on specific criteria. Upgrade to version 3.1.0 today and take advantage of these new features.