In Wordpress we can create a post type which can contain taxonomies (or custom fields). Can these taxonomies (or custom fields) contain anything? For example other taxonomies or something else?
If I need a Wordpress model where I've got people who have got pets who have got toys which have got colours... As you can imagine, two different people can have a cat; a toy for a cat can be at the same time a toy for a dog; the black colour can be a feature of many different toys. All the relationships are "many to many". Is there a simple way of nesting these seperate data types respectively?
Some clarifications if what's above doesn't explain the idea clearly enough.
I'd like to display lists on my Wordpress website.
- For example a list of people. For each person on the list I'd like to display what's their pet.
- For example a list of pets (or example a cat as one item). For each pet I'd like to display people who have got this pet. For each pet I'd like to display what toys are available for them.
- For example a list of colours. For each colour I'd like to display the toys which are available in the colour.
In a programming language I'd create 4 classes and each one would have fields where some of fields are realised by one of the classes (for example a pet would be a field of a class "person"). In Wordpress it seems that the most appropriate thing so far are custom post types. But I don't know if post types can contain another post type as a feature (a characteristic/ a field/ whatever we call it in WP). In the standard WP the post type "post" and the post type "page" are not related like this at all as far as I'm concerned.