Create a button/badge with link and Image (4 posts)

  1. ourfamilystone
    Posted 5 years ago #

    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!


  2. Michael
    Forum Moderator
    Posted 5 years ago #

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

    you can use this code in a textwidget


  3. ourfamilystone
    Posted 5 years ago #

    Thanks, but where do I find the image URL? I know I'm such a novice, but I'm trying :-)

  4. Michael
    Forum Moderator
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic