This is the fifth in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community library website. In this lesson we will put into practice the theory that we discussed previously. We will decide which data elements are hierarchical custom taxonomies, which are non-hierarchical taxonomies and which are custom post meta.
Rick: So let’s make that our first one here then. In terms of non-hierarchical, we’re just going to call that topic. Okay then let’s start ISBN number, this is a unique identifier, right?
Pam: Right. That’s post meta.
Rick: Okay. So then ISBN number that’s redundant, right?
Pam: Yes, it is.
Rick: Go ahead.
Pam: Probably publication date and barcode would also be post meta. You’re correct, barcode is a unique identifier.
Rick: Okay. So then let’s see, copy, delete…okay so that is barcode and then publication year. Okay and so how about call number?
Pam: I guess that would probably go in post meta. When you go to sites that are organized for browsing libraries, sometimes they’ll have an option to look at things that are nearby on the shelf and so that’s the way that you’re kind of browsing the collection by call number order. But it’s probably not something that you’d be searching on.
Rick: Well, if you want to browse by books nearby and if the call number does that… so if 2209 is very close to a 220912, then it could very well… we could easily do a means of saying, “Okay well, look you know, look for everything with a 220 number and have it bring everything up with a 220 number.” Because that’s an awful lot or 222 or whatever so that actually might be a good option for a tag if there’s value in searching for a book that way or a group of books that way.
Pam: Yes although… as I’m thinking of it, you can do the same thing by searching for topic. For instance, that 220 means you’re in the bible somewhere and the numbers after the dot show you what books you’re in and so on. So if you were in topic like the New Testament Gospels, you’d be all in one area of the call number so trying to search by call numbers probably did…
Rick: Okay, okay. Well, it’s not a decision that needs… that can’t be unmade but so we’ll just go ahead and make that post meta as well and that is call number…
Pam: There are times when call number is unique for instance, in fiction, an author writes a series. You know, there are series about you know, this fictional series…this is book 1, 2, 3, 4 in that series. So in that case, call number is unique.
Rick: Okay so now in terms of media, you know… it almost strikes me that media is something that you may very well… maybe not as useful for the book but probably useful for VHS and other smaller groups of media type.
Rick: And since you know for sure that it’s going to be assigned only to one of those things, it does seem like that would be a good choice for hierarchical tag.
Rick: Is that how you see it too?
Rick: Okay so we’re going to say media, media type as one and then circulation time. Are you… do you have… it strikes me that circulation time probably isn’t something you’re going to show stuff by.
Pam: That’s correct.
Rick: And so that probably means that that’s just… it’s a post meta.
Pam: Yes, that sounds right.
Rick: Okay, circulation time. Where do we go? Oh, over here. Okay then location, that does strike me as being hierarchical. Are you…and you do probably want to be able to show all the non-fiction books?
Pam: Yes and when you get into the lower categories such as biography, you know, somebody might say, “Show me all your biographies” so…
Pam: That might be something that you would search on.
Rick: So then we make that one hierarchical.
Rick: Okay, location. And then audience, how do you see that?
Pam: I’m not sure. I guess I’m a little confused at this point. It’s not something that you would search on. Each item would only be assigned…well, it could be assigned to two of them. For instance, when you have… design for either children or family… you know that… I was planning it to define… I really simplified when I created that particular field.
Rick: Well and you might have things for young adults or you know…
Pam: Yeah… and that’s what’s about 4 or 5 audience…
Rick: Well, why don’t we keep that as hierarchical for the moment and then see what comes out of this? We can always change our minds here. Although you know, the same thing can be said though for… I mean, if we make it non-hierarchical then you could say families and children or families and young adults. You could assign 2 different audience types for it or adults and young adults. And if we keep it as hierarchical, we can do that. How about if we change that?
Rick: Does that make sense to do it like that? I mean, I don’t want to…I am sort of hunting, right? I don’t actually know how you do it.
Pam: At this point, I don’t think it matters a great deal so let’s just take a stab at it and move on.
Rick: Okay, okay. And so then topic, we’ve already got. Author, we know the answer to that is. Author is going to be… author. Okay, come on. There we go. So now we have 2 hierarchical taxonomies. We have 3 non-hierarchical taxonomies and we have 5 post meta for dividing this stuff up. And what we’ll do tonight is we’ll start setting up. We’ll use a plugin to set up these taxonomies here and depending upon where we’ll get, we might actually… we might do the same thing with our post meta tonight as well. We’ll just have to see where we get. And then I’m very close to being able to take each record and turn it into a post which I think we’ll do next week. And at which point, the organizational site will be finished and at that point on, what we’ll be doing is you know, coming up with different ways to display the information.
Pam: That’s good.
Rick: Okay. So thank you very much, everybody. I’m sorry I messed that up but you’ll probably find my little video to be on the position property to be useful and… no, actually I think most of you guys are going to be there tonight and if nobody shows up tonight, I’ll know that I screwed up again. Anyway, have a great day. Talk to you later, bye bye.