‫Hey, what's up, guys, and welcome back.
‫So in this video now, we're going to be talking about a degree related products.
‫So basically these properties are kind of a product like.
‫So we're going to be showing some of these related products.
‫Down below, like we showed in our e-commerce Web site.
‫So if you take a look at this particular product, we go down and we then come here and see that the
‫related products are shown based on the category.
‫So category is what category is basically a taxonomy of up custom, both type and a custom.
‫Both type is basically a product here.
‫Now, the exact same situation is going to happen here.
‫The custom post type here is a property and taxonomies we have here is the location.
‫And we also have the category.
‫So you can decide whether you need to show them based on the location or the category.
‫And you can show them both as well.
‫So let's just go ahead and let's click default property template.
‫And here we are.
‫Now, you can see here tease this right here.
‫The location is this and the category is this.
‫We go down and we've got the property images and we've got this.
‫Now we're going to be taking a look at what to add.
‫So we're going to be adding a heading.
‫We're going to be adding a context.
‫OK, so what you can do is that you can even duplicate this section in here is going to be another one.
‫Now, you can cross this and cross this.
‫And we shall have only one single text that is going to be property images.
‫So what you can do is that you can even change this to related properties.
‫OK.
‫And now what you have to do is to basically click on here and you have to search for post.
‫And here's going to be the posts right here.
‫So you have to drag this and you have to drop it down below.
‫And here we have got that.
‫Now you have to select the theme that is going to be custom and that's going to be low property to which
‫we are using on our archive page.
‫Now, you have to go to the equity and then you have to select the post.
‫Now you have to change this to related.
‫Okay.
‫And once you will choose this to be related, you will see that all the post will come as they are related.
‫So they are related with the taxonomy that is category and they are coming that way.
‫So we've got the villas, villas, villas and villas.
‫Now, let's suppose that I want to show only those properties that are in this particular location.
‫So what I'm gonna do, I'm just going to select include by and here I'm going to say it should be a
‫term.
‫And here I'm going to select it to be the location.
‫And once I do that, then I go down.
‫And here should be only the old Mariah Island coming right here.
‫Now, let's suppose it.
‫If I need to add both like it should be from the same location and the category should be same to what
‫you can do.
‫You can select the category.
‫And here is going to be that, too.
‫Now, when you will go down, you should see only those properties that has both.
‫So it should be from the Olmer Island and it should be of the villa.
‫Then it's going to be appearing here.
‫So since you can see that on an Ulmarra island, we don't have any.
‫We had only one single property.
‫That is why it was showing and it was the resort.
‫So what I'm going to do, I'm just going to go ahead and I'm going to update and I'm gonna go to the
‫Web site right here.
‫And I want you will open up any of the property that has some more categories in.
‫It's less suppose that we go to the Abu Dhabi and then we go to the Halifa City.
‫And in here, we should be having some of the properties that are in the same category and the same
‫locations.
‫So in Halifa City, we've got this villa and this villa and we've got two villas right here.
‫Okay.
‫So if we open up this, we should see this in the related property.
‫I'm going to go I mean, to open this up.
‫And here we've got this location and this category.
‫We go down and you should see now the same location in the same category only so you can decide whether
‫you need it based on the location that you needed, based on the category or whether you're needed based
‫on the both.
‫So that both should match.
‫And then the related products, like related properties will come.
‫So you have to decide that now.
‫I like to do it based on the location way so that if anyone is interested in that particular location,
‫he should see more of that.
‫So what you can do is that you can just cross this up and you should see now the location based only.
‫Okay.
‫And yet here will be only the location base.
‫That's going to be the Almería Islands.
‫And this is right here.
‫Now, what you can do is that you can even display the location like, um, related properties in the
‫location that you have selected here.
‫So what you can do for that is that here you can see we've got a text over here.
‫What we're going to do, we're gonna come up here and we're gonna just add a heading of head.
‫So we're going to keep it to be 30 pixels.
‫And here it is.
‫And we're going increases to even thirty five like so.
‫And now what you have to do is to basically just click on it and then get the post info.
‫You have to drag this.
‫And then you have to drop it down below.
‫Right here.
‫Now you have to click Cross, Cross and cross.
‫And here you should.
‫So you one single one.
‫Now you have to compare and you have to change this two terms and the terms, you have to change this
‫to locations.
‫So you should see just the location.
‫Now, once you've got your location, all you have to do is just uncheck the link and get the get rid
‫of the icon.
‫And we should just see the text.
‫Now, once you've got your text, all you have to do is to match it with this.
‫Right.
‫So you have to come up here and you have to use the text properties that we've been using over here.
‫So we're going to come up here and we're going to change this to the monster since that we've been using.
‫And once you've got that, all you have to do is now choose the font size and also the weight, which
‫is going to be that way.
‫Now, you can see it matches that.
‫So I think I should be just decreasing it a bit.
‫And now, once you've got that, all you have to do is to now click on the heading right here, go to
‫the advance.
‫And in the positioning, you have to said this, the width to be inline.
‫And once you do that, he can see it just comes right that you have to do the same with this one.
‫You have to click on it, go to the advance go the positioning and said this, too, in line two.
‫So here you should see that.
‫Now if you will click, it says Related Properties, Almería Island.
‫Now we have to align this the way it should be.
‫So basically, this has a line height to be one.
‫So if you take a look at that, you can see we've got the line height to be one.
‫Now, you have to do the same for this.
‫You have to click on it.
‫You have to go to this style and then you have to go to the text a way here and here.
‫You should basically said the line height to be 1.0.
‫And it's got to match that.
‫It's it's matching right here.
‫You can see it yourself.
‫Now, once it is done, all you have to do is to click on the heading right here and you have to type
‫in here.
‫Related properties in.
‫And here it is.
‫Now, once you've got that, all you have to do is now go to the advance right here and here.
‫Any padding, you have to just uncheck and add some padding in the right.
‫So we can increase it like so and we're going to add the exact same gapping that is being added over
‫here.
‫And here it is.
‫It is related properties in Almeria Island.
‫Now, you can design it the way you want to.
‫And you are done.
‫So you can see this is all pretty well.
‫It's looking.
‫So now we need to give some space down below.
‫So how to give space?
‫So if you want to give space, all you have to do is to search for it.
‫A widget called spacer.
‫You have to get that and you have to drop it down below like so.
‫And here Reverdy space that you can decide how much you need.
‫And once you're done, you're done.
‫You can see this is how it's looking at these related properties and Elmer Island.
‫And we've got all the properties showing Downbelow seem like this.
‫You can even decide this like how much post you need.
‫And to really click on the layout right here and here, it t's post Burbidge.
‫We're going to send this to three because we need only the three so that if there should be more.
‫Only the three poles should be coming and the columns should be three, only two.
‫And independent nation.
‫You said basically said this to none because we do not want to show the page anation obviously here.
‫And that's all you can say.
‫Let's now you're fully done with the Web site right here.
‫Seems like this.
‫What you can do is that you can even add a special down below so that there should be more spacing.
‫Or what you can do that you can select the section.
‫Go to the advance and add some margin from the top and bottom.
‫So we're going to be adding a 50 pixels from a top and bottom and it should be fine.
‫Like so.
‫So that's overrates.
‫Now, you know, you have also added the related properties.
‫Now let's just go in and let's hit update and let's verify it if it's working.
‫So we're gonna hit enter refresh to this particular one.
‫And it's it's a related properties in Halifa City, which is going to be that in here, every property
‫that is coming is basically based on that particular location.
‫But the category can differ, like you can see that and only three are coming like so which is giving
‫a really great impact.
‫That's all for right now.
‫In the next video, we will be talking about more stuff about.