0

So I have the author.php which is the author page showing all information and posts for the author.

I'm trying to create a subpage template (example.php) for the auhthor.php so that I can showcase custom posts on a separate page like - www.abc.com/author/example

How can I create a subpage template so that it will also take the author details and be able to present custom posts on the sub page.

1
  • 1
    WordPress supports author-<nicename>.php templates (e.g. author-example.php), but maybe you could just use a single author template (author.php) and use a template part to display those custom posts? But what are the custom posts? Are they going to have a pagination?
    – Sally CJ
    Sep 20 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.