WordPress TablesSometimes you just need a table to display your content properly. The WordPress page/post editor is good most of the time but getting things to line up just right can be a challenge. Here’s how I use tables to solve some alignment problems.

Simple Table

If you just need a simple table of columns and rows, switch over to your HTML tab and use this code:

<table>
<tbody>
<tr>
<td>Cell Contents</td>
</tr>
</tbody>
</table>

The tr tags represent the rows and the td tags represent the columns. For example if you need two columns then you would use two sets of td tags between the tr tags.

Plugins Make it Easier

If you need to get fancier with your table like highlighting every other row, making a heading row, changing the size of the table or the cells, then you might want to use a plugin to make the job easier.

I’ve been using WP Table Reloaded to make tables like the one on the Coupons & Bonuses page. They just announced that they are merging into a new plugin called TablePress. Both of these plugins have an admin area where you can put the contents in the table cells and customize the look of the table. Then you use a shortcode on your page where you want the table to appear.

If you ever want to change the contents or the look of the table, you just make the changes in the admin area and they will automatically display on the page or post with the shortcode.

Another cool feature is the ability to import from a program like Excel in case you want to create your contents there first.

Switching Over From WP Table Reloaded

If you have been using WP Table Reloaded, it is easy to migrate to TablePress. The full migration instructions are found here.

  1. Back up your existing tables or in the options section of WPTR select “dump file”.
  2. Back up your WordPress database (which you should be doing regularly anyway with a program like Backup Buddy).
  3. Install and activate TablePress.
  4. Click on the Options tab in the TablePress admin area and select to import from WP Table Reloaded.
  5. Once your table(s) look like they did before, then deactivate and delete WPTR.

Even though TablePress just released its first version, it worked fine for me.

Pricing Tables

Another use of tables is for pricing or feature comparisons. I know you’ve seen those on software sites or subscription sites where the first column is for the basic product, then perhaps there is a premium product next and a platinum product next.

Some of these tables are created with images and some with the table code. There are several plugins that will do the job as well such as Mark Dulisse’s Pricing Tables Plugin. This is a shortcode-based plugin with the ability to change colors and even add a corner image to highlight one of the tables. You can have 1 to 4 tables in a row and add whatever content you want within the tables. The image below is an example of the tables built with this plugin.

price-tables-plugin

Another plugin that has fancy boxes that you can use to build these tables is Instabuilder. If all you need is the capability to build tables, this plugin will be total overkill. It has an full set of page building tools including the ability to build landing pages. You can see how I used this plugin to build my pricing tables for the Affiliate Tools Page plugin.

How are you building tables on your WordPress site? Leave a comment to let me know.

 

Adding FAQs to your blogAdding FAQs To Your Blog
CommentLuv ReplyMeNew Reply Feature Added to CommentLuv Premium