I am trying to set post terms on the post, when it is puublished
In Gutenberg, one can use the getEntityRecord
selector to get the data of a term of a specific taxonomy by its term id:
I am trying to call wp_set_object_terms in a function hooked to custom post creation (via wp_insert_post_data) to set taxonomies tags for the post from a custom field:
On the Edit Screen in the WP Admin there is a meta box for WP’s built-in Category taxonomy. This meta box is built using post_categories_meta_box()
(/wp-admin/includes/meta-boxes.php
).
I want to find all the taxonomies that match an array of CPT id’s.
I attached default taxonomy “category” to a “story” custom post type, when I register it:
in multi author website when author publish post , he/her can give star rating to his/her own post. and I can display average rating for every taxonomy term using this formula:
Seems like it should be simple (the Stack Overflow catchphrase)
I would like to show an archive of posts that have two taxonomy terms in common. So for example, I’d like to show all posts that have both the terms “sauce” and “cheese” in the custom food
taxonomy.
after hours and dozen of tests and messes… i’m face to the wall and fed up searching (mainly cuz my google’s answers are already all clicked !)