WordPress.org

Ready to get started?Download WordPress

Forums

Linking A page To A Text Widget (2 posts)

  1. barney09
    Member
    Posted 3 months ago #

    Hi,
    I have a text widget on my sidebar that contains an image and I would like to link this image to another page that I have not published as yet. Do I need to publish this page for the link to work ? I have read so much info in relation to this and I have no idea how to go about it. Currently this is the code I have in the widget for the image.

    <center><a href=""><img src="http://i1335.photobucket.com/albums/w667/100goofba/MortgageDoc_zpsebf36150.jpg" border="0" alt=" photo MortgageDoc_zpsebf36150.jpg"/>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    The permalink I have for the page that I wish to link to is
    http://www.jackbar.com.au/6777-2/

    if I open the page the url is

    http://www.jackbar.com.au/?page_id=6777&preview=true

    What code do I use so that if someone clicks on the image they are directed to the above mentioned page.

    Many Thanks

  2. esmi
    Forum Moderator
    Posted 3 months ago #

    Do I need to publish this page for the link to work ?

    Yes.

Reply

You must log in to post.

About this Topic