• Resolved Mark Howells-Mead

    (@markhowellsmead)


    We have programmed a custom block using React and in line with the WordPress documentation and standards. When we set the visibility of the block to “Show block to selected” with User Status “Logged In”, the block still appears to visitors who are not logged-in. The add-on “Members – Block Permissions” is active.

    Do we need to register the block somehow, so that this setting works correctly?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    @caseproof Sorry for the delay in responding. Adding members-block-permissions-editor as a dependency appears to work as a temporary fix in our case.

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    I answered a while back, but the comment was lost, somehow…

    Adding ‘members-block-permissions-editor’ as a dependency works as a temporary solution.

    Found the previous comment 🙂

    Thread Starter Mark Howells-Mead

    (@markhowellsmead)

    @caseproof and anyone else who is following this issue: the workaround (to use members-block-permissions-editor as a dependency) now only works if the pro version of the plugin is in use.

    If this dependency is defined and the non-pro version of the plugin is in use, your block scripts will not be loaded and you will not be able to edit any of your custom blocks!

Viewing 3 replies - 16 through 18 (of 18 total)

The topic ‘Custom block cannot be hidden’ is closed to new replies.