How to Add Images in WordPress Sidebar Widget Area - KhalistaBlog -->
Skip to content Skip to sidebar Skip to footer

How to Add Images in WordPress Sidebar Widget Area

How to Add Images in WordPress Sidebar Widget Area - WordPress is a platform that has many default features that you can use, one of the features of WordPress is very useful is the widget that is easy to use and has a variety of functions in accordance with the needs.

How to Add Images in WordPress Sidebar Widget Area

In this article I will explain about how to add images in WordPress widget area with some method. This guide may be useful for many WordPress users as it will often be used when you want to add your profile in the sidebar, add a variety of content using images in the sidebar or when you want to install banner type ads on your WordPress site.

1. Add Images in Sidebar WordPress Using Widget Image


The easiest way to add images in the WordPress sidebar is by using the 'Image' widget which by default is already provided by WordPress. To use this first method, just go to the Appearance >> Widget page and add the 'Image' widget to your sidebar area.

How to Add Images in WordPress Sidebar Widget Area

After the "Image" widget you add, you can add a title to the image widget to name your widget. After that, click the 'Add Image' button to continue.

This will bring up the WordPress media upload area where you can click the file upload button to upload the image you want to install in the sidebar widget or choose a picture you have previously uploaded in the WordPress gallery.

How to Add Images in WordPress Sidebar Widget Area

After uploading the image, you will see the image settings in the right column. From here, you can assign ALT titles / text to images, add descriptions, choose sizes, or even add links or links.

When you're done, you can click the 'Add to Widgets' button to save your changes. And you can now see a preview of the image inside the widget setting area.

How to Add Images in WordPress Sidebar Widget Area

And please click on 'Save' button to save your image widget.

You can now view your website to see images displayed in your WordPress blog sidebar.

How to Add Images in WordPress Sidebar Widget Area

2. Add Drawings In Sidebar WordPress Using Widget Text


Adding images to the sidebar using the 'Image' widget in the first method above is quite easy. However, sometimes you may need to add an image with custom HTML or want to add text in the sidebar area and the image. In this case, you should use the 'Text' widget instead.

How to go to Appearance >> Widget and add widget 'Text' to your sidebar. Under the widget settings, you will see an 'Add Media' button above the text edit area.

How to Add Images in WordPress Sidebar Widget Area

By clicking the 'Add Media' button will bring up an upload media area that allows you to upload or select images from the media library.

After selecting the image you want to install in the sidebar widget, click the 'Insert to Post' button. You will now be able to preview the image in the text widget settings.

After that, you can add text and other elements to your text widget if you wish. The toolbar in the text editor gives you some basic formatting buttons.

How to Add Images in WordPress Sidebar Widget Area

When done, do not forget to click 'Save' button to save your widget settings.

You can now visit your website to see images displayed in the sidebar of your WordPress site.

How to Add Images in WordPress Sidebar Widget Area

3. Add Drawings In Sidebar Widget With Custom HTML


In some cases, you may need to add additional HTML code to your image. Default text widgets allow some very basic HTML, but may not work with HTML or advanced formatting. In this case, you need to manually add images to your blog sidebar. First you need to upload images to your WordPress site. Just go to Media >> Add New and upload your image file.

After uploading the image, you need to click the Edit link next to the image.

How to Add Images in WordPress Sidebar Widget Area

WordPress will now take you to the 'Edit Media' page where you will see the image file URL on the right side of the screen. You need to copy this URL and paste it into a text editor like Notepad.

How to Add Images in WordPress Sidebar Widget Area

Next, please go to Appearance >> Widgets and drag-drop widgets 'Custom HTML' to your sidebar where you want to display the image.

How to Add Images in WordPress Sidebar Widget Area

In the text box area of the widget, you need to add your image using this code:
<img src="Paste the Image URL here" alt="Cake" />

The img tag is used in HTML to display images. Two attributes are required, the first one being src that defines the location of the image file. This is where you'll paste the URL you copied earlier.

The second is alt which is used to provide alternative text for images. So it looks like this:
<img src="http://www.example.com/wp-content/uploads/2014/09/cake.jpg" alt="Cake" />

You must click on the 'Save' button to save your widget settings and then view your website.

4. Add Images In Widget Sidebar WordPress Using Plugin


Another way to add images to your WordPress sidebar is by using a plugin. This will give you some options and a simpler interface and for beginners WordPress users may be easier than the default 'Image', 'Text' or 'Custom HTML' widgets. First you need to install and enable the 'Image Widget' plugin.

After activation, just go to Appearance >> Widget page. You will see a new widget added with the 'Image Widget' label under the available widget fields. Just drag and drop this image widget into your WordPress sidebar where you want to display the image.

How to Add Images in WordPress Sidebar Widget Area

Next, click the 'Select Image' button to upload an image or select one from the media library. After that you need to click on the 'Insert to Widget' button, and you will see a preview of the image under the widget settings.

You can add titles, alt text, links, and captions to images. You can also select the image size from the list of available options.

How to Add Images in WordPress Sidebar Widget Area

Once you are satisfied, just click on the 'Save' button to save the image widget. And you can now go to your website and see the images displayed in your sidebar.

And that's the 4 methods you can choose one to display an image in the widget area or sidebar of your WordPress website. Hopefully this article useful and good luck.

1 comment for "How to Add Images in WordPress Sidebar Widget Area"

Provide comments relevant to the posted articles and provide critiques and suggestions for the progress of the blog