1. Knowledge Base
  2. Posts Table Pro
  3. FAQ

How to List a Custom Post Type such as Portfolio, Events or Products in Posts Table Pro

The Posts Table Pro WordPress table plugin can be used to list posts from any custom post type. This includes portfolios, case studies, testimonials, e-commerce plugins, events, and much more. You can use it to display custom post types you have created yourself (see our tutorial on how to create custom post types), or custom post types added by any third party plugin such as Easy Digital Downloads or The Events Calendar.

Posts Table Pro can show all the standard information about your custom posts, including the featured image and information such as the title and content. It can also display extra data such as custom fields and taxonomies.

To display custom post types in a table, you need to know the name of the custom post type. You can find this by clicking on the link for the custom post type (e.g. ‘Portfolio’) on the left of the WordPress admin. Next, look at the URL at the top of your browser window. It will look something like this:

https://yourdomain.com/wp-admin/edit.php?post_type=portfolio

Instead of the word ‘portfolio’ in red, you’ll see the name of your custom post type.

Once you know that, use these instructions to create a table listing your custom posts. For example, your Posts Table Pro shortcode might look something like this:

[posts_table post_type="portfolio"]
Still need help?
If searching the knowledge base hasn't answered your question, please contact support.

Related Articles