custom taxonomy – WP plugins for building a database?


WordPress natively stores content in a database. It sounds like you’re wanting to store info in that database, and retrieve and present it – rather than actually create a separate database.

If that’s the case, creating custom post types are likely the way to go. An author can be a custom post type, which would allow visitors to browse or search through authors. Their name would simply be the post title. You can add custom taxonomies where appropriate – for example, a genre taxonomy might make sense, so you can easily query all authors who write Science Fiction, for example. You can also add custom postmeta, such as education and bio, if you want to be able to search/filter through that information. If you go the custom taxonomy and/or postmeta route, you’ll likely end up wanting to create a child theme, so that you can set up an Archive for the authors where visitors can sort and filter by different criteria.

Or, you could keep it simpler, and just place each author‘s information inside the post_content itself. WP will natively search through post titles and post content when returning search results, and of course as visitors view each single author URL, they would be able to view all that data without any customization of the theme or content output.

helikopter 2 years 2022-03-17T15:08:50-05:00 0 Answers 0 views 0

Leave an answer