Displaying custom post type on the frontend
-
Hi,
I used the CPT UI and ACF plugins to create custom fields for a new custom post type called “person”. A person has a long list of custom fields from different types, such as text, dates, photos, links to other persons, etc.
I am using a form (created with the acf_form function) for adding a new person and for editing an existing person from the frontend.
I would like to create another frontend page for showing the information of a specific person – just displaying it without letting the user to change anything.
What is the recommended way to do this ?
Since there are multiple custom fields for a person, it might require a lot of coding to build a page template that displays all the information in a nice design with tabs, rows, field grouping, etc.
I thought of perhaps creating a form to hold the data of a person, pre-populating it with the relevant data of the specific person upon load and showing it in a “read only” mode, however could not find any form plugin that will allow me to do so.
Thanks in advance,
Amir.
- The topic ‘Displaying custom post type on the frontend’ is closed to new replies.