ndiego / block-visibility

Conditional visibility controls for all WordPress blocks.
https://www.blockvisibilitywp.com
GNU General Public License v2.0
129 stars 10 forks source link

Block-based widget markup remains even if block is hidden #26

Closed ndiego closed 2 years ago

ndiego commented 2 years ago

This issue was reported in the support forum here: https://wordpress.org/support/topic/hidden-content-7/

Currently WordPress does not provide a way for us to filter the widget wrapper markup conditionally based on the blocks it contains. We will need to followup with WordPress/Gutenberg to see if a filter, or another workaround, can be enabled.