get all types and terms
-
I have a custom post type called ‘machine’
a machine belongs to different types (‘machine-type’) (taxonomie)
a machine is tagged with different tags (‘machine-tag’) (terms)
when i print_r $taxonomies = get_object_taxonomies( ‘machine’);
i get:
Array
(
[0] => machine-type
[1] => machine-tags
)how i get a list of all existing machine-types (i added 4 via backend)
how i get the machine-type of a single post (single machine)
how i get the machine-tags of a single post (single machine) (i added several tags via backend)Thanks for your help
br muki
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get all types and terms’ is closed to new replies.