How to Add Taxonomy Images “Category Icons” in WordPress

Do you want to add taxonomy images in WordPress? Taxonomies are a way to group things in WordPress. Categories and tags are two default taxonomies that comes built-in with every WordPress blog. In this article, we will show you how to add taxonomy images in WordPress. In other words, you will be able to add image icons for your categories, tags, and other custom taxonomies.

How to Add Taxonomy Images in WordPress

Why Add Taxonomy Images in WordPress?

Custom post types and taxonomies allow WordPress to become a full-fledged CMS. By default, WordPress comes with category and tags as two default taxonomies that you can use to sort your posts.

You can also create your own custom taxonomies and associate them with any post types on your WordPress site. This allows your users to see all other content filed under those taxonomies.

With taxonomy images, you can add featured images or icons to the terms in each taxonomy.

For example, each category on your site can have its own icon, which can be displayed on category archive pages, category lists, and so on.

Having said that, let’s take a look at how to easily add taxonomy images in WordPress.

Adding Taxonomy Images in WordPress

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

Upon activation, you need to visit Settings » Taxonomy Images page to configure plugin settings.

Taxonomy images settings

You will see a list of taxonomies available on your WordPress site. Select the taxonomies where you want to enable the taxonomy images feature and then click on the save changes button.

In the screenshot above, we enabled taxonomy images for categories.

To add images to each category, you will need to head over to Posts » Categories page.

If you enabled taxonomy images feature for some other taxonomy, then you will need to visit that particular taxonomy page in your WordPress admin area.

On the categories page, you will notice a new column labeled ‘Image’ in your category list. Since you haven’t added any images to categories yet, it will show a default blank image with an add button for each category.

Adding thumbnail images to your categories

Go ahead and click on the add button below the blank image. This will bring up the default WordPress media uploader popup.

You can select an image from your WordPress media library or upload a new image. After that, go ahead and repeat the process to add images for all terms in your taxonomy.

You can remove an image at any time you want by simply clicking on the remove button below the image.

Displaying Taxonomy Images on Your WordPress Site

To display taxonomy images on your WordPress site, you will need to edit your WordPress theme or child theme. If this is your first time editing WordPress files, then you may want to see our guide on how to copy paste code in WordPress.

First you will need to connect to your WordPress site using an FTP client.

Once connected, you will need to find the template responsible for displaying your taxonomy archives. This could be archives.php, category.php, tag.php, or taxonomy.php files.

You need to download the file to your computer and open it in a text editor like Notepad or TextEdit.

Now paste the following code where you want to display your taxonomy image. Usually, you would want to add it before the taxonomy title or the_archive_title() tag.

print apply_filters( 'taxonomy-images-queried-term-image', '' );

After adding the code, you need to save this file and upload it back to your website using FTP.

You can now visit the taxonomy archive page to see it display your taxonomy image. Here is how it looked on our demo archive page.

Taxonomy image on taxonomy archive page

You can use custom CSS to style this image.

Advanced users can look for more code examples on the plugin’s homepage.

We hope this article helped you learn how to easily add taxonomy images in WordPress. You may also want to see our list of 10 most wanted category hacks and plugins for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How to Update URLs When Moving Your WordPress Site

Do you want to update URLs after moving your WordPress site? It can be quite painful to manually edit each post or page just to replace old URLs. In this article, we will show you how to easily update URLs when moving your WordPress site.

How to update URLs when moving a WordPress site

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

When and Why Do You Need to Update URLs?

Let’s suppose you moved a WordPress site to a new domain name. You can then change the WordPress address and site URL by visiting WordPress settings page.

Changing WordPress and site URLs

However, this does not change the URLs that you have previously added in your posts and pages. It also does not change the URLs of images you have added to your WordPress site.

Changing all these URLs manually can be very time consuming, and there will always be a chance that you will miss some URLs.

That’s where you’ll need this tutorial. Let’s see how to quickly and easily update URLs when moving your WordPress site.

Update URLs After Moving a WordPress Site

First make sure that you have a complete backup of your WordPress site. This will allow you to easily revert back in case something goes wrong during the update process.

Next, you need to install and activate the Velvet Blues Update URLs plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Tools » Update URLs page to configure plugin settings.

Velvet Blues Update URLs plugin settings

Here you need to provide the old and new URLs of your website. After that you need to choose where you want the URLs to be updated.

You can update urls in posts and pages, excerpts, image attachments, custom fields, etc.

Go ahead and select each item that you want to update and then click on the ‘Update URLs Now’ button.

