How to make an author archive only for certain user role and show related CPT

Scenario I made a CPT where I’m taking the stakeholder’s ID as a custom field. All the stakeholders are actually a WordPress’ Registered User with a different role stakeholders – because at some point I need them to login to post their own content. So what actually I’m doing, I’m grabbing the userID and passing … Read more

author.php shows profiles of all users not authors only

I’ve got an issue with author’s template. It works great and displays authors profiles as expected, but the issue is that you can see non-authors profiles also (contributors / subscribers, basically all registered users, including and admin) simply by substituting username in URL (www.mysite.com/author/subscribername). Is there any simple way to fix it and show ‘authors’ … Read more

Get the terms of a custom taxonomy for a specific author in author template

I am using a custom post type in my website and a custom taxonomy for it. An author selects one or many terms before publishsing its post. My goal is to display authors pages in front end, so I am using author.php template file. This file is by default displaying the archive of posts written … Read more

Author archive only for custom post type

I want to create an author archive for only custom post type. This page will includes only custom posts by the author. And url structure should be example.com/portfolio/author/author-name/ I don’t want to include custom type to default author.php because my custom post type is in different language. 1 Answer 1 According to this blogpost you … Read more