Halloween Sale 15% off Ends in See the plans

Snippet Library

Block Editor snippets for WordPress

Snippets for the block editor: disable or limit blocks, lock patterns, set default blocks, change the editor width and add block styles. For developers and agencies who want a focused, client-proof editing experience.

1–3 of 3 snippets “structure”

  • PHP Block Editor

    Allowed Blocks per Post Type

    Limits the blocks that can be inserted for specific post types, so structured content such as testimonials or team members only uses the blocks that fit.

  • PHP Block Editor

    Block Template for New Posts

    Starts every new post with a set of placeholder blocks, such as a summary paragraph, a heading and an image, so writers follow the same structure.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.