Master Reusable Blocks in JustCMS

Explore the benefits of reusable blocks in JustCMS. This guide covers everything from creation to management, helping you save time and ensure your content remains consistent.

Reusable blocks are one of the most powerful features in JustCMS. They allow you to display the same piece of information on multiple pages while maintaining the flexibility to edit or delete it in one place. Any changes you make are automatically applied across all pages using the block, making it a perfect solution for managing sections like pricing, testimonials, or other static content.

In this article, we’ll walk you through how to create and use reusable blocks in JustCMS, with tips on how to make the most of this time-saving feature.

What Are Reusable Blocks?

Reusable blocks are pre-configured sections of content that can be used across multiple pages on your website. Instead of duplicating and editing the same content on different pages, you can create one reusable block and update it in one central location.

For example, if you have a pricing table or a testimonials section that needs to appear on several pages, a reusable block makes it easy to manage and update that content consistently.

Creating a Reusable Block

Method 1: Using the Reusable Blocks Section

Using the Reusable Blocks Section

The first way to create a reusable block is through the dedicated reusable blocks section in JustCMS. Here’s how:

Access the Reusable Blocks Section
Navigate to the reusable blocks section and click on the Create Reusable Block button.

Set Up the Block

  • Name your block. For example, let’s call this block “Features.”

  • Add a style that will be used on the frontend. Let’s name it “features.”

Add Content to the Block
Now, you can start adding options to your block.

Save the Block
Once you’ve added all the options, click Save to finalize your reusable block.

Add the Block to a Page
On the desired page, click the reusable block button and select the block you’ve created. The block will be added but remain disabled for direct editing on the page. This ensures that updates are managed centrally, saving time and reducing errors.

Why Reusable Blocks Are Disabled for Editing on Pages?

When you add a reusable block to a page, it’s intentionally disabled for direct editing. Here’s why:
If you use the block on multiple pages—say, 500 pages—and need to make an update, you can simply edit the block in the reusable blocks section. The changes will automatically apply to all pages where the block is used, ensuring consistency and saving you countless hours of manual updates.

Method 2: Creating Reusable Blocks Directly from a Page

Another way to create reusable blocks is directly from a page form. This method is especially useful when you’re building content on the fly.


Instead of adding content manually, take advantage of JustCMS’s AI-powered tools to generate content quickly. For example, if you’re creating a block listing the advantages of a headless CMS, AI can generate the content for you.

Creating Reusable Blocks Directly from a Page

After adding the generated block to the page, navigate to the block menu and save it as a reusable block. Once saved, the block becomes available in the reusable blocks section for future use and updates.

Benefits of Reusable Blocks

  • Centralized Management: Edit content in one place and apply changes across all pages instantly.

  • Time-Saving: Reduce repetitive tasks and streamline your workflow.

  • Consistency: Ensure uniformity across your website by managing static content efficiently.

  • Flexibility: Use AI tools to create dynamic content quickly, or customize blocks manually to suit your needs.

Conclusion

Reusable blocks in JustCMS are a game-changer for managing content efficiently across your website. Whether you’re using them for pricing tables, testimonials, or other static sections, they help you save time, maintain consistency, and streamline your workflow. Plus, with the added power of AI tools, creating and managing content has never been easier.

Try reusable blocks in JustCMS today and experience the difference for yourself. If you’d like to learn more about other time-saving features, check out our other articles and tutorials.