• Resolved ndoto

    (@ndoto)


    wordpress
    My current setup WP
    – 3.1.2:
    – Version PHP5/MySQL:
    – SF_blueprint-wp:
    -shadowsbox:
    – Local:

    Problem (s) meet (s):
    Hello everyone, I’m new to the forum and new to WordPress.
    Using the placement of photos submitted by the administration interface, I aligned on the left the images and I added a caption to them. The add of the [caption] code generates a tag<br/> which leads images to cascading down. I wish I could remove this tag<br/> in any file, where can i I find the code that generates it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    Thread Starter ndoto

    (@ndoto)

    Hello esmi, thanks for the procedure. But it doesn’t come from a plugin or from the theme, the <br/>tag is generated by the editor in admin pages. when you add a caption to image the [caption] tag generate a div wich encapsulate the image and a paragraphe with the . it also display a br tag after the div. this one lead the div to cascading down when you want your images to float left.
    I’d like to avoid the editor to generate a br tag when adding a caption to images but i don’t know where is the file to do so.

    Are you referring to the display in the Visual editor or in the final generated page?

    Thread Starter ndoto

    (@ndoto)

    i am reffering to the display in the final generated page.
    http://ndugusamaki.free.fr/br/
    you can see the result by folowing the link

    All I can see is a directory index listing at that url.

    Thread Starter ndoto

    (@ndoto)

    Ok esmi thanks for the help. I find a “graphist trick” to solve my problem. i copied the code generated in the final page, i replaced this code in the html editor , supress the <br/>tag generated by the editor, and then all my images and there caption get back in line 🙂
    the result here .before and after

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘generation of the br tag with [caption]’ is closed to new replies.