How to create a Reusable Block in WordPress
I’m using Reusable Blocks a great deal on the Digital Owlβs Prose developer blog and my bass fishing niche website. Reusable Blocks are easy to create and use, but oh so powerful. I like ’em. A lot. Continue reading and learn how to create a WordPress Reusable Block. π
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
Suppose I like the paragraph text, “But this is even cooler if I put a button on it” and the Fancy Button button and plan to reuse these pieces of content on several places throughout the site.
(Please ignore the horrid – or lack thereof – design on this test site as it is just that, a test site. π)
This is how we can make them into a WordPress Reusable Block.
Using the List Tree view, I’ve placed both the individual paragraph block and the button block into a Group. Then clicking on the 3-dot hamburger menu, choose Create Reusable block selection.
Now you can name the WordPress Reusable Block. In this example, I name it My-Block:
Click the Save button and the WordPress Reusable Block is saved.
To use a Reusable Block, simply choose it from the Block Type menu as you would any other block while drafting a blog post:
Previewing the post, we can see the My-Block WordPress Reusable Block is displayed in the body of the post:
And that’s it. As you can see, it’s a breeze to create Reusable blocks in WordPress. In a follow-up post, I’ll show you how you can edit an existing WordPress Reusable Block.
Additional Reading
- Building Landing Pages with SeedProd
- Top 8 Mistakes Website Owners Make With Their WordPress Websites
Thank you for reading this post. Please share it with someone else who would enjoy it as well.
Josh Otwell has a passion to grow as a PHP Developer, SQL expert, and technical blogger/writer.
Disclaimer: The majority of examples in this post, are performed in a personal development/learning workstation environment and should not be considered production quality or ready. Your particular goals and needs may vary. Like always, just because you can do something doesn’t mean you should. My opinions are my own.
More ways I can help
- Starting a blog? I use WordPress for the Digital Owl’s Prose blog. Letβs both save money on the plans offered. πΈ
- Get your brand, product, or service the attention it deserves with affordable classified ad placement in the OpenLampTech newsletter.
- Need hosting for your next web application or WordPress site? I highly recommend Hostinger and use them to host my niche bass fishing site. The service is second to none and they provide free SSL.
- π5 Truths I’ve Come To Realize As a Self-taught Developer
Disclosure: Some of this blog post’s services and product links are affiliate links. At no additional cost to you, should you make a purchase by clicking through one of them, I will receive a commission.
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
π° Get your brand, product, or service the attention it deserves with affordable classified ad placement in the OpenLampTech newsletter. Thank you for your support!
One thought on “How to create a Reusable Block in WordPress”