WordPress.org

Support

Support » How-To and Troubleshooting » Create a button/badge with link and Image

Create a button/badge with link and Image

  • ourfamilystone

    @ourfamilystone

    I’m sure this has been asked before, but I’ve searched and couldn’t find the answer.

    I’d like to create a button linking to my Salvation Army Donation Kettle for my sidebar. I have a link and I have an image but I can’t figure out how to make them go together and put them into my sidebar.

    I’m terrible at code, so if anyone has an easy way or plug in I can use I’d greatly appreciate it!

    Thanks in advance!

    Ashley

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

    @alchymyth

    Forum Moderator

    <a href="http://linkurl"><img src="http://imageurl" alt="" /></a>

    you can use this code in a textwidget

    http://www.w3schools.com/html/html_links.asp
    http://www.w3schools.com/tags/tag_IMG.asp

    ourfamilystone

    @ourfamilystone

    Thanks, but where do I find the image URL? I know I’m such a novice, but I’m trying 🙂

    Michael

    @alchymyth

    Forum Moderator

    if you have the image on your computer, login to your wordpress dashboard;
    click the ‘Media’ button – ‘add new’
    click ‘select files’

    then browse in the popup window and select the image from your computer;

    when the image is uploaded, scroll down a bit;
    copy the file url;
    click ‘save all changes’

    use this file url in the linked image/button code

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create a button/badge with link and Image’ is closed to new replies.
Skip to toolbar