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–6 of 6 snippets “block-bindings”

  • PHP Block Editor

    Block Bindings Source: Author Details

    Registers a block bindings source so paragraphs, headings, buttons and images can show the post author's name, bio, archive link or avatar, which is handy for author boxes in block themes.

  • PHP Block Editor

    Block Bindings Source: Main Category

    Registers a block bindings source that shows a post's main category name, link or description in any paragraph, heading or button, for example as a label above titles in a Query Loop.

  • PHP Block Editor

    Make a Custom Field Usable in Blocks

    Registers a custom field (such as a subtitle) with the REST API so it can be connected to Paragraph or Heading blocks through Block Bindings and edited right in the block.

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.