The Tag Cloud block allows adding tag/category cloud into the page/post. A tag cloud is a list of all tags /categories on your site, displayed in alphabetical order.
Tag cloud helps your readers to discover and search content easily and quickly.
The Tag Cloud block displays each tag with the font size based on the number of times that tag has been associated with posts. The bigger the size, the more posts are tagged with that tag. This helps your readers know your favorite subjects and the topics you write about most frequently.
How to add a Tag Cloud block to your post or page:
- Add the Tag Cloud block to your post or page by clicking on the “Block Inserter” (+). Alternatively, you can type
/tag-cloud
in a new paragraph block and pressenter
.
Detailed instructions on adding blocks
If you have tags/categories on your site, the Tag Cloud block will display a list of the tags as follows:
If the site doesn’t have any tags then it will display the message as shown below.
Note: Tags’ appearance varies based on the selected theme.
Block Toolbar
Each block has its own block-specific controls that allow you to customize the block right in the editor. The Tag Cloud block offers the following options in its toolbar:
- Transform to
- Drag
- Move handles
- Change alignment
- More Options.
Transform to:
When you click on the Transform button you can convert the Tag Cloud block into a Categories List, Columns, or Group. The Group lets you change the background color around the Tag Cloud block. You can also change the Tag Cloud styles from Default to Outline.
Drag icon
To drag and drop the block to a new location on the page template, click and hold the rectangle of dots, then drag to the new location. The blue separator line indicates where the block will be placed. Release the left mouse button when you find the new location to place the block.
Move handles
The up and down arrow icons can be used to move a block up and down on the page.
Get more information about moving a block within the editor.
Change alignment
- Wide width – Increase the width of the Tag Cloud block beyond the content size.
- Full width – Extend the Tag Cloud block to cover the full width of the screen.
- Align left – Make the Tag Cloud left aligned
- Align center – Make the Tag Cloud aligned center.
- Align right – Make the Tag Cloud right aligned.
Note: “Wide width” and “Full width” alignment is only available if it is enabled by the Theme of your site.
More options
These controls give you the option to copy, duplicate, and edit your block as HTML.
Read about these and other settings.
Block Settings
Every block has specific options in the editor sidebar in addition to the options found in the block toolbar. If you do not see the sidebar, simply click the ‘settings’ icon next to the Publish button.
Settings tab
Taxonomy
Select from the following two taxonomy types: Categories or Tags. The Tag Cloud is displayed based on the selected taxonomy.
Show post counts
Toggle the switch to display the number of posts associated with the taxonomy.
Number of tags
Move the slider or type in a number to change the number of taxonomy terms that can be displayed in the Tag Cloud.
Smallest size/ Largest size: Change the smallest and largest font size that can be used in the Tag Cloud. You can change the font size unit between PX, %, EM, REM, VW, VH.
Styles tab
Styles
You can modify the Tag Cloud block styles by choosing the ‘Default’ or ‘Outline’ buttons in the Styles settings panel. Hover over the ‘Default’ or ‘Outline’ buttons to get a preview of the styles.
The style options may vary based on your theme.
Typography
Typography settings allow you to change a block’s font size, appearance, line height, letter casing, and spacing.
Get more details about changing typography settings.
Dimensions
Dimension controls are used to control how groups of blocks are placed alongside one another, by changing the values for padding, margin, and other dimensions
Advanced
The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.
Changelog
- 2023-03-30
- Updated screenshots.
- Added information about typography options.
- Updated 2023-01-26
- Updated for formatting consistency.
- Updated 2022-11-26
- Alinged images for mobile view .
- Removed redundant content .
- Updated 2022-11-17
- Updated screenshots and content for 6.1.
- Updated 2022-07-19
- Added content and screenshots for 6.0.
- Added ALT tags for images.
- Created 2020-08-17
Was this article helpful? How could it be improved?
Log in to submit feedback. If you need support with something that wasn't covered by this article, please post your question in the support forums.