Nowadays, WordPress is the most popular CMS (Content Management System) across the web. But, the beginner sometimes falls trouble in doing basic task in WordPress. Adding an image to sidebar Widget is one of those issues that beginner googling to learn. In this article I’ll show you how to add an image to your WordPress Sidebar Widget.
Adding an Image to WordPress Sidebar Widget can be done in three ways.
- By WordPress Image Widget
- By WordPress Text Widget
- Using a Plugin
I’ll discuss all the three methods here.
Method 1: Adding Image By Image Widget
Adding an image by image widget is available from WordPress 4.8 which is as simple as adding a media files to your sites.
First of all, head over to your Dashboard->Appearance->Customize
Then click on Widgets.
Now select the Sidebar. Remember here, sidebar varies with themes.
Now, select Image to show image in Sidebar Widget.
Now select the Image that you want to show in Sidebar Widget. Now, there are three ways to show image. Like – you can show image
- From a link of your site or others
- By uploading a new Image or
- By using an existing image from your Media Library
I’m showing you three ways to set Image. First of all select the Image Title.
Adding Image From Link
Click on Add Image Button.
Now click on Insert from URL
Now Insert your URL here.
And click on Add to Widget button at the bottom of the screen. Finally, Publish the Widget.
Adding a New Image From Desktop
Click on Add Image and go to Upload Files->Select Files
And from here choose your files from your desktop.
Then select the files from your local drive and upload the picture.
Use an existing image from your Media Library
You can use Image from existing media library of your site. Click on Add Image button.
Then click on Media Library and select the image you want to show in Sidebar Widget.
Method 2: Adding Image By Text Widget
You can also add image to your sidebar by Text Widget. Head over to Appearance->Widgets
Then click on Text and select the sidebar where you want to show Image.
Remember: The sidebar varies with your WordPress themes.
After selecting sidebar click on Add Widget button. Now select your Text Title, Text Description and then click on Add Media Button to add Image.
Now select your Image. Here you select your Image from a link, upload a new one or choose from your media library(See above). I’m showing here uploading a new image from local drive.
After selecting Image file select Image Title, Alt and Description. Then click on Insert Into Post button.
And finally Save the Widget.
Method 1: Adding Image By Plugin
You can add Image to Sidebar Widget using Plugin. There are a few Plugin to add Image on Sidebar Widget. I recommend using Image Widget for this action.
See How to Manage a WordPress Plugin to learn about installing a WP Plugin.
Now, go to Appearance->Widget
Now, select the Sidebar Widget Position.
Click on select Image button from Default Sidebar option.
Now select the Image from your Media Library or Upload a new one. Edit the details of the image.
Finally, Save the Widget.
I hope this article will help you to add an Image to WordPress Sidebar Widget easily. If you like this article you may also like Code Astrology Blog.