Would you like display the most used labels on your WordPress website?

Tags and categories are the two default ways to sort your content in WordPress. Categories often have more exposure due to their wider scope, which gives tags a little less attention.

In this tutorial, we will show you how to easily display your most popular labels on WordPress.

But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

Then back to why we are here.

Why and When Should You Post Popular Labels on WordPress

Categories and Labels are the two default taxonomies for sorting your articles on WordPress. Categories are used for larger topics or sections on your website, while labels are well-suited to specific ideas in the context of your articles.

Often beginners end up using them incorrectly, but there are easy tools that allow you to merge categories and tags and even convert them.

Once you start using the categories and labels correctly, you will probably have more tags on your website than the categories. Because of their wider scope, you can place categories in the navigation menus, but your tags can often remain less explored.

One of the ways to fix this is to add the tag cloud widget by going to the " Appearance> Widgets », And adding a widget« Cloud of label To a sidebar.

Tag cloud on wordpress

However, you will notice that the default tags widget will display all of your tags in alphabetical order. You cannot rearrange their order or limit the number of labels to display.

You can solve this problem by displaying the most popular or most used tags on your WordPress website.

This will allow your users to quickly get an idea of the subjects the most frequently discussed on your website. It will also help them discover more content, which means more page views and user engagement.

Let's now see how to easily display your most popular tags on WordPress.

1. Display the most popular labels on WordPress using a plugin

This method is easier and recommended for most users.

The first thing you need to do is to install and activate the plugin Simple Tag. For more details see our step by step guide on how to install a WordPress Plugin.

After activating the plugin, you must visit the page " Appearance> Widgets »And add the widget« tag Cloud "(Simple Tags) at the sidebar.

Add the widget to the sidebar

The widget will expand, and you will see its settings.

Here you can select the number of tags you want to display, font sizes, colors, etc.

Read also our article on How to change the layout of your WordPress blog

To display your tags by popularity, make sure to select the number for "Order by for display tags" and picking up for options "Order for display tags».

Do not forget to click on the button « Save To store the settings of your widget.

You can now visit your website to see your popular tags in action.

Popular labels on wordpress

2. How to display popular tags on WordPress manually

This method requires you to add code to files of your WordPress theme. If you haven't already, check out our guide on how to copy and paste code in WordPress.

First, you need to add this code to the " functions.php Of your theme or a site-specific plugin.

function bpc_tag_cloud () {$ tags = get_tags (); $ args = array ('smallest' => 10, 'largest' => 22, 'unit' => 'px', 'number' => 10, 'format' => 'flat', 'separator' => " ", 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'echo' => false); $ tag_string = wp_generate_tag_cloud ($ tags, $ args); return $ tag_string; } // Add a shortcode so that we can use it in widgets, posts, and pages add_shortcode ('bpc_popular_tags', 'bpc_tag_cloud'); // Enable shortcode execution in text widget add_filter ('widget_text', 'do_shortcode');

This code simply generates the best 10 tags for your website in a cloud with the number of items that use the tag. Then he creates a shortcode « bpc_popular_tags And add a shortcode in a text widget.

Lire aussi How to display your WordPress publications in a grid layout

You can now add a [bpc_popular_tags] shortcode on any post, page or widget to display your most popular tags.

Customized label cloud demo

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. i-Search Pro

i-Search Pro is a WordPress Plugin which changes the default search mode of WordPress. It is fully compatible with WooCommerce and allows you to deliver instant results just in milliseconds.

I search pro ultimate live search wordpress plugin

i-Search Pro is a WordPress Plugin which changes the default search mode of WordPress. It is fully compatible with WooCommerce and allows you to deliver instant results just in milliseconds.

It is compatible with other plugins such as: Advanced custom fields (ACF), WpBakery (Visual composer), WPML, and Max Mega Menu. It supports 4 different search modes, excluding certain words from the search, the replacement of the logical operators & by AND, etc…, the responsive layout and many others.

Download | Demo | Web hosting

2. Pro Custom Admin

The premium WordPress plugin Pro Custom Admin, allows you to easily customize the registration and login pages of your website or to create a maintenance page.

Pro custom admin

It offers a number of features, the main ones we will mention: change the background color and the login page logo, add custom favicon backend and frontend of your website, change the colors of links and buttons, customize the footer text that appears on each admin page, remove the WordPress version number from the footer, updates free and for life, and many more.

Download | Demo | Web hosting

3. Opt-In Content Locker

Opt-In Content Locker is another premium WordPress plugin that features a pretty innovative content restriction system. It actually uses a popup to hide content that you want to restrict access to.

Opt in content locker layered popups add on

The popup is used as an e-mail collection form, and requires the user who wishes to access the content to provide their contact details. After that, the content becomes visible to the user in question. It is a very simple plugin to use. You just have to frame the content to be masked with the shortcodes [ulplocker id = "POPUP_ID"]… [/ ulplocker].

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

Here ! That's it for this tutorial, hopefully it will allow you to display display labels on your WordPress blog. Feel free to share this article with your friends on your favorite social networks

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

If you have suggestions or remarks, leave them in our section Comments.

...