Create a author.php, but only for a Custom Post Type
-
I wanted to create a new page similar to
author.php
, but that lists only a specific Custom Post Type. It is important to have both pages: author.php for regular posts, and this newauthor-custom-post.php
only for the Custom Post Type.The usage is that the first one will list the blog posts, and the other one will list the author’s cientific publications, each one in its own page.
And, of course, it should have a link like example.com/post-type-slug/author/author-name to this
author-custom-post.php
that I can use in the author bio.I could only manage to find pages listing both things together, but nothing about listing in different pages.
Thanks in advance!
- The topic ‘Create a author.php, but only for a Custom Post Type’ is closed to new replies.