I would like to create a custom url and a separate or duplicate the author.php template for another custom role w/o using plugins.
I found this related topic but it just modify the author url
Override default url for author pages?
Something like:
mydomain/author/foo
for all the default roles and
mydomain/member/john
for the new custom role
I would like to create a custom url and a separate or duplicate the author.php template for another custom role w/o using plugins.
I found this related topic but it just modify the author url
Override default url for author pages?
Something like:
mydomain/author/foo
for all the default roles and
mydomain/member/john
for the new custom role
Share Improve this question asked Jun 3, 2020 at 7:50 smurfeesmurfee 32 bronze badges1 Answer
Reset to default 0Hi You can create a user roles and create a dynamic author base for each role from setting. Use the below github repo: https://github/thebrandonallen/edit-author-slug