It was kind of hard to find a good title for my question. What I'm trying to do is setting up a homepage for a publishing company. The website should contain all of the companies books with properties such as the author, a price, the different languages available, a description etc.

I'm new to WordPress and I've google around a lot, found some plug-ins that might be helpful but I haven't find the perfect clue so far on how to set this up correctly.

I think the books are more "objects" than just a "post entry" and they have relationships to other entities such as the language or the Author etc. So I rather want to be able to create a new book and then link it to an existing author, some languages etc.

Do you have any suggestions on how to set this up with WordPress? Usually I'd create own database tables for each entity but with WordPress, this is handled differently since everything is stored in the post-table, correct?

I'd love to get some input on that. I'm willing to code some own stuff for that but some starting hints would be great!

Thank you!

closed as too broad by Michael, Christine Cooper, Nathan Johnson, EAMann Mar 3 at 0:17

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can always create your own custom database tables and access them with or without the WordPress wrapper.

However in this case, it sounds like you want Custom Post Types

I think you may have a bit of a misunderstanding as to what a "post" or "custom post type" is in WordPress. Though 100% honestly, "Custom Post Type" really is a misnomer, and a better name would be "Custom Data Type".

You can code in your own Custom Post Types or use the widely accepted and used plugins CPT UI and Advanced Custom Fields

You can add custom taxonomies (which is just the word we use for "Categories" when referring to Custom Post Types) as well as add custom fields which will allow you to add meta information to each one.

Essentially, either with the plugins or manually, you'll create a custom post type called "Book" and register taxonomies/terms and or use custom fields to add the relationships and entities to each one.

This is very easily doable in WordPress - let me know if you need me to expand on anything further!

  • Thanks @Xhynk that was really helpful! I came across a plugin called "toolset" have you heard of it? I'm not sure if that covers all my needs, too or I should go with you two suggestions? – sonja Feb 26 at 19:41
  • You know, I haven't heard of it actually. I got my CPT feet wet with hand coding them lol. Looking at that plugin it seems Toolset (especially Types) might actually be a great way to go. It looks like you can create great relationships very easily, and if I'm not mistaken it looks like it has a front-end template creator which would be incredibly helpful. As a matter of fact I'm interested in it now because I do so much with custom post types, and currently running a network site that has 7 or 8 CPTs that are all very different from each other, so thanks for finding that! – Xhynk Feb 26 at 19:54
  • I'm not sure I can advocate which would be better (ACF+CPT UI or Toolset + Types) for your particular situation - but I would absolutely look into both of them. Based on ~10 minutes of research I'd lean slightly towards Toolset if I'm being totally honest, but I'd absolute do some more research before getting rooted into one or the other - they'll each have their pros and cons I'm sure. Best of luck! – Xhynk Feb 26 at 19:56
  • Thanks so much! Yeah, so far I'm tempted to use toolset but I'll give the other two a try! – sonja Feb 26 at 19:58
  • I've got one more question (let me know if you'd like to have a new "official" question for that) I've got all my books in an excel sheet with the information like title, author, price, number of pages, ISBN etc. Now is it possible to just import these information into wordpress? – sonja Feb 26 at 21:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.