1. Home
  2. Knowledge Base
  3. Posts Table Pro
  4. Troubleshooting
  5. The data in my posts table isn’t displaying correctly

The data in my posts table isn’t displaying correctly

Posts Table Pro will display data that is stored within custom fields, and it will render any HTML that is stored in custom fields. It works with all custom fields plugins such as Advanced Custom Fields and Custom Post Type UI.

For example, if your custom field contains the URL of an image then the table will display the URL, NOT the actual image. If your custom field contains the HTML code to embed an image then the actual image will be displayed in the WooCommerce table.

WordPress document library custom fields plugin

Example of custom fields formatted correctly to display as a link

How to add shortcodes within custom fields

You can add shortcodes to custom fields and display these in the posts table. To do this, you need to add shortcodes="true" to the Posts Table Pro shortcode, for example:

[posts_table columns="title,cf:button" shortcodes="true"]

I’m using the Toolset Types plugin and my custom fields aren’t working

If you’re using Toolset Types to create your custom fields, then you need slightly different syntax to display them in the product table. You can read full instructions in our articles about custom field columns or creating tables of posts¬†with specific custom field values.

Was this article helpful?

Related Articles