I have a custom taxonomy and I wish to do a query for all custom posts who has no value assigned for that taxonomy (i.e. uncategorised). This is what...
I’m trying to list attachments based on different taxonomies. Right now it only work for the basic url (no pagination added). For example http://www.example.com/exams/high-school/city-name/subject/math/ First, I added my custom...
When I install the plugin, I want to create 10 CPTs of a particular type, which I define in the init action hook, and want to assign 10 terms...
This is the code i have until now to add a CPT articles and taxonomy articles-category. The code works, sort off. The pages are displaing correct (when i access...
I’ve found various questions about this issue, and I still can’t get this to work. I have a post type called “product” and a taxonomy called “type”. I’d like...
Been trying to get a nest of custom post type and taxonomy working (even took a look here) but couldn’t get it working 100%. Here is the thing, I...
I have created a custom post type for events. Now within events post type I have created 2 categories. One is ‘event’ and another one is ‘workshop’. The ‘event’...
I have created three custom taxonomies that categorize my post types by project-client, project-brand, & project-medium. As of now I can use the get_the_terms() function to return only one...
I’m wondering what’s more efficient when it comes to performing search for data. I am building a job board where I have an option to store information like: Company...
I have a custom post type named landings which has a rewrite rule to change the slug to loans and a custom taxonomy provinces and I want the custom...