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/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.