Home › Forums › Front-end Issues › Using acf_form to display an existing custom post › Reply To: Using acf_form to display an existing custom post
Thanks John for the reply.
What I wish to do is create a page to display the data of a custom post type on the frontend, so in that page all the fields should be “read only” and not editable.
I can create a page template for this purpose and display the data using HTML and PHP code. However my custom post type has multiple custom fields from different types – text, date, photos, reference to other posts, etc. Therefore it will require some coding to display and style all the information correctly (i.e. using rows, grouping fields together, etc.).
Since acf_form already renders all the fields in the right structure on the frontend, I thought there might be some way to use it (or something else) also for the purpose of displaying the data without editing it.
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.