Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Link problem in text widget


  #1  
Old May 12, 2009, 07:39 AM
gina31
 
14 posts · Apr 2009
I am doing a website for a client. She wants to have pictures in the left sidebar to link to various pages internally. I am using the text widget. The problem that I am having is that all of the links are going to the blog page. I am also using widget logic.
  #2  
Old May 12, 2009, 07:51 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
What are you putting into the widgets? It would have to be static HTML links such as
HTML Code:
<a href="http://mysite.com/path/to/page/"><img src="/path/to/image.gif" alt="..." /></a>
  #3  
Old May 12, 2009, 08:02 AM
gina31
 
14 posts · Apr 2009
This is the code that I am using <a href="http://crememagnolia.net/?page=120">
<img src="http://www.crememagnolia.net/wp-content/uploads/home.jpg" alt="Mag Artists">
</a>
  #4  
Old May 12, 2009, 08:06 AM
gina31
 
14 posts · Apr 2009
Flynn i figured it out!! Thank you so much. I looked at your code and found that I forgot to put it _id with the page code!!

You are awesome. This kept me up all night. Thank you for replying!!!!
  #5  
Old Jan 23, 2013, 12:15 PM
irina2
 
7 posts · Nov 2012
I'm attempting to do this now and I seem to be getting the same issue. I link out using the permalink but when I click the button to the page it sends me to a page that doesn't exist (i.e. an error).

Here is the code I use in the widget:
<a href="http://www.chocolateatime.com/running/ ‎"><img src="http://www.chocolateatime.com/wp-content/uploads/2013/01/Running-button-resized.jpg"/></a>

What is the "_id" solution that I seem to be missing?

Any suggestions are much appreciated!!
  #6  
Old Jan 23, 2013, 12:22 PM
irina2
 
7 posts · Nov 2012
I should also add that I basically copy and paste the link for the page into the widget area. However, when I actually click on the widget button to take me to the appropriate page I am taken to a different hyperlink

original link of the page:
http://www.chocolateatime.com/running/

page I am taken to when button is clicked:
http://www.chocolateatime.com/running/%20%E2%80%8E

Why is this happening?

Thanks!
  #7  
Old Jan 23, 2013, 12:43 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Remove the space from after the link URL and add a space before the slash in the image URL.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Jan 23, 2013, 01:10 PM
irina2
 
7 posts · Nov 2012
Hmm I think I did what you suggested by the problem still persists.

Here is the current code:
<a href="http://www.chocolateatime.com/running/"><img src="http://www.chocolateatime.com/wp-content/uploads/2013/01/Running-button-resized.jpg" /></a>

Am I missing or misunderstanding something? Sorry if this is a basic question, I'm still very new!

Thanks!
  #9  
Old Jan 23, 2013, 01:16 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
That should work. Your first code gave me the same error as you had. This code does not. Make sure you clear your browser cache or if you have a caching plugin be sure and clear that cache as well.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #10  
Old Jan 23, 2013, 01:27 PM
irina2
 
7 posts · Nov 2012
That did the trick! Thank you so much!

Bookmarks

Tags
sidebar, text widget, widget logic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Text Widget - how can I highlight all text (ctl-A) for a fast delete? Leoni Plugins & Atahualpa 5 Jul 14, 2009 07:38 PM
Changing a widget display from block to inline (Twitter Text Widget) Flur Sidebars & Widgets 2 May 7, 2009 11:45 AM
Editing Text within a Text Widget Nefeli Sidebars & Widgets 4 Mar 27, 2009 06:56 PM
Text Widget HTML Link Strangeness wdouzel Sidebars & Widgets 1 Mar 16, 2009 07:07 PM
Dreamweaver homepage link problem Dealer Bicycles Atahualpa 3 Wordpress theme 4 Jan 31, 2009 04:38 PM


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


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