WordPress.org

Forums

[resolved] How to post image linking to url in sidebar? (4 posts)

  1. naweedshams
    Member
    Posted 5 years ago #

    Hello,

    I want to place an image in the sidebar linking it to a url and should open in a new window not the current one. How can i do that, what's the codes and stuff for linking the image from my folder and the link to the site with the option of opening in a new window?

    You can check out the link here: http://www.inspiringyoungpeople.co.uk

    Thanks in advance!

  2. What_A_Legend
    Member
    Posted 5 years ago #

    You can do this by adding the text widget to the sidebar and just entering standard HTML.

    If you do not know the HTML look it up on W3 schools.

  3. nerdanita
    Member
    Posted 5 years ago #

    If it's an image for a particular theme, you can include de html into the sidebar.php file in the theme directory.

  4. naweedshams
    Member
    Posted 5 years ago #

    oh simples! :) Thank you for your responses!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.