In this session we create some posts to test how our new Custom Post Type and Custom Post Meta are working.
Rick: Oh, this should be new court case, shouldn’t it? Add court case. I’ll have to go and change that. Add court case. And so now, let’s take one of your examples.
Reese: Okay case number 1 is the post title, Eisner v. McComber. I didn’t give you permission to make me have to pronounce stuff.
Reese: Oh, you got to change some of these names.
Rick: So our full reference… it needs a closing citation tag too, doesn’t it?
Reese: It’s in there. It’s after… see?
Rick: Oh there it is, I see. I got you.
Reese: You only do it after the party’s… yeah.
Rick: Right. So the full reference is that. I’m assuming that some full references are really long.
Reese: Yes, very, very long.
Rick: Okay so then we have our code name which is 1920. We have a link to internal page and then we’re not going to select that because…
Reese: You see, that link is the Google link.
Rick: Right. This is the external link right there, right?
Rick: So in this case, we’re not going to link to the internal page. We’re going to link to an external link. There’s our code name. There’s our other name, our full reference and here’s our title.
Reese: Okay and then what happens if you check on that internal link… link to internal page?
Rick: If you check link to an internal page, it’s not going to… when we’re done with our logic, it’s not going to look here.
Rick: Because what this link to internal page is going to do is it’s going to add a link either to this or to this, depending upon what shortcode you use.
Reese: Probably just with the custom slug with the Eisner-v-McComber… however…
Rick: Well, we can talk about that when we get to that point but…
Reese: Okay so that looks good.
Rick: Okay. And since there’s no content, we just say publish.
Reese: Right. And then I’ll go back and I’ll need to put where the judge was that was the author of it. But that’s my homework.
Rick: Okay. So let’s add new court case and this court case is going to be the next one down and it’s going to… the post title is going to be Appeal of McKenna.
Reese: And McKenna happens to be the American Girl Doll this year. When you have a 10-year old and an 8-year old, that’s important to know.
Rick: My girls are beyond that age now. Okay and then so looking at this, we’ve got our code name and our full reference. And so our code name is 1925-mckenna. Our full reference is the site of that. This is going to link to an internal page and then you said we’ve got… we’re going to grab this.
Reese: Yeah that was just…
Rick: Well actually, I can just paste it in this view, actually. Yeah okay and then publish it.
Reese: Yeah but I think you lost your formatting when you did that.
Rick: I did. I lost some of the formatting. I didn’t lose the centering of the… I mean, I lost the centering. I didn’t lose the rest of it.
Reese: Yeah, no big deal.
Rick: And so then we just create a new court case. Actually, that’s bugging me. I want to fix that. So custom post types, manage post types, edit. We’re looking at the label options and this should say add new court case. Save it, court cases, add new court case.
Reese: So you’ve got McKenna.
Rick: Okay so I’ve got McKenna and I will do Welch v. Helvering and our citation. Actually, that’s our full reference, right? Full reference, let’s grab the 1933 Welch. Okay, we’re going to link it to the internal page so we don’t need anything else and all we need to do is go grab the HTML page. Welch…
Reese: This is the Cardoza case.
Rick: Paste it, publish it, add new court case. We’re just going to get this stuff in.