WordPress.org

Ready to get started?Download WordPress

Forums

Easy Table
html list kills table layout (2 posts)

  1. eSVau
    Member
    Posted 1 year ago #

    Hi there,

    i'm trying to insert some complex date into a table cell like but it just result into a corrupted table layout.

    [table]test,test2
    bla,"<ul><li>foo</li><li>bar</li></ul>"[/table]

    this unordered list with two elements results into a table with multiple rows (only one body column) instead of a table with two columns, one header row and one data row.

    <table style="width:100%;" width="100%" align="left" class="easy-table easy-table-default tablesorter  ">
    <thead>
    <tr><th class="easy-table-header">test</th>
    <th class="easy-table-header">test2</th>
    </tr>
    </thead>
    <tbody>
    <tr><td>bla</td>
    <td></td>
    </tr>
    
    <tr><td><ul></ul></td>
    </tr>
    
    <tr><td><li>foo</li></td>
    </tr>
    
    <tr><td><li>bar</li></td>
    </tr>
    
    <tr><td></td>
    </tr>
    
    <tr><td></td>
    </tr>
    </tbody></table>

    http://wordpress.org/extend/plugins/easy-table/

  2. takien
    Member
    Plugin Author

    Posted 1 year ago #

    Hello eSVau
    That's because every new line means new row, no sorry.

    But don't worry, I have developed new version of Easy Table, currently in beta, with option to change row terminator.

    On the example below, new row will be created on | character.

    [table terminator="|"]
    your
    complex
    html
    here|
    another row here
    [/table]

    you can download it from here:
    http://takien.com/1126/easy-table-is-the-easiest-way-to-create-table-in-wordpress.php#comment-694873663

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.