We'll create fresh WordPress site with Posts Table with Search & Sort installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Posts Table with Search & Sort is a WordPress table plugin which helps site owners organize WordPress posts into sortable and filterable tables, making it easy for your audience to find the content they need.
Visitors can easily filter content by date, category, tag or author – making this WordPress table plugin highly adaptable to different use cases.
Install this plugin to organize your WordPress posts into simple, searchable, and visibly appealing tables. It includes pagination and responsive layouts for smaller screens as standard.
To get started with this WordPress table plugin, simply add the shortcode [posts_table]
to any page or widget.
Posts Table with Search & Sort (free) includes:
Posts Table Pro – our premium version adds lots more functionality:
View free & pro comparison table
WooCommerce Product Table – create product tables from your WooCommerce store:
Translations for Posts Table with Search & Sort are currently provided for French, Spanish, German, Greek and Chinese (Taiwan). This data-table plugin is WPML-compatible for content translation, so if you’re using WPML, you’ll be able to display post tables in whichever language you have set up.
We make use of the jQuery DataTables library to power the searching and sorting features.
See the demo for examples of the plugin in action, and view the full plugin documentation in our Knowledge Base.
You can use Posts Table with Search & Sort to display your content in searchable and sortable tables. This has a huge range of use cases, from a simple archive of your posts, to previews of your content, to sorting by author, tags, date, and more.
To list blog posts in a table, simply enter the shortcode [posts_table]
to any WordPress page, post, or text widget. The easiest way to set your columns and other options is on the plugin settings page at Settings > Posts Table With Search & Sort. These global settings will affect all the posts tables throughout your WordPress site.
You can also add options directly to the shortcode. This allows you to configure each table individually – for example, in order to show different columns in each table, or to list posts from specific categories. Here are a couple of examples of shortcodes you can use:
[posts_table columns="image,title,content,date" content_length="10"]
[posts_table columns="id,title,tags,date,author" sort_by="date" sort_order="asc"]
wrap=false
. If selected columns no longer fit in the table, then a “+” icon will appear to the left of each row to allow access to the rest of the data: [posts_table wrap="false" rows_per_page="5"]
content_length
to set the number of words in the content
column: [posts_table sort_by="title" columns="date,author,title,content" content_length=5 rows_per_page="5"]
You can see all of these in action on the plugin demo, and do even more with Posts Table Pro, our premium plugin!
Popular use cases for Pro take advantage of advanced features, including support for custom post types, advanced filtering, and media embed support, letting you build your own WordPress document library, create a WordPress file manager, or create a WordPress events table.
You can see some practical examples of how to build your own Post Tables above, and below you’ll find a full list of the shortcode parameters you can use to customize the output of your own Posts Tables. Remember, most of these options can also be set globally on the plugin settings page at Settings > Posts Table With Search & Sort:
columns
– the columns you’d like to show in your table. This can be any combination of the following (comma-separated): id
, image
, title
, content
, categories
, tags
, author
, or date
. Default: title,content,date,author,categories
.rows_per_page
– the number of posts to show on each page of results. Set to false
to disable pagination. Defaults to 20 rows per page.category
– restrict the table to this category only. Use the category ID or ‘slug’ here, NOT the name of the category. You can find the slug in the Posts -> Categories menu.tag
– restrict the table to this tag only. Use the tag ‘slug’ or ID here. You can find the slug in the Posts -> Tags menu.author
– restrict the posts in the table to the specified author. Use the author name (user_nicename
), author ID or a comma-separated list of IDs.post_status
– display posts with this post status (draft, pending, publish, future, private or any). Default: publish
.sort_by
– the column to sort by. Defaults to date
. If the column you want to sort by isn’t shown in the table, it will be added as a hidden column. This means, for example, that you can sort by date without actually showing the date column.sort_order
– whether to sort ascending (asc
) or descending (desc
). If you order by date, it will default to desc
(newest posts first).date_format
– you can set the date_format
option to choose the way the post date is displayed in the table. The default is Y/m/d. See this page for the full list of date formatting options.search_on_click
– whether to enable automatic searching for categories, tags and authors when clicking on links in the table. Default: true
.wrap
– whether the table content wraps onto more than one line. Set to false
to keep everything on one line or true
to allow the content to wrap. Default: true
.content_length
– the number of words of post content to show in the table (if you’ve included the content
column). Defaults to 15 words.scroll_offset
– advanced: the table scrolls back to the top each time you navigate forward or backwards through the list of posts. This value controls the ‘offset’ for the scroll. For example, if your site uses a sticky header you can adjust the scroll amount here to compensate. Enter a whole number (e.g. 50) or set to false
to disable scrolling to top.View the full documentation, checkout the demo, and if you need more features have a look at Posts Table Pro.
Thank you for using our WordPress table plugin 🙂