[wp-testers] Image Captions Question

Debra Scott debrascot at gmail.com
Sat Dec 13 23:02:31 GMT 2008


it looks like this

[caption id="attachment_15" align="alignleft" width="272"
caption="<p><em>photo credit</em><br /><b>stock photo</b></p>"]<a href="
http://www.breadnroses.ca/aprilssandbox/wp-content/uploads/2008/10/tinfoil_hat1.jpg"><img
src="
http://www.breadnroses.ca/aprilssandbox/wp-content/uploads/2008/10/tinfoil_hat1.jpg"
alt="&lt;p&gt;&lt;em&gt;photo credit&lt;/em&gt;&lt;br /&gt;&lt;b&gt;stock
photo&lt;/b&gt;&lt;/p&gt;" title="tinfoil_hat1" width="272" height="350"
class="size-full wp-image-15" /></a>[/caption]

On Sat, Dec 13, 2008 at 5:55 PM, Paul Robinson <pablorobinson at gmail.com>wrote:

> I get what you've done but, how do you do it in the caption tag though?
>
> I have a caption tag like this
>
> [caption id="attachment_341" align="alignnone" width="480" caption="1GB HDD
> vs 1GB SD Card"]<a href="whatever"><img src="whatever" /></a>[/caption]
>
> Do you write it like this:
>
> [caption id="attachment_341" align="alignnone" width="480" caption="<p>1GB
> <b>HDD</b> vs 1GB SD Card</p>"]
>
> Cos when I tried that it stripped the tags!
>
> Paul.
>
> 2008/12/13 Debra Scott <debrascot at gmail.com>
>
> > pretty sure it's just standard default css. That particular image was
> > inserted via the image uploader using the float left option.
> >
> > On Sat, Dec 13, 2008 at 4:52 PM, Musing Minds <kimsch at musing-minds.com
> > >wrote:
> >
> > > Do you do anything special with your p tags or img tags so that the
> image
> > > is
> > > floated like that? I have the hardest time getting that set up properly
> > in
> > > the css.
> > >
> > > -----Original Message-----
> > > From: wp-testers-bounces at lists.automattic.com
> > > [mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Debra
> > Scott
> > > Sent: Saturday, December 13, 2008 3:45 PM
> > > To: wp-testers at lists.automattic.com
> > > Subject: Re: [wp-testers] Image Captions Question
> > >
> > > you can use em br and b though if you put them between p tags
> > > example here
> > > http://www.breadnroses.ca/aprilssandbox/89
> > >
> > > On Sat, Dec 13, 2008 at 4:32 PM, Paul Robinson
> > > <pablorobinson at gmail.com>wrote:
> > >
> > > > Well the caption is usually written like so:
> > > >
> > > > [caption id="attachment_341" align="alignnone" width="480"
> caption="1GB
> > > HDD
> > > > vs 1GB SD Card"]
> > > >
> > > > Well if you put an <a> inside the caption="" it just strips it.
> > > >
> > > > Paul.
> > > >
> > > > 2008/12/13 Dawn Hall <dawn at flyingkiwis.co.nz>
> > > >
> > > > > Can you give an example?
> > > > >
> > > > > -----Original Message-----
> > > > > From: wp-testers-bounces at lists.automattic.com
> > > > > [mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of
> Debra
> > > > Scott
> > > > > Sent: Sunday, 14 December 2008 8:24 a.m.
> > > > > To: wp-testers at lists.automattic.com
> > > > > Subject: Re: [wp-testers] Image Captions Question
> > > > >
> > > > > I've had html work before by wrapping the caption in <p> tags
> > > > >
> > > > > On Sat, Dec 13, 2008 at 1:44 PM, Paul Robinson
> > > > > <pablorobinson at gmail.com>wrote:
> > > > >
> > > > > > I managed to get apostrophies to work by backslashing them in the
> > > > caption
> > > > > > HTML. It's just I'd love to use the <b> or <a>.
> > > > > >
> > > > > > Paul.
> > > > >
> > > > > _______________________________________________
> > > > > wp-testers mailing list
> > > > > wp-testers at lists.automattic.com
> > > > > http://lists.automattic.com/mailman/listinfo/wp-testers
> > > > >
> > > > _______________________________________________
> > > > wp-testers mailing list
> > > > wp-testers at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-testers
> > > >
> > > _______________________________________________
> > > wp-testers mailing list
> > > wp-testers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-testers
> > >
> > > _______________________________________________
> > > wp-testers mailing list
> > > wp-testers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-testers
> > >
> > _______________________________________________
> > wp-testers mailing list
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list