> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

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

1. Login to your WP dashboard and select **Media** > **Add New**

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/a65c8d58-1e6d-4164-aa0b-396554c3f61d.png)

2. 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.


![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/cb16e77b-cdca-4471-8950-12bd37a14fbe.png)

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



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

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/61487909-7bd1-4b61-81fa-db9dde06e4ad.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/92b1e109-8638-481f-8148-edc41e1a6f4a.png)

5.  On the sidebar, click on the drop down box . 


6. 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.


![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/ac337ba8-0c24-4990-9aa6-76c184fdb461.png)

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


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