Hi @agrumeprod,
The byline template accepts good ol’ html, so you can add paragraph tags (<p> ...content... </p>
) around your text, or use breaks ...content...<br />
.
Cheers,
Mike
I added some HTML tags to my byline template but nothing happens.
When I open the source code of the page in my browser I can see the tags but they are not interpreted in the thickbox.
Hi again, I’m not sure why it wouldn’t work.. is the site this happens on online? If so, maybe you can post a link, so I can see for myself what is outputted by the plugin?
Mike
Hello,
you can see an example here :
http://test.agrumeprod.fr/test-tiles/
My byline template is :
<div id="content">%content%</div>
<div id="excerpt"><strong>%excerpt%</strong></div>
Neither works with <strong> or <br />
Hi @agrumeprod, sorry to keep you waiting.
I had a look and things fell into place. You are using WP Tiles as a gallery with the WordPress thickbox.
The thickbox grabs the title attribute to display underneath – HTML does not work here. Tags are stripped on purpose. Unfortunately, there is not much you can easily do about that without doing some custom coding.
Sorry! I don’t think I have a ready solution for you here.
Mike
Ok.
Finally I don’t need to modify template with HTML.
If it becomes necessary I would adapt thickbox.js code.
Thank you.