We'll create fresh WordPress site with SortTable Post installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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:
Options include:
Post
with a custom post typeCategories
and Tags
with custom taxonomiesHow To Use
[sorttablepost]
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/