• I have disabled most of the built-in core blocks and used the ‘allowed_block_types_all’ hook to keep the blocks that I want. I have several custom WP blocks (created with ACF Pro) and custom contextual patterns, but when I have ‘core/columns’ disabled, the ‘Patterns’ tab disappears (screenshot of the pattern tab : https://snipboard.io/EMfmD7.jpg).

    Once I enable/ or add ‘core/columns’ to the ‘allowed_block_types_all’ hook, the ‘Patterns’ tab is there again, so I assume I will need to enable this block for contextual patterns to work. Is there a way to hide the ‘core/columns’ block in the inserter (screenshot: https://snipboard.io/r3MvkQ.jpg)?

    Note: Disabling the block under ‘Visible blocks’ (Preferences > Blocks) hides the block in the inserter, but the ‘Patterns’ tab is missing again.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • What I see in your screenshot, I don’t think is WordPress standard. You are at the list block on “Convert”? And you see there “Patterns”? I can not understand with me, even in 6.1 RC5. Does the option possibly come through ACF pure? Then you have to ask ACF why it disappears when you deactivate core/columns.

    Or does the pattern also disappear under the “+”? That does not happen with me either.

    Thread Starter rose18

    (@rose18)

    Hi @threadi ,

    From this article (https://wpengine.com/builders/wordpress-contextual-patterns/), this contextual pattern is a built-in feature in wordpress, so nothing related to ACF Pro.
    This feature basically allows you to convert the existing block into a pattern.

    Would anyone know a way to hide the ‘core/columns’ block in the inserter (screenshot: https://snipboard.io/r3MvkQ.jpg)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Block editor : Hide ‘core/columns’ block in inserter’ is closed to new replies.