I’m intending to use the default “post tags” taxonomy to provide a common set of tags across posts and 2 custom post types (to allow for collection/aggregation by tag)....
I am using register_taxonomy_for_object_type() to add the Category taxonomy field to Media uploads (attachments). I’m using this code to do so: add_action('init', 'reg_tax'); function reg_tax() { register_taxonomy_for_object_type('category', 'attachment'); }...
I’ve been stumbling around trying to figure out how to get a specific taxonomy term of the current page so that I can subsequently populate queries on the page...
Now that WordPress 4.4 is out, we can start using the new awesome term meta functions! Still, there seems to be no simple tutorial on how to add a...
I have two custom post types ‘country’ and ‘city’ and a shared taxonomy ‘flag’. If I use: <?php $flags = get_terms('flag', 'orderby=name&hide_empty=0'); I get a list of all terms...
I am trying to implement a front end posting system which shows taxonomy data in several dropdown select fields. Each of the dropdowns is named by using the “name”...
I was looking for some insight and good resources on how to correctly perform unit testing on proposed WordPress patches in the Trac and how to accurately report the...
I started developing a site with over a dozen custom post types. I’d like to rename a few of them, not just the display value, but the actual custom...
The question is “What is the Difference Between Hierarchical and Non-Hierarchical Taxonomies?” This question really stumped me at first so I figured it would be a good idea to...
The question is “How do I add one or more fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?” This question was asked on...