Different types of authors in Wordpress?

2019-07-16 09:32发布

I want to make a website about illustrated books. There are two different kind of authors for a book: writers and illustrators

For each writer I want to make a page that lists the books for that writer. The path would be:

The same for each illustrator: a page for each illustrator listing the books illustrated by her or him. Paths in this case would be:

and then, each book will have a single page (like a post):

Is it possible to do this in Wordpress? Thanks.

1条回答
霸刀☆藐视天下
2楼-- · 2019-07-16 09:50

Absolutely, there are definitely ways to do this. The way I'd recommend it is using one custom post type for books and two custom taxonomies for illustrators and authors.

That would give you the url structures you want right out of the box, and would make it easy to associate any book with an author and illustrator (or multiple authors and illustrators, if it's a collaborative book) and would involve only about 30 - 40 lines of code to set it up. There'd be more involved in getting the templating to act the way you wanted, but not much.

查看更多
登录 后发表回答