Forums

Adding a picture link in sidebar (3 posts)

  1. jeremy.criscione
    Member
    Posted 1 year ago #

    I am trying to add a picture link to the sidebar by adding code. How can I do this? I only see an option to put in a text link and only list the website address that I am trying to link to.

  2. wpsecuritylock
    Member
    Posted 1 year ago #

    Add a "text" widget and write the html code to display your image.

    Example image without clickable link:

    <img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" />

    Example image with clickable link:

    <img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" border="0" />

    For help with understanding widget, see http://codex.wordpress.org/WordPress_Widgets

  3. wpsecuritylock
    Member
    Posted 1 year ago #

    Oops, the above post did not appear right. Let me try that again.

    Add a "text" widget and write the html code to display your image.

    Example image without clickable link:

    <img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" />

    Example image with clickable link:

    <a href="http://mysite.com"><img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" border="0" /></a>

    For help with understanding widget, see http://codex.wordpress.org/WordPress_Widgets

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags