Widgets – Picture with link
-
Can anyone tell me if i add a jpg as a widget – can i have it so that it contains a link and if someone clicks it – it brngs them to another page on my blog?
http://cllrlauramc.wordpress.com
If you look at my blog (link above) the ‘Can I help’ button should link to Contact me page.
-
-
Fast way for making code for text widgets:
I keep a private code test page to mess around with this kind of code stuff.(make a page, check the box in the editor that says keep this private or don’t publish it and just keep it as a draft and then I also have all my widget text in case I switch themes or have a problem)
1.Set up text or images in the editor visually. In your case put the image into the editor and create your link there.
2. Save (but do not publish if you are doing it on a private page)-this is not always necessary but you might want to keep it or change it at a later date if for example you update the image.
3. Switch to html mode and just cut and past that code into the text widget.
It saves a lot of work and might be useful to those not too conversant with HTML tags.
-
-
Yes you can type the code into the html view in the editor. Or you can type it directly into the text widget.
I do the shortcut way so I make less mistakes when typing and have fewer broken links since I have a lot of links to deal with.
-
-
<a href="http://lauramcgonigle.ie/contact-me/"><img src="http://cllrlauramc.files.wordpress.com/2008/07/contact_bttn.jpg" alt="" title="" /></a> -
- The topic ‘Widgets – Picture with link’ is closed to new replies.