Email This Post
How to create a table in a Wordpress post
Wordpress August 29th, 2007
Visited 881 times, 3 so far todayCreating a table in a post is very easy to do as well as being able to update it with ease. I’ve had people tell me when they view the post, the lines of the table disappear or are cut off and the text alignment is messed up.
What I usually use is html to create the table. If you don’t know html then what you can do is go to FrontPage and create a table in design mode and then copy and paste the code from there into wordpress. Before I give you a code sample, you will need to turn off the WYSIWYG editor first, to do this follow the steps below:
- Click on “My Profile” in the top right hand corner of your Wordpress admin screen.
- Uncheck the “visual editor when writing” checkbox and save.
Here is the code you can use to create a basic table in your wordpress post.Â
<h1>How to create a table in a post</h1>
<table border=”1″ cols=”3″>
<tr>
<td>Day</td><td>Month</td><td>Year</td></tr>
<tr>
<td>Friday</td><td>March</td><td>2007</td></tr>
</table>
Alternatively you can use WP-Table plugin. This plugin creates and manages tables for Wordpress. So you can post i.e. sport results in a fixed table format. The table layout can be changed via a css file.












