Add Random Header Images to Your WordPress Website Without Coding
July 6th, 2017 | by Ravi Chahar || 2 Comments |
Do you want to add random header images to your WordPress website? You may have seen at many websites having different header images whenever you visit a new page or post.
It’s because most of the WordPress themes have a built-in feature to add a header image. But most of the WordPress users don’t know about the hidden feature of WordPress.
Every theme available in the WordPress theme repository has a feature to add multiple header images. If you have bought a theme from somewhere else and there is no such option then you have to contact your theme provider.
In this article, you will learn the easiest way to add random header images to your WordPress website.
Start Adding Random Header Images From the WordPress Theme Customizer
Every WordPress theme has a customizer consisting many options to modify the design of your website.
You can check it by navigating to Appearance>>Customize. You will see many options. Though it may be different depending on the WordPress theme you’re using but still, the customizer will be available for sure.
In the customizer, you will see “Header”, “Header Image” or such related item. Open that item and you will have the buttons to add a header image.
Depending on the theme you use, you can also find this option directly. Go to Appearance>>Header.
If your theme doesn’t have this option then it will have the customizer option for sure. Open it and you will see a button to “Add New Image”.
If you have already added an image then you will see a button to hide the image.
But to add random images to your WordPress website, you have to add more than one image. Use the “Add new Image” button for adding more images.
The final step is to click on the “Randomize Uploaded Images” button which will activate the randomization feature for the header images you have added.
This is a built-in feature if the WordPress theme developer has used the custom header image using the WordPress official codex.
You can easily add a custom header in your WordPress theme.
After saving the setting, whenever you open a page, the header image will change. Depending on the number of images you have uploaded, the randomize cycle will continue.
Adding Random Header Images Using a Plugin
To have more control over the header images, you can use a plugin which will allow you to add random header images for posts, pages, and even categories.
The best part of this plugin is that you don’t need to do any kind of setting. Just directly go to your existing post or add a new post.
Scroll down and below the WordPress post editor, you will see a “Header” section from which, you can add the header image.
You can use your already uploaded header images using the customizer.
But if you want more choices then go back to Appearance>>Customize and open the header section to add a few more header images.
This plugin also gives you an option to add the header images for the categories and even the archives page.
Go to Posts>>Categories and edit the category. Just like the WordPress post editor, you will see the same option below the category settings.
Do the proper settings and save.
The header images will start showing randomly for every page, post etc. You have successfully done the job. For beginners, the use of this plugin can be really helpful.
Isn’t That easy to Add random header Images to Your WordPress Website
If your theme supports this feature then it’s one of the easiest things which doesn’t require any coding skill.
Though the random header image will only be good when you have a full header image theme. Most of the WordPress themes have the header image as the logo of the website.
You don’t need to randomize the logo, you should only use this feature if the theme has a full header image.
I hope you can easily add random header images to your WordPress website. If you still have any doubt, feel free to clear it.