Support

Account

Home Forums General Issues Create a table of field values of all posts of a custom post type? Reply To: Create a table of field values of all posts of a custom post type?

  • The only way I know of to do a query for the posts, create a table and then loop through the posts and create the table. You’ll probably need to create a custom page template if you want to do this, or alternately on a custom post type archive page.

    The get_fields() function can get all the fields at once rather than getting them one at a time, may help if you have lots of fields to retrieve. http://www.advancedcustomfields.com/resources/get_fields/