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 “members”

  • 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

    Query Loop Block: Random Order

    Shows posts in random order in any Query Loop block with the class "wpide-random-order", for rotating testimonials, team members or featured posts.

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.