I want to make a custom authors page, only of authors that have published a custom post type and I ran into the following issues:
- I don’t know what to put In the looper provider, after some digging, I ended up here https://developer.wordpress.org/reference/functions/wp_list_authors/
but I cannot wrap my mind around how to use it on a dynamic content string like {{dc:global:authors}}
I tried to loop through the custom posts and only output the author name, but then I get a repetition for all posts, resulting in the same author being repeated over and over. I intend to have a dynamic display of all authors of a custom post type, and when clicked, that will link to an archive page with all the posts of that author, ordered by date. - where or how to assign it:
right now is assigned to the custom post type I intend to use, I thought that I could make a looper that loops through the posts and returns an array of only the authors within it. but again, have tried to no avail. I know the URL of this page but I see that cannot be assigned that easily.
Some notes:
- I am fairly inexperienced with the inner mechanics of WP so I imagine that part of my issue is that I am conceiving how WP works under the hood.
- I have the impression that if I knew how, I could use ACF for this, as a side note, I am using forminator to let the users write their posts in the front end.
- I took for granted that once a user was registered, an author page was automatically created, which I see now that is not the case.
- maybe I shouldnt be using an layout but a page? I might be looking at the whole thing in the wrong way?
Thanks for the help guys!