This is feature image

How to Add Categories Blocks in WordPress

Published by on February 2, 2024
Categories: BLOG WORDPRESS

Categories List Block is a feature that helps to add a list of categories to posts or pages. Displaying a list of categories within your WordPress content can be visually appealing.  The Categories List Block is very valuable for bloggers and content creators seeking to enhance navigation and improve the user experience. 

We will explore how the Categories List Block in WordPress contributes to creating more intuitive and structured websites and highlight its significance and functionalities.

How to Add the Categories List Block

To add the categories lis block in WordPress post or page follow the steps: 

Go to the WordPress left-side pan.

go to Pages >> Add New Page.

or

go to Posts >> Add New Post.

After adding the title and content, click again +sign to add a new block.

Search for categories in the block box as shown below in the picture.

Click Categories List.

How to Add Categories Blocks in WordPress

After Clicking the Categories List you can see all categories are listed on the page.

You can change the display option for the categories block.

How to Add Categories Blocks in WordPress

Page Categories Display Options

By default, all categories are displayed on the page in a list. You can choose how categories are displayed on either the page or the post page. You have the option of displaying Categories in a drop down, including post counts, only showing top-level categories, showing empty categories, or showing hierarchy.

How to Add Categories Blocks in WordPress

Options For Displaying Top-Level Categories 

As shown in the picture, click on the categories list. 

On the right side panel, you will see the settings option.

Click the option Show only top level categories.

How to Add Categories Blocks in WordPress

Display Categories and Subcategories in Hierarchy

In the settings option, in the right side panel.

Click the option Show hierarchy.

Categories and subcategories will be displayed in a hierarchical order.

How to Add Categories Blocks in WordPress

Display Post Counts With Categories

In the settings option in the right pan.

Click the option Show post counts.

It will display the total number of posts in each category and subcategories.

How to Add Categories Blocks in WordPress

Display Categories As Dropdown

In the settings option in the right pan.

Click the option Display as dropdown.

It will display the category and subcategories in a dropdown.

How to Add Categories Blocks in WordPress

All these categories display options change the way categories look on the category page.

Here you can see we have selected the option Show hierarchy and Show post counts.

How to Add Categories Blocks in WordPress

Conclusion

In this article, we have explained, how to display subcategories on category pages. Your website visitors can benefit from better content discovery and more structured navigation when categories and subcategories are displayed on pages.

Improved hierarchical order is a key factor in improving SEO and attracting more traffic. By organizing content into categories and subcategories, proper navigation and display can be achieved.

The purpose of this article is to assist you in providing knowledge about displaying categories and subcategories on a dedicated page in WordPress. 

gurjit singh

Gurjit Singh is a Content Writer and Web developer. He has experience in theme development, front-end development, and digital market. He loves to share his knowledge to help others in creating Websites, WordPress blogs, and SEO.