The author of the plugin: Easy Table is The Easiest Way to Create Table in WordPress has uploaded a new beta version to Git-Hub.
Easy Table 1.0 Beta is ready for testing.
Changes in the beta as of Nov-2012:
+ Encoding fix + Added colalign, global colum align, eg. [table colalign=”left|right|center|right”] + Added colwidth, global colum width, eg. [table colwidth=”20|50|200|200″] + Added style param, inline style for table + Added limit param, limit max row to be converted to table. + Added trim param, trim cell data + Added terminator param, custom character for new row (previously only line break) + Responsive admin page
Problem | Solution | AHK | Type Thisin a Cell | This is the Output |
---|---|---|---|---|
Insert a line feed (n) in a cell | Use ~~ to indicate line feed | Break here~~and here~~and here~~then end. | Break here and here and here then end. | |
Use one or more quote marks (") in a cell. | Replace quotes with " | Ctrl-" | <a href = "#"> | <a href="#"> |
Cell Styling last column | Add a non-breaking space to the end of the line | |||
Global Column Align | [table colalign='left|left|center|left|right'] | |||
Global Column Width | [table colwidth='100|200|50|100|100'] | |||
x | x | x | x | x |
Using Some Options:
no | head1 | head2 | head3 |
1 | row1col1 | row1col2 | row1col3 |
2 | row2col1 | row2col2 | row2col3 |
3 | Column Span | row3col3 | |
4 | row4col1 | row4col2 | row4col3 |
5 | Row Span | A | B |
C | D | E |
<h3>Using Some Options:</h3>
[ezt_table th=0 colwidth="200|50|200|200"]
no[attr width="20"],head1,head2,head3
1,row1col1,row1col2,row1col3[attr class="someclass"]
2,row2col1,row2col2,row2col3
3,Column Span[attr colspan="2"],row3col3
4,row4col1,row4col2,row4col3
5[attr rowspan="2"],Row Span,A,B
C,D,E
[/ezt_table]
no | head1 | head2 | head3 | head4 |
---|---|---|---|---|
1 | row1col1 | row1col2 | row1col3 | 100 |
2 | row2col1 | row2col2 | row2col3 | 20000 |
[ezt_table caption="Global Width and Column Alignment" width="500" colwidth="20|100|200" colalign="left|left|center|left|right"]
no,head1,head2,head3,head4
1,row1col1,row1col2,row1col3,100
2,row2col1,row2col2,row2col3,20000
[/ezt_table]
[ezc_accordian_group]
[ezc_accordian title=’Takien Table Options’]
Possible parameter
These parameters commonly can override global options in the left side of this page. Example usage:
[table param1=”param-value1″ param2=”param-value2″]table data[/table]
class, default value ‘table-striped’, another value table-bordered, table-striped, table-condensed caption,default value ” width, default value ‘100%’ align, default value ‘left’ th, default value ‘true’ tf, default value ‘false’ border, default value ‘0’ id, default value ‘false’ tablesorter, default value ‘false’ file, default value ‘false’ sort, default value ”
[/ezc_accordian] [ezc_accordian title=’Options’] [table param1=”param-value1″ param2=”param-value2″]table data[/table]
class, default value ‘table-striped’, another value table-bordered, table-striped, table-condensed caption,default value ” width, default value ‘100%’ align, default value ‘left’ th, default value ‘true’ tf, default value ‘false’ border, default value ‘0’ id, default value ‘false’ tablesorter, default value ‘false’ file, default value ‘false’ sort, default value ” [/ezc_accordian]
[/ezc_accordian_group]
[ezt_table caption='Table Caption'] no,head1,head2,head3 1,row1col1,row1col2,row1col3 2,row2col1,row2col2,row2col3 3,row3col1[attr colspan='2'],row3col3 4,row4col1,row4col2,row4col3 [/ezt_table]
Leave a Comment
You must be logged in to post a comment.