Hello i have created taxonomy in custom post type that act like category. then i have created terms that acts like categories. i have create widget that show all...
I am trying to create theme pages for custom taxonomy terms in which the archives are ordered by a custom meta field. I can do this with a new...
I have an odd issue with get_term_by(). It’s working fine when I use it inside a template, but when I use it in functions.php it just returns false. $term...
I have a bit of a tricky one… I have a hierarchical Custom Post Type (‘shows’) that represents events. Is it possible for the user to create a new...
Context Post Type: Resources Taxonomy: Media Type, Term: Audio Taxonomy: Series The following code displays a unique list of the custom taxonomy “Series” I want to order the list...
I have a custom post type named ‘advert’ and a related custom taxonomy named ‘advert_category’, created by a 3rd party plugin. I run in a plugin an if statement...
If I go to wp-admin/edit-tags.php?taxonomy=location then I correctly see a list of terms. If I loop through: get_terms("category"); Then I correctly see several terms for the taxonomy of category....
I’ve created a custom taxonomy “foo” with rewrite slug “foo” and query_var “foo”. Say for example, I also have terms “bar” and “baz” in the “foo” taxonomy. At the...
I was surprised to learn that custom taxonomies aren’t added as body or post classes like categories and tags are. I’m sure this will be added in a future...
I’ve created a custom taxonomy. It’s working just as expected, aside from it is not showing in the get_taxonomies array. get_terms function returns an invalid taxonomy error. I want...