Custom post type with custom taxonomy including fields
-
Hi, I’m quite new to WordPress but already figuring out how custom post types and taxonomy work, but what I want is going next level for me. Could someone help me out?
I want to have an permalink structure like this:
https://www.[website].com/%5Blocation%5D/%5Bproduct%5D
https://www.[website].com/%5Blocation%5D/%5Bsublocation%5D/%5Bproduct%5Da [product] holds:
- title
- description
- image
On the post type I want to include the location.
a [location] holds:
- location_name
- telephone
I want WordPress to “link” the post information so when I make a product named ‘shirt’ and link several [location]’s like ‘europe’, ‘america’, ‘asia’, several permalinks should be available:
https://www.[website].com/europe/shirt
https://www.[website].com/america/shirt
https://www.[website].com/asia/shirtThe only difference has to do with the location_name and the telephone number on the post template.
Is this the right way to think or is there an other way to accomplish this.
- The topic ‘Custom post type with custom taxonomy including fields’ is closed to new replies.