Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Links in image captions


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 30, 2009, 09:38 AM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I wanted to put a link to another post inside an image caption. When I did it, the caption was "broken," and the int link code showed up weirdly atop the photo! Ugly mess!

I found that if I created the image with caption in Visual mode as usual, but then went into HTML mode, I could enter an external link successfully.

The reason it was breaking before is that the caption treats everything inside it as a link:
Code:
[caption id="attachment_3029" align="alignleft" width="200" caption="Anant Nambiar"]<img class="size-full wp-image-3029" title="anants" src="http://www.larchmontgazette.com/wp27/wp-content/uploads/2009/04/anants.jpg" alt="anants" width="200" height="221" />[/caption]
What I did was to put my link code just before the closed caption bit:

Code:
[caption id="attachment_3029" align="alignleft" width="200" caption="Anant Nambiar"]<img class="size-full wp-image-3029" title="anants" src="http://www.larchmontgazette.com/wp27/wp-content/uploads/2009/04/anants.jpg" alt="anants" width="200" height="221" /><a href="http://www.cnn.com">[/caption]
However, if I want to link to an internal post, this method doesn't work. Any ideas, anyone?

I found a thread at wordpress.org involving a change to the footer.php code, but that seems like overkill.
  #2  
Old Jul 16, 2009, 08:01 AM
knord
 
1 posts · Jun 2009
did this problem ever get resolved? what about italics in captions?

I'm having the same problem with italics. some of my captions properly reference where the image came from. I'm been trying to format the book title in italics. I can do this in visual or html mode, publish it and the italics is removed. I can make it "stick" if I change it using html code (<em> and </em>) and publish it. BUT if I go ever go back to edit the page, once I publish the italics is removed. my blog is for research for my practicum (thesis) and I must reference in accordance to certain standards.

please help.
thanks.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] change header image to link to external page when clicked bilwebore Header configuration & styling 9 Sep 23, 2009 04:06 PM
Custom links IN header image mkny13 Header configuration & styling 7 Jul 21, 2009 11:13 AM
Changing the links default title text to an image jpg of text veenublue Sidebars & Widgets 2 Jun 5, 2009 06:05 AM
How to edit links widget or how to have links in sidebar of page? Joelb53 Sidebars & Widgets 1 May 6, 2009 03:52 AM
Captions won't show under image vka2b Atahualpa 3 Wordpress theme 0 Mar 24, 2009 08:01 PM


All times are GMT -6. The time now is 12:04 PM.


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