Category Archives: wpbeginner

How to Display Most Popular Tags in WordPress

Do you want to display the most popular tags used on your WordPress site? Tags and categories are the two default ways to sort your content in WordPress. Categories often get more exposure due to their broader scope, which gives tags a little less attention. In this article, we will show you how to easily display your most popular tags in WordPress.

How to display most popular tags in WordPress

Why and When You Should Display Most Popular Tags in WordPress

Categories and tags are the two default taxonomies to sort your articles in WordPress. Categories are used for broader topics or sections on your website while tags are well-suited to specific ideas within the context of your articles.

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

Once you start using categories and tags correctly, you’ll likely have more tags on your website than categories. Due to their broader scope, you can put categories in navigation menus, but your tags may often remain less explored.

One way to deal with this is by adding the default tag cloud widget by going to the Appearance » Widgets page, and add Tag Cloud widget to a sidebar.

Default tag cloud widget in WordPress

However, you will notice that the default tags widget will show all your tags alphabetically. You cannot rearrange their order or limit the number of tags to be displayed.

You can solve this, by displaying the most popular or most often used tags on your WordPress site.

This will allow your users to quickly get an idea on what topics are more frequently discussed on your site. It will also help them discover more content, which means more page views and user engagement.

Now let’s take a look at how to easily display your most popular tags in WordPress.

1. Display Most Popular Tags in WordPress Using Plugin

This method is easier and recommended for most users.

First thing you need to do is install and activate the Simple Tags plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Appearance » Widgets page and add ‘Tag Cloud (Simple Tags)’ widget to the sidebar.

Simple tag cloud settings

The widget will expand, and you will be able to see its settings.

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

To display your tags by popularity, make sure you select count for ‘Order by for display tags’ and descending for ‘Order for display tags’ options.

Don’t forget to click on the save button to store your widget settings.

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

Simple popular tags cloud in WordPress

Display Popular Tags in WordPress Manually

This method requires you to add code in your WordPress theme files. If you haven’t done this before, then please see our guide on how to copy and paste code in WordPress.

First, you need to add this code to your theme’s functions.php file or a site-specific plugin.

function wpb_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('wpb_popular_tags', 'wpb_tag_cloud'); 

// Enable shortcode execution in text widget
add_filter ('widget_text', 'do_shortcode'); 

read more

How to Install and Setup WordPress Multisite Network

Do you want to setup a WordPress multisite network? WordPress comes with a built-in capability to create multiple websites using the same WordPress install. In this article, we will show you how to install and setup a WordPress multisite network.

How to install and setup WordPress multisite network

Since this is a comprehensive article, we have added the table of contents for easier navigation:

What is WordPress Multisite?

A WordPress multisite network allows you to run and manage multiple WordPress sites from a single WordPress installation.

read more

WPBeginner Turns 8 Years Old – Reflections and Updates

Today is July 4th which means WPBeginner is officially 8 years old — feels unreal to type this!

Like every year, I want to take a few minutes and do a quick recap of all the major things happening in business as well as my personal life.

WPBeginner turns 8

WPBeginner Story

I started using WordPress when I was 16 years old and started WPBeginner at age 19 with a single mission: make WordPress easy for beginners.

Since then WPBeginner has become the largest free WordPress resource site for beginners.

For those of you who’re new, you can read the full WPBeginner story on our about page.

read more

How to Change the Category Base Prefix in WordPress

Do you want to change the category base prefix in WordPress? By default, WordPress automatically adds /category/ as a prefix to URLs for all category pages. In this article, we will show you how to change the category base prefix in WordPress. We will also talk about whether or not you should remove the base prefix altogether.

How to change the category base prefix in WordPress

What is Category Base Prefix? Should You Change It?

Each category on your WordPress site get its own page and RSS feed. You can view all posts filed under a category by visiting that category archive page.

By default, WordPress adds ‘category’ as base prefix to URLs for category pages. This helps differentiate pages and posts from category and tag archives.

read more

24 Best WordPress Themes for Crowdfunding

Are you looking for a WordPress theme for crowdfunding? Many WordPress themes are geared towards corporate or blogging websites and may not be a good fit to help you raise funds for your organization. In this article, we will share some of the best WordPress themes for crowdfunding and fundraising websites.

Best WordPress themes for crowdfunding

Building a Crowdfunding Website With WordPress

Crowdfunding helps startups, charities, and individuals to raise money for their projects. It allows you to collect small contributions from individuals to reach your fundraising goals.

Many such projects use websites like Kickstarter to run their campaign. However, you will also need a website to better showcase your idea, mission, or cause.

read more