Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SortTable Post

This plugin allows you to display an index of posts (or a custom post type) in a sortable table on any page or post, using a simple shortcode.

Ever want to list your WordPress posts in an easy-to-read, sortable data table? This plugin makes it easy to do just that. It supports post thumbnails, custom post types, custom taxonomies, and (as of v4.0) custom fields.

By default, the plugin outputs the following columns:

  1. Post Thumbnail (if enabled)
  2. Post Title
  3. Post Date
  4. Post Categories
  5. Post Tags

Options include:

  • Omit any of the default columns
  • Replace Post with a custom post type
  • Replace Categories and Tags with custom taxonomies
  • As of version 4.0 you can insert any number of custom field columns

How To Use


Place this shortcode into a post or page to insert a sortable table of all posts.

Hide Standard Columns

[sorttablepost nothumb="true" notitle="true" nodate="true" nocats="true" notags="true"]

You can omit any undesired columns by using one or more of these shortcode options.

Show Custom Post Type

[sorttablepost type="my-custom-post-type"]

You can specify the name of a custom post type (or page), instead of showing posts.

Use Custom Taxonomies

[sorttablepost cat="my-custom-taxonomy" tag="another-custom-taxonomy"]

You can replace the standard Categories or Tags columns (or both) with custom taxonomies.

Use Custom Fields

[sorttablepost meta="Custom Field Key,Another Custom Field Key,Yet Another"]

As of v4.0, you can add as many custom field columns as you like. Use a comma-seperated list of field keys.

Assign Unique ID to Table

[sorttablepost id="mytable"]

As of v4.2, you can give each table a unique ID. This is particularly useful when displaying multiple tables on the same page, as it allows you to style each one differently.

About This Plugin

For more information about this plugin, visit: http://mynewsitepreview.com/sorttablepost/

To see a live demo, visit: http://mynewsitepreview.com/sorttablepost-wordpress-plugin-live-demo

About SortTable.js

The sortable table portion of this plugin is made possible by Stuart Langridge's awesome Javascript library.

Documentation for sorttable.js can be found at: http://www.kryogenix.org/code/browser/sorttable/

Requires: 3.2.1 or higher
Compatible up to: 3.2.1
Last Updated: 5 years ago
Active Installs: 300+


2.7 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,3,3