• Resolved Bjarne Oldrup

    (@oldrup)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @oldrup,

    Thanks for reaching out. You can enable Visibility controls for all blocks, including child blocks, by toggling on Full Control Mode. This can be accessed by navigating to Settings → Block Visibility and then scroll to the bottom of the “General Settings” tab.

    Let me know if I can answer any additional questions.

    Best,
    Nick

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Oh. Wow. That works like a charm. I really appreciate how finely you can tune Block Visibility to be available on one blocks and not others, limit access to editors, etc.

    Thank you for sharing this with the community ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add the Block Visibility controls to individual buttons?’ is closed to new replies.