Site icon Hip-Hop Website Design and Development

Duplicate Customized Put up Kind and Taxonomy Slug

I’ve seen a couple of questions which can be very comparable, however I have never been in a position to get an actual reply, so I will clarify my scenario right here.

Fairly merely, I would like the next url construction:

web site.com/eating (customized put up kind)

web site.com/eating/eating places (phrases of customized taxonomy)

web site.com/eating/specific-location (precise put up of the customized put up kind)

This url construction will likely be repeated for a number of customized put up sorts, reminiscent of lodging (phrases of inns, inns, B&B, resorts, and so forth), Bars, and so forth. My present setup is:

Customized Put up Kind: “Eating”
Customized Taxonomy: “Eating Sorts”
Phrases of “Eating Sorts” are the classes, reminiscent of cafes, eating places, and so forth.

I did a rewrite on the url for the time period to make it “eating” as an alternative of “dining_types”, however that had a battle with the customized put up kind, as I’ve learn will occur. So the query is, with this very fundamental construction, how on earth do I obtain the urls I listed above? I really feel prefer it’s an extremely easy construction (particularly in comparison with the opposite comparable points I’ve seen), but I can not seem to get it.

Additionally price noting, I am programmatically assigning templates to something and the whole lot associated to this setup, so I do not want any named recordsdata, it is all accomplished with code.