He there,
I’m attempting to create a site that contains a PERSON custom post type and a PUBLICATION custom post type. PUBLICATION post types need to be related to one or multiple PERSONS.
On the front end, I want a custom post archive that lists people. I want to be able to list and sort based on custom category.
On the single-post page for PERSON, I would like to list details about the person, and list the PUBLICATIONS associated with that PERSON.
The PUBLICATION list on each PERSON’s single post page should be clickable and link to a single-post for the PUBLICATION custom post type.
I’d like the publications and person to be editable by each website user when logged in. In order to allow for this, I’ve made each PERSON profile authored by the associated WordPress USER.
I have created both custom post types and ACF fields for each post type. I have created archive and single post page for PERSON. I have also created the single-post page for the PUBLICATIONS.
Items where I need some guidance:
-
I have created a PERSON archive, but would like to know to add a drop down menu (or other method) to be able to sort the users by PERSON category on the front end.
-
I successfully created a relationship between the two different custom post types, and I can post the publications on the PERSON single post page, but it does not list any details. It only lists the post ID number(s). I need to be able to post the PUBPLICATIONS relevant for each PERSON as a linkable title that will link to the PUBLICATION single-post-page.
I’m also wondering if this is the best approach to this problem. It would be great to have the “person” be the WordPress USER and just add some ACF fields instead of a using a custom post type for PERSON, but it seems like there are more options available to publish the custom post type than to publish a USER archive. This also seems to be true based on needing custom taxonomy to organize the people.
Look forward to any hints you can provide the help me out!
Thanks in advance.