There are a couple of different ways you can make tables when working on your pages. Here is one way, which uses a plug-in called Easy Table:
When editing your pages you can make a table like this…
title 1 | title 2 | title 3 |
---|---|---|
1.1 | 1.2 | 1.3 |
2.1 | 2.2 | 2.3 |
…using the following shortcodes:
[table]
title 1, title 2, title 3
1.1,1.2,1.3
2.1,2.2,2.3
[/table]
Note – the first row is used for headings, commas are used to separate columns, and each newline is a new row.
This table would have no heading
[table]
, ,
1.1,1.2,1.3
2.1,2.2,2.3
[/table]
If you want to use a comma in a cell, you need to ‘escape it’ like this…
[table]
, ,
alpha,beta,gamma\, greek
alpha,beta,gamma
[/table]
which displays as:
alpha | beta | gamma, greek |
alpha | beta | gamma |
You can make a table containing cells with multiple lines if you wish, as follows:
[table nl=”~~”]
, ,
one~~two,three,four
one,two~~three,four
[/table]
which displays as:
one two |
three | four |
one | two three |
four |
or a table with images.. (set image align = none when inserting images in a table) like this…
[table nl=”~~”]
, ,
, ,Title 1~~ ~~Mauris sapien velit pulvinar non rutrum non consectetuer eget metus. Mauris sapien velit pulvinar non rutrum non consectetuer eget metus.
, ,Title 2~~ ~~Mauris sapien velit pulvinar non rutrum non consectetuer eget metus. Mauris sapien velit pulvinar non rutrum non consectetuer eget metus.
[/table]
Which displays as…