The plugin will find and replace all instances of old URL with your new URL.

You can now visit your website to see that all URLs are updated.

We hope this article helped you learn how to update URLs when moving your WordPress site. You may also want to see our step by step WordPress SEO guide for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How to Minify CSS / JavaScript Files in WordPress

Do you want to minify files on your WordPress site? Minifying your WordPress CSS and Javascript files can make them load faster and speed up your WordPress site. In this guide, we will show you how to minify CSS/Javascript files in WordPress to improve performance and speed.

How to Minify CSS/JavaScript Files in WordPress

What is Minify and When Do You Need it?

The term ‘Minify’ is used to describe a method which makes your website file size smaller. It achieves this goal by removing white spaces, lines, and unnecessary characters from the source code.

Usually it is recommended to be used only for files that are sent to user’s browsers. This includes HTML, CSS, and JavaScript files. You can minify PHP files too, but PHP is a server-side programming language and minifying it will not improve page load speed for your users.

The obvious advantage of minifying files is improved WordPress speed and performance. Compact files are faster to load and improve your site’s speed.

However, some experts believe that the performance improvement is very small for most websites and not worth the trouble. The minification only decreases few kilobytes of data on most WordPress sites. You can reduce more pageload time by simply optimizing images for web.

Here is an example of normal CSS code:

body {
margin:20px;
padding:20px;
color:#333333;
background:#f7f7f7;
}
h1 {
font-size:32px;
color#222222;
margin-bottom:10px;
}

After minifying the code it will look like this:

body{margin:20px;padding:20px;color:#333;background:#f7f7f7}h1{font-size:32px;margin-bottom:10px}

If you are trying to achieve 100/100 score on Google Pagespeed or GTMetrix tool, then minifying CSS and JavaScript will significantly improve your score.

Having said that let’s take a look at how to easily minify CSS/JavaScript on your WordPress site.

Minify CSS/Javascript in WordPress

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

Upon activation, the plugin will add a new menu item labeled ‘BWP Minify’ to your WordPress admin bar. Clicking on it will take you to plugin’s settings page.

BWP Minify settings

On the settings page, you need to check the first two options to automatically minify JavaScript and CSS files on your WordPress site.

You can now click on the Save Changes button to store your settings.

There are many other advanced options on this page. The default settings will work for most websites, but you can review and change these options on a case by case basis.

Next, you need to head over to your website. Right click anywhere and then select ‘View Page Source’ from browser menu.

View page source of a WordPress site

You will now see the HTML source code generated by your WordPress site. If you look closely, you will notice that this plugin will load CSS/JavaScript files from plugin’s own folder instead of your WordPress themes and plugins.

These are the minified versions of your original CSS and JavaScript files. Better WordPress Minify plugin will keep them cached and serve the minified versions to browsers.

That’s all, we hope this article helped you learn how to minify your WordPress site. You may also want to see our ultimate guide on how to speed up WordPress for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

What Are WordPress Plugins? And How Do They Work?

Often beginner users ask us what are WordPress plugins and how do they work? Plugins are an important part of the WordPress ecosystem, and they are essential for building great websites using WordPress. In this beginners guide, we will explain what are WordPress plugins and how do they work?

What Are WordPress Plugins? How Do They Work?

What Are WordPress Plugins?

WordPress plugins are apps that allow you to add new features and functionality to your WordPress website. Exactly the same way as apps do for your smartphone.

New plugins directory page on WordPress.org

There are more than 48,000 free plugins available right now on the WordPress.org plugin directory. Thousands more are available from third-party websites like Github.

On top of that, there are also thousands of premium WordPress plugins that are sold by individual developers and companies like ourselves.

In 2003, WordPress started as a simple tool to help you start a blog. Over the years, it has evolved into a powerful content management system and application framework, thanks primarily to plugins.

What Can WordPress Plugins Do?

WordPress plugins are small software apps that integrate and run on top of the WordPress software. This allows you to create almost any kind of website with WordPress (not just blogs).

For example, you can:

There is a popular saying in the WordPress community, “There is a plugin for that”.

No matter what you are trying to do on your WordPress site, it’s possible. If the feature is not available in default WordPress, then there is certainly a plugin available for that.

There are WordPress plugins to improve SEO, boost performance, add contact forms, social media buttons, create galleries, and so much more.

Plugins can be small and offer just one tiny little feature (like adding an image to sidebar).

Or they can also be quite large and act as their own platform as well (Example: WordPress eCommerce plugins or WordPress membership plugins).

More feature rich plugins can have their own addon plugins to extend them just like you would extend WordPress.

How WordPress Plugins Work?

WordPress is written in a way so that other developers can add their own code into it. The WordPress plugin API offers a robust set of hooks and filters which allow developers to modify existing WordPress functionality or add new functionality.

WordPress also allows developers to store data in the WordPress database. Plugins can utilize WordPress content types, taxonomies, and custom fields which allow users to store different types of content not just post and pages.

Each WordPress plugin installed on your site is registered in your WordPress database. You can activate and deactivate them at any time you want.

Installed WordPress plugins

Upon each visit, WordPress connects to the database, loads the core software, and then loads your active plugins. All this code is processed on your server and then sent to user’s browser.

How to Find WordPress Plugins and Install Them?

You can find free WordPress plugins by visiting WordPress.org plugin directory or you can also find them directly from your WordPress admin area.

Simply head over to Plugins » Add New page and search by typing plugin name or functionality you want to add.

Searching for plugins from WordPress admin area

WordPress will search the plugin directory and display the available plugins in a list. You need to review the results, and click on the install now button next to the plugin you want to install.

Reviewing and installing plugin from search results

However, search results inside the WordPress admin area are not always helpful because they are limited to free plugins only. Most beginners find it difficult to decide which plugin is best for the job.

Another approach is to look for plugin recommendations and tutorials on sites like WPBeginner.com. We have a WordPress plugins section where you can find the best WordPress plugins that we have thoroughly tested and reviewed.

You can also find WordPress plugins in our editor’s pick of the best WordPress plugins for business websites or checkout the plugins we are using on our website in the WPBeginner’s Blueprint.

More FAQs About WordPress Plugins

I cannot see or install plugins on my WordPress blog?

Most probably you are using WordPress.com. You can only install WordPress plugins on self-hosted WordPress.org websites. See our guide on the difference between self hosted WordPress.org vs free WordPress.com blog.

How many WordPress plugins are too many?

A common misconception among users is that too many plugins can slow down their website. It is NEVER too many plugins that are slowing down your site. It is always poorly coded plugins that degrade performance. For details see our guide on How many WordPress plugins should you install?.

Should I install plugins not tested with my WordPress version?

Sometimes authors of free plugins do not update their plugin files on each new WordPress release. Simply because if it works, then they don’t feel the need to update it. For more on this topic, see our article on installing plugins not tested with your WordPress version.

How to choose between free vs paid plugins?

There are thousands of free plugins and there is a good chance that you can find a free plugin offering the same functionality as a paid plugin. If it works good for you, then use it.

Please keep in mind that free plugins are offered as they are, with no warranties, and no promise of support. Plugin author can stop working on a plugin at anytime they want.

If you feel you will be needing lots of support, and you want regular updates, then paid plugins do a much better job at it.

We use a combination of both free and paid plugins on all our websites.

How do I get support for free WordPress plugins?

Free WordPress plugins are offered without the promise of support. However, most good plugins offer limited free support for their plugins through the official WordPress support forums. Simply visit the plugin page and click on the support tab to post your question.

Getting support for free WordPress plugins

For more on this topic, we recommend you take a look at our guide on how to properly ask for WordPress support and get it.

We hope this article helped you understand what are WordPress plugins and how do they work. You may also want to see our beginner’s guide on how to choose the best WordPress plugin.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

7 Best WordPress Backup Plugins Compared (Pros and Cons)

Creating regular WordPress backups is the best thing you can do for your website. Backups give you peace of mind and can save you in catastrophic situations when your site gets hacked or you accidentally lock yourself out. There are several free and paid backup plugins for WordPress, and most of them are fairly easy to use. In this article, we will show you the 7 best backup plugins for WordPress.

Best WordPress Backup Plugins Compared

Important: Many WordPress hosting providers offer limited backup services, but please remember that it is your responsibility to backup your website on your own. Do not rely solely on your hosting provider for backups.

If you are not already backing up your site, then you should pick one of these 7 best WordPress backup plugins and start using it right away.

1. BackupBuddy

BackupBuddy

BackupBuddy is the most popular premium WordPress backup plugin. It allows you to easily schedule daily, weekly, or monthly backups. It can also automatically store your backups in Dropbox, Amazon S3, Rackspace Cloud, FTP, Stash (their cloud service), and even email it to yourself.

If you use their Stash service, then you also have the ability to do real-time backups.

The biggest advantage of using BackupBuddy is that it is not a subscription based service, so there is no monthly fee. You can use the plugin on the number of sites mentioned in your plan. You also get access to premium support forums, regular updates, and 1GB of cloud storage to store your backups.

You can even use BackupBuddy to duplicate, migrate and restore websites.

2. UpdraftPlus

UpdraftPlus

UpdraftPlus is a free WordPress backup plugin. It allows you to create complete backup of your WordPress site and store it on the cloud or download to your computer.

The plugin supports scheduled as well as on-demand backups. You can also choose which files to backup. It can automatically upload your backups to Dropbox, Google Drive, S3, Rackspace, FTP, SFTP, email, and several other cloud storage services (see our step by step guide on how to backup & restore your WordPress site with UpdraftPlus).

UpdraftPlus also has a premium version with add-ons to migrate or clone site, database search and replace, and multisite support among other things. The premium version also gets you access to priority support.

3. BackWPUp

BackWPUp

BackWPup is a free plugin that allows you to create complete WordPress backup for free and store it on the cloud (Dropbox, Amazon S3, Rackspace, etc), FTP, email, or on your computer.

It is extremely easy to use and allows you to schedule automatic backups according to your site’s update frequency.

Restoring a WordPress site from backup is also very simple. The BackWPup Pro version comes with priority support, ability to store backups on Google Drive, and some other cool features.

4. BackUpWordPress

BackUpWordPress

BackupWordPress is a complete WordPress backup plugin with automatic scheduling support. It allows you to create different schedules for your database and files. The only problem is that the free version does not allow you to store your WordPress backups to a cloud storage service.

If you want to store your backups on Dropbox, Google Drive, FTP, etc, then you will need to purchase a premium extension for it. The extensions are available for each service, and you can buy the one you need or the whole bundle.

5. Duplicator

Duplicator

As the name suggests, Duplicator is a popular WordPress plugin used to migrate WordPress sites. However it also has backup features.

It does not allow you to create automated scheduled backups which makes it less than ideal primary WordPress backup solution for a regularly maintained site.

6. WP-DB-Backup

WP-DB-Backup

With more than 400,000 active installs, WP-DB-Backup is one of the most popular WordPress backup plugins. The only problem is that it only backups your WordPress database.

This means that you will have to backup your media files manually. If you do not update a site too often or do not upload images, then you can use WP-DB-Backup as your primary WordPress backup plugin.

WP-DB-Backup makes it really simple to create database backups, schedule automated backups, and restore your database. It is also a very useful tool for users who do not have access to phpMyAdmin to backup WordPress dataabase manually.

7. VaultPress

VaultPress

At WPBeginner, we use VaultPress to backup our site. VaultPress was founded by Matt Mullenweg (WordPress co-founder) and his team at Automattic.

It has recently become part of Automattic’s another product called JetPack. You will need a JetPack subscription plan to use VaultPress. There are different pricing plans with different set of features.

VaultPress offers automated real-time cloud backup solution starting at $3.50 per month. Setting up VaultPress and restoring from backups is just a matter of clicks. With some of their packages, they even offer security scans.

There are a few downsides of using VaultPress. First, it is a recurring expense that can add up if you have multiple WordPress sites. Secondly, you will have to subscribe to JetPack, get a WordPress.com account, and install JetPack plugin on your site.

Lastly, on the lower plans backups are only stored for 30-day archive. If you want unlimited backup archive, then you have to pay the $29 per month fee per website which is significantly expensive for beginners.

We are still using VaultPress because we got grandfathered in at their older pricing which was a lot more favorable.

Final Thoughts

Each WordPress backup plugin has it’s pros and cons. We use VaultPress for two main reasons. It is extremely easy to use, and it offers real-time incremental backups. What this means is that instead of backing up all of your files every day or every hour, it only creates a backup of what has been updated literally within minutes of the update. This is ideal for a large sites like ours because it allows us to use our server resources efficiently.

However if you run a small to medium size website and hate paying monthly fees, then we recommend the popular BackupBuddy plugin. Why? Because they have their own cloud storage, Stash, which makes it easy for beginners to store their backups in cloud with a matter of few clicks.

Whichever WordPress backup plugin you end up choosing, please do NOT store your backups on the same server as your website.

By doing that, you are putting all of your eggs in one basket. If your server’s hardware fails or worst you get hacked, then you don’t have a backup which defeats the purpose of setting up regular backups.

This is why we highly recommend storing your backups on a third-party storage service like Dropbox, Amazon S3, Google Drive, etc.

That’s all. We hope that this list helped you pick the best WordPress backup plugin for your site. You may also want to see our step by step WordPress security guide for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.