Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    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

    Thread Starter Agrumeprod

    (@agrumeprod)

    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.

    Plugin Author Mike Martel

    (@mike_cowobo)

    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

    Thread Starter Agrumeprod

    (@agrumeprod)

    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>

    Thread Starter Agrumeprod

    (@agrumeprod)

    Neither works with <strong> or <br />

    Plugin Author Mike Martel

    (@mike_cowobo)

    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

    Thread Starter Agrumeprod

    (@agrumeprod)

    Ok.

    Finally I don’t need to modify template with HTML.

    If it becomes necessary I would adapt thickbox.js code.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Byline template line break’ is closed to new replies.