Hiya.
I have a list of posts (a particular post type), each of which should be associated with a particular user. It would actually be best if that was the author. I’m trying to set up a “post author” field in ACF as a select box (id, name would be great) but I don’t want to hard-code in the id/name. Is there a way to associate the select box with a db query or something?
Thanks!
Hi @rgilmanhunt
If it is best to use the author of the post, then there is no need to use ACF a t all.
You can use WP functions to get the author of the post, and then get and display their information.
Perhaps you could jump on google with some searches like:
1. WP get post author
2. WP get author data
Thanks
E