How to Add Collapsible/Expandable Content in WordPress 

In the constantly evolving field of web design, creating an engaging user experience is very important. As a content creator or website owner, you probably ran into the need to provide a large amount of information without overwhelming your readers. And here, the collapsible/expandable content space feature on WordPress will come in handy.

It saves space while keeping visitors engaged with the post/page at the same time. In this way, visitors have the option of deciding whether they want to see the content or not. And this way you’ll be able to show a lot of content in a single post/page without making the post too long.

This guide will walk you through the process of adding a collapsible/expandable content area to your WordPress posts without needing any coding experience. Get ready to captivate your audience with a simple and user-friendly browsing experience. Let’s get started! 

Adding Collapsible/Expandable Content in WordPress

There are some really good plugins available out there that will let you easily add collapsible/expandable content to your post. Today we’ll go over one of them, Ultimate Blocks, and how to use it efficiently in this case. Ultimate Blocks has two different blocks for creating collapsible/expandable content and we’ll cover them both.

Step 1: Install the Ultimate Blocks Plugin 

First of all, get the plugin. To install the Ultimate Blocks Plugin, go to the WordPress dashboard, then click on Plugins (1), then Add New (2), and then type Ultimate Blocks in the search bar (3), and hit enter. Then just click on the install (4) button and activate the plugin. 

Step 2: Add Collapsible/Expandable Content using the ‘Content Toggle’ Block 

You can start using the plugin straight away after installing it. Go to the post where you want to add collapsible/expandable content and click the (+) icon to add a new block. Then search for the Content Toggle. By clicking on it, you can insert the block into your post.

When you have it inserted, add the title of your collapsible/expandable text in the ‘Panel Title’ box and your main content below it. If you want, you can expand the area by clicking the (+) icon.

Once you’ve added all the collapsible/expandable content areas, you can customize stuff like toggle state, FAQ schema, and more.

Step 3: Add Collapsible/Expandable Content using the ‘Expand’ block 

Moving on, we have this Expand block. It mostly operates as a read more and read less dropdown text box.

Now, if you want to use this, insert the Expand block instead of the Content Toggle block.

Then it’s quite easy, just add the content you would like to show before the ‘show more’ text and the hidden stuff between the ‘show more’ and ‘show less’ text. 

There you have it. Now you can easily add collapsible/expandable content in your WordPress posts or pages.


This feature, adding collapsible/expandable content, will surely enhance the usability and overall looks of your website, making it easier for visitors to navigate through lengthy articles or browse through different sections of your site, whether you use a plugin or custom code. But, if you ask me, I’d say just stick to block editors while using this. It will save you a lot of time.

Make sure your content and elements are optimized for fast loading and smooth interactions. Explore, experiment, and never stop being curious.

Introducing a New Table Block Plugin - Tableberg
This is default text for notification bar