Articles on: WordPress

How to Insert Affiliate Link (with Image) into WP Sidebar (OLD)

Login to your WP dashboard and select Media > Add New

Click on "Select Files". Choose the picture you wish to upload.

Once upload is successful, you should be able to see a link generated under "URL" as shown below.

Remember to copy the full URL address. Press "Save All Changes".

Return to your WP dashboard and select “Appearance” > “Widgets”

Click and drag the “Text” widget to the right hand sidebar.

On the sidebar, click on the drop down box .

Insert the HTML code that contains your affiliate link together with the image URL that was copied earlier.

<a href="http://youraffiliatelinkhere "><img src="http://yourmediafileimageaddress "/></a>

Note: Replace youraffiliatelinkhere with your own unique serverfreak affiliate link ID.
Replace yourmediafileimageaddress with your own image URL that was generated earlier.

Press the "Save" button once you’re done.

Visit your blog now to see the new changes on your sidebar.

Updated on: 20/12/2018

Was this article helpful?

Share your feedback


Thank you!