Table Shortcode

Table Shortcode

Shortcode Usage

[table]
 
    [table_headers]
        [table_header]…[/table_header]
        [table_header]…[/table_header]
        [table_header]…[/table_header]
        …
    [/table_headers]
   
    [table_body]
        [table_row]
            [table_cell]…[/table_cell]
            [table_cell]…[/table_cell]
            …
        [/table_row]
        [table_row]
            [table_cell]…[/table_cell]
            [table_cell]…[/table_cell]
        [/table_row]
        …
    [/table_body]
   
[/table]

Important Note: the number of table_headers and number of table_cells MUST be equal.

Note: As usual, you can put a style attribute anywhere.


Example

Header 1 Header 2 Header 3
Cell 1-1 Cell 1-2 Cell 1-3
Cell 2-1 Cell 2-2 Cell 2-3