I'm struggling to set up the structure of my wordpress site correctly so that the slugs, work correctly.
The page & custom post setup works fine and is as follows:
Archive for fruits (page): - site.com/fruits Singular fruits (custom post) ---- site.com/fruit/apple ---- site.com/fruit/pear Archive for Veg (page): - site.com/vegtables Singular fruits (custom post) ---- site.com/vegtable/spud ---- site.com/vegtable/carrot
I would like to include a custom taxonomy, say colour, and using the plural have the following permalink:
Archive page for fruits by colour - site.com/fruits/colour/green - site.com/fruits/colour/red
I have been going round in circles trying to figure this out, but I believe the correct method would be:
Create a page template for the custom post custom taxonomy archive, e.g page-fruit-color.php and create a page for the above. Set permalinks so all request for - site.com/fruits/colour/%colour% go to the above page
Could some please clarify that this would be the best method, if would they have any pointers as to how I may actually achieve this? If it isn't, could someone please suggest the preferred method.
Any assistance would be greatly appreciated.