Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Text Widget Image Link to Page


  #1  
Old Jan 24, 2010, 01:09 AM
Zona
 
30 posts · Jan 2010
Hi - I have an image showing on my home page using a text widget. I'd like this image to work as a link to another page (not shown on my menu bar).

How do I do this?

Not seeing this info on any posts. Apologies if it is... any help is appreciated.

Zona
  #2  
Old Jan 24, 2010, 05:58 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you should do a google search 'html link syntax' to see how to create the link syntax
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 25, 2010, 07:11 PM
Zona
 
30 posts · Jan 2010
JuggleDad: Thanks for pointing me in the right direction.

For anyone else wanting to do this here is the code that will make this work:

<a href="PERMALINK OF PAGE YOU WANT OT LINK TO">
<img src="wp-content/themes/atahualpa/images/widgets/NAME OF YOUR IMAGE.jpg" /> </a>

Many thanks to JD and others providing their expertise on this site!

All the best, Zona
  #4  
Old Jan 26, 2010, 03:17 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Note: the '<img src=' can be any valid html address so it could be
<img src="http://yourdomain.com/YOUR_IMAGE.jpg" />
I assume Zona created a folder called 'widgets' in the 'atahualpa/images' folder since one does not normally exist.

A better place to put the images would have been in 'wp-content/uploads/my_images', this way when you change theme versions, you don't have to worry about the images. Then your <img would be <img src="http://yourdomain.com/wordpress/wp-content/uploads/my_images/YOUR_IMAGE.jpg" />
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Link problem in text widget gina31 Sidebars & Widgets 9 Jan 23, 2013 01:27 PM
[SOLVED] How to provide html link in side bar text widget and center colum gladiator Sidebars & Widgets 4 Dec 6, 2009 04:12 PM
Adding link in text of page to e mail admin Jimsplace Forum How-To 1 Aug 28, 2009 09:54 AM
Text Link Properties in the Body of the Post/Page weightlosscoach Atahualpa 3 Wordpress theme 0 Mar 22, 2009 02:21 PM
Text Widget HTML Link Strangeness wdouzel Sidebars & Widgets 1 Mar 16, 2009 07:07 PM


All times are GMT -6. The time now is 06:23 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.