Show a Link to Reusable Blocks in WordPress Admin Menu

Reusable blocks let you create common or repeated sections of content to insert into new posts or pages. By default, WordPress doesn’t have a way to navigate and edit reusable blocks outside of the single post editing experience.

This recipe adds a new menu item in the WordPress admin sidebar for “Reusable Blocks”. The interface resembles any list of posts or pages you can edit. Just know that if you do edit a block in this list, the update changes every place the block is already inserted into your posts or pages.

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. We have a post on how to create a customizations plugin on our partner website, Paid Memberships Pro.

Kim Coleman

Kim Coleman

Hi! I'm Kim Coleman, an internet entrepreneur from Reading, Pennsylvania. I've been working with WordPress for over 15 years. In 2011, I founded Paid Memberships Pro, a complete plugin for Recurring Subscriptions and Content Restriction with 100k active sites. I'm currently working on our new product, Sitewide Sales.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.