Title: Text widget link problem
Last modified: August 20, 2016

---

# Text widget link problem

 *  [stepthrupanam](https://wordpress.org/support/users/stepthrupanam/)
 * (@stepthrupanam)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/text-widget-link-problem/)
 * Hey guys, wordpress newbie here. I’m building a website for a Pan-American scooter
   trip and I’ve just added a PayPal donate link/logo in the Secondary Widget area
   using a text widget and following instructions I found online. I just want the
   Paypal “Donate” logo to link to the Paypal site which it does, my problem is 
   that everything I add to my pages now automatically becomes a link to said Paypal
   site.
    The code I’m using in the text widget is:
 *     ```
       <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RXYSPNJKJUVB2">
       <img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="" />
       ```
   
 * To see the problem in action you can go here [http://www.stepthrupanam.com/blog/?page_id=7](http://www.stepthrupanam.com/blog/?page_id=7)
   
   and you will notice that the text and google map that I have posted have become
   links to the Paypal site.
 * Any help would be much appreciated 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Darin Kotter](https://wordpress.org/support/users/dkotter/)
 * (@dkotter)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/text-widget-link-problem/#post-2570570)
 * The problem I believe is you don’t close the link element. So your code should
   look like this:
 *     ```
       <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RXYSPNJKJUVB2">
       <img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="" />
       </a>
       ```
   
 * Notice the . This close the link and should stop it from making everything else
   on the page a link as well.
 *  Thread Starter [stepthrupanam](https://wordpress.org/support/users/stepthrupanam/)
 * (@stepthrupanam)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/text-widget-link-problem/#post-2570643)
 * I tried putting in the at the end but the problem remains.
 *  Thread Starter [stepthrupanam](https://wordpress.org/support/users/stepthrupanam/)
 * (@stepthrupanam)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/text-widget-link-problem/#post-2570645)
 * Fixed! I had the </ a> in there but I was missing a > at the end of the link.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Text widget link problem’ is closed to new replies.

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)
 * [text](https://wordpress.org/support/topic-tag/text/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [stepthrupanam](https://wordpress.org/support/users/stepthrupanam/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/text-widget-link-problem/#post-2570645)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
