Block Visibility 3.0.0 Makes Pro Version Free, Adds Browser and Device Control, Visibility Presets, and More – WP Tavern
WordPress contributor and developer Nick Diego has launched version 3.0.0 of his Block Visibility plugin, which permits customers to conditionally show blocks based mostly on particular person roles, logged in/out, particular customers, display sizes, question strings, ACF fields, and extra.
The largest change on this replace is that Diego has determined to merge the Professional model with the free plugin so customers now not must buy a business add-on to get additional options. Diego launched the professional model in 2021 to assist help his efforts growing the free plugin however stated that is now not mandatory.
“Initially I had deliberate on growing a plugin enterprise,” he stated. “However I discovered my love for constructing, contributing, and educating surpassed my need to be an entrepreneur within the plugin house. This fashion, I can deal with my ardour and likewise help the group.”
Model 3.0.0 contains beforehand professional options akin to browser and device control that permits for displaying customized content material based mostly on the browser and/or gadget of the present person. It additionally provides Location control, which isn’t what it seems like. It permits customers to point out or cover content material based mostly on the place the block is situated on the web site and attributes of its location. Blocks might be conditionally displayed based mostly on put up taxonomy, put up sort, and different guidelines that supply extra management over block visibility than one may ever have imagined doable.
This replace brings in controls for Cookies, Metadata, Referral Source, and URL Path. It expands the Date & Time management to incorporate Day of Week and Time of Day.
Visibility Presets is one other mind-blowing new characteristic on this launch, the sort that makes you surprise how this may very well be a free plugin. It permits customers to create a set of visibility circumstances that may be utilized to different blocks with a single click on. Blocks can have a number of presets utilized, and Diego stated that is simply the primary iteration of this characteristic.
This launch contains every part besides the WooCommerce and Simple Digital Downloads controls, which embody conditional block logic for buying cart contents, product particulars, buyer metrics, and extra. Diego plans so as to add these later in April with the subsequent model (3.1.0), so he could make just a few additional adjustments to them earlier than together with them within the free model. Customers who depend on the WooCommerce or Simple Digital Downloads controls might want to wait till the subsequent launch to deactivate the Professional add-on.
The Block Visibility plugin’s documentation is already in depth, with movies, screenshots, and tutorials for almost each characteristic. Diego stated he will probably be investing extra time into documenting how builders can create their very own Block Visibility extensions. The plugin presently has greater than 9,000 lively customers and can probably see extra development now that the professional options are getting rolled into the free model.