How to add the Block Visibility controls to individual buttons?
-
The block editor, wrap buttons in a “Buttons” container. That container can be shown or hidden using Block Visibility.
However, the controls do not appear to be available at the individual Button block.
I have two buttons “Add to iPhone” and “Add to Android” and I was considering only showing the relevant button on the relevant OS, but as is, it does not appear to be possible.
(I can probably work around by using a Row block and two Buttons blocks, but I’d prefer not to add the additional markup and complexity if possible)
So, you think it would be possible, to add the Block Visibility controls to individual buttons?
- The topic ‘How to add the Block Visibility controls to individual buttons?’ is closed to new replies.