• Hiya,

    I have a small bug with my template for wp-filebase plugin. It’s dead simple so I don’t know what’s the problem.

    I wanted to have the same look for both single files and file lists (perhaps I missed it, but i couldn’t achieve that with supplied templates).

    So, I made a file template, and list template which uses that file template.

    Here’s how it looks:

    HEADER

    <table>
    <tbody>

    Category template: 3-col-row
    File template: List

    FOOTER

    </tbody>
    </table>
    <div class="tablenav-pages">%page_nav%</div>

    LIST (file template)

    <strong><a href="%file_url%" title="%file_display_name%">%file_display_name%</a></strong>, %file_size%<br>
    <blockquote>%file_description%</blockquote>

    Nothing new or exciting, basic template slightly modified – File link, file size, and in the second row file description. It works as it should for the first document in the list, but for all subsequent documents WordPress ads paragraph marks around the document title (link itself), so there’s empty line after title.

    Does anyone know how to fix this? I have Tiny MCE with some plugins installed, this could be the problem.

  • The topic ‘[plugin: wp-filebase] Unnecessary paragraph tags in all links except the first’ is closed to new replies.