<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; adding image in sidebar</title>
	<atom:link href="http://www.wpwife.com/category/adding-image-in-sidebar/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Add an Image in WordPress Sidebar Widget</title>
		<link>http://www.wpwife.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget</link>
		<comments>http://www.wpwife.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget#comments</comments>
		<pubDate>Tue, 15 May 2018 14:41:18 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[adding image in sidebar]]></category>
		<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[how to add images in wordpress sidebar]]></category>
		<category><![CDATA[images in wordpress widget]]></category>
		<category><![CDATA[wordpress image widget]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=23066</guid>
		<description><![CDATA[
<p>Do you want to add an image to a sidebar widget in WordPress? By default, WordPress makes it easy to upload and add images anywhere on your website. In this article, we will show you how to easily add an image in your WordPress sidebar&#8230;&#160;<strong><a href="http://www.wpbeginner.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget/">How to Add an Image in WordPress Sidebar Widget</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to add an image to a sidebar widget in WordPress? By default, WordPress makes it easy to upload and add images anywhere on your website. In this article, we will show you how to easily add an image in your WordPress sidebar widget. We will share multiple methods, so you can use one that works best for you. </p>
<p><img title="Adding an image in WordPress sidebar widget" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/wpimagesidebar.png" alt="Adding an image in WordPress sidebar widget" width="550" height="340" class="alignnone size-full wp-image-52734" /></p>
<h4>Adding an Image in WordPress Using The Image Widget</h4>
<p>The easiest way to add an image in <a href="http://www.wpbeginner.com/showcase/12-wordpress-sidebar-tricks-to-get-maximum-results/" title="12 WordPress Sidebar Tricks to Get Maximum Results">WordPress sidebar</a> is by using the default &#8216;Image&#8217; widget. </p>
<p>Simply go to <strong>Appearance &raquo; Widgets</strong> page and add the &#8216;Image&#8217; widget to your sidebar. If you haven&#8217;t used widgets before, then see our guide on <a href="http://www.wpbeginner.com/beginners-guide/how-to-add-and-use-widgets-in-wordpress/" title="How to Add and Use Widgets in WordPress">how to add and use widgets in WordPress</a>. </p>
<p><img title="Add image widget" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/addimagewidget.png" alt="Add image widget" width="550" height="414" class="alignnone size-full wp-image-52709" /></p>
<p>The widget will expand, and you will be able to see its settings. </p>
<p>The first option is to add a title to the image widget. After that, click on the &#8216;Add Image&#8217; button to continue. </p>
<p>This will bring up the WordPress media uploader where you can click on the upload files button to upload your image or select an image you have previously uploaded. </p>
<p><img title="Image settings" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/imagesettings.png" alt="Image settings" width="550" height="373" class="alignnone size-full wp-image-52710" /></p>
<p>After uploading the image, you will see image settings in the right column. From here, you can provide a <a href="http://www.wpbeginner.com/beginners-guide/image-alt-text-vs-image-title-in-wordpress-whats-the-difference/" title="Image Alt Text vs Image Title in WordPress – What’s the Difference?">title / ALT text</a> for the image, add a description, select size, or even add a link.  </p>
<p>Once you are done, you can click on the &#8216;Add to Widget&#8217; button to save your changes. You will now see a preview of the image inside the widget settings area. </p>
<p><img title="Widget preview" src="http://cdn.wpbeginner.com/wp-content/uploads/2018/05/widgetpreview.png" alt="Widget preview" width="550" height="378" class="alignnone size-full wp-image-52711" /></p>
<p>Don&#8217;t forget to click on the &#8216;Save&#8217; button to save your image widget. </p>
<p>You can now visit your website to see the image displayed on your WordPress blog&#8217;s sidebar. </p>
<p><img title="Sidebar image preview" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/05/sidebarimagepreview.png" alt="Sidebar image preview" width="550" height="328" class="alignnone size-full wp-image-52713" /></p>
<h4>Adding an Image in WordPress Sidebar Using Text Widget</h4>
<p>Adding an image to the sidebar using the default &#8216;Image&#8217; widget is quite easy. However, sometimes you may need to add an image with custom HTML or text with formatting. In that case, you will need to use the &#8216;Text&#8217; widget instead.</p>
<p>Simply go to <strong>Appearance &raquo; Widgets</strong> page and add the &#8216;Text&#8217; widget to your sidebar. Under the widget settings, you will see the &#8216;Add Media&#8217; button above text edit area. </p>
<p><img title="Add an image in WordPress sidebar using Text widget" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/05/textwidgetaddmedia.png" alt="Add an image in WordPress sidebar using Text widget" width="550" height="340" class="alignnone size-full wp-image-52730" /></p>
<p>Clicking on the button will bring up the media uploader allowing you to upload or select an image from the media library. </p>
<p>After selecting your image, click on the &#8216;Insert into post&#8217; button. You will now be able to see an image preview in the text widget settings. </p>
<p>You can continue adding text and other elements to the text widget. The toolbar in the text editor gives you some basic formatting buttons. </p>
<p><img title="Adding an image with text and basic formatting" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/addingtext.png" alt="Adding an image with text and basic formatting" width="550" height="370" class="alignnone size-full wp-image-52731" /></p>
<p>Once you are done, don&#8217;t forget to click on the &#8216;Save&#8217; button to store your widget settings. </p>
<p>You can now visit your website to see the sidebar image in action. </p>
<p><img title="Image displayed using text widget in sidebar" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/05/textimagewidget.jpg" alt="Image displayed using text widget in sidebar" width="550" height="348" class="alignnone size-full wp-image-52732" /></p>
<h4>Manually Adding an Image in WordPress Sidebar Widget</h4>
<p>In some cases, you may need to add additional HTML code to your image. The default text widget allows some very basic HTML, but it may not work with advanced HTML or formatting. In that case, you will need to manually add an image to your blog&#8217;s sidebar. </p>
<p>First, you need to upload the image to your WordPress site. Simply go to <strong>Media &raquo; Add New</strong> and upload your image file. </p>
<p>After uploading the image, you need to click on the Edit link next to the image. </p>
<p><img src="http://cdn4.wpbeginner.com/wp-content/uploads/2014/09/upload-edit-image.png" alt="Upload and Edit an image file in WordPress" width="520" height="311" class="alignnone size-full wp-image-23096" /></p>
<p>WordPress will now take you to the &#8216;Edit Media&#8217; 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. </p>
<p><img src="http://cdn2.wpbeginner.com/wp-content/uploads/2014/09/imagefileurl.png" alt="Copying the image file URL in WordPress" width="520" height="248" class="alignnone size-full wp-image-23097" title="Copying the image file URL in WordPress" /></p>
<p>Next, you need to go to <strong>Appearance &raquo; Widgets</strong> screen and drag-drop &#8216;Custom HTML&#8217; widget to your sidebar where you want to display the image. </p>
<p><img title="Manually add image to WordPress sidebar widget" src="http://cdn.wpbeginner.com/wp-content/uploads/2018/05/manuallyaddimage.png" alt="Manually add image to WordPress sidebar widget" width="550" height="379" class="alignnone size-full wp-image-52714" /></p>
<p>In the text box area of the widget, you need to add your image using this code: </p>
<p><code>&lt;img src="Paste The File URL Here" alt="Strawberries" /&gt; </code></p>
<p>The <code>img</code> tag is used in HTML to display images. It needs two attributes, the first one is <code>src</code> which defines the image file location. This is where you will paste the URL you copied earlier. </p>
<p>The second one is <code>alt</code> which is used to provide an alternate text for the image. Your final img tag will look something like this: </p>
<p><code>&lt;img src="http://www.example.com/wp-content/uploads/2014/09/strawberries.jpg" alt="Strawberries" /&gt;</code></p>
<p>You need to click on the Save button to store your widget settings and then preview your website. </p>
<h4>Adding an Image in WordPress Sidebar Using a Plugin</h4>
<p>Another way to add images to your WordPress sidebar is by using a plugin. This will give you a few more options and a simple interface, which some beginners may find easier than the default &#8216;Image&#8217; widget. </p>
<p>First, you need to install and activate the <a href="http://wordpress.org/plugins/image-widget/" title="Image Widget"  rel="nofollow">Image Widget</a> plugin. For more details, see our step by step guide on <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="Step by Step Guide to Install a WordPress Plugin for Beginners">how to install a WordPress plugin</a>.</p>
<p>Upon activation, simply go to <strong>Appearance &raquo; Widgets</strong> page. You will notice a new widget labeled &#8216;Image Widget&#8217; under available widgets column. Simply drag and drop this image widget to your WordPress sidebar where you want to display an image. </p>
<p><img title="Image widget plugin" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/imagewidget-plugin.jpg" alt="Image widget plugin" width="550" height="402" class="alignnone size-full wp-image-52728" /></p>
<p>Next, click on the &#8216;Select Image&#8217; button to upload an image or select one from the media library. After that you need to click on the &#8216;Insert to Widget&#8217; button, and you will see the image preview under widget settings. </p>
<p>You can add a title, alt text, link, and a caption for the image. You can also choose an image size from the list of available options. </p>
<p><img title="More settings for image widget plugin" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/05/imagewidget-plugin2.png" alt="More settings for image widget plugin" width="550" height="246" class="alignnone size-full wp-image-52729" /></p>
<p>Once you are satisfied, simply click on the Save button to save the image widget. That&#8217;s all, you can now go to your website and see the image displayed in your sidebar. </p>
<p>We hope this article helped you add an image in WordPress sidebar widget. If you come across a problem, don&#8217;t forget to look at our guide on how to <a href="http://www.wpbeginner.com/beginners-guide/how-to-fix-common-image-issues-in-wordpress/" title="How to Fix Common Image Issues in WordPress">fix common image issues in WordPress</a>.</p>
<p>If you liked this article, then please subscribe to our <a href="http://youtube.com/wpbeginner" title="WPBeginner on YouTube"  rel="nofollow">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="http://twitter.com/wpbeginner" title="WPBeginner on Twitter"  rel="nofollow">Twitter</a> and <a href="https://plus.google.com/101634180904808003404/posts" title="WPBginner on Google+"  rel="nofollow">Google+</a>.</p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget/">How to Add an Image in WordPress Sidebar Widget</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/beginners-guide/how-to-add-an-image-in-wordpress-sidebar-widget/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
