Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

2
votes
1answer
309 views

Woocommerce custom shared taxonomy

I've added custom shared taxonomy season for product type from woocommerce and my custom type care. Care type and taxonomy are created in functions.php file of my custom theme. add_action('init', ...
1
vote
1answer
67 views

Custom Post Type With Categories

I have copied custom post type code from WordPress and modified and added to function.php but Where is the categories box. I cant seen anywhere. I want also for this post. I am not good for ...
0
votes
0answers
345 views

Changing custom taxonomy's slug as required?

I have a section in a plugin i am making where admin can add custom taxonomies and custom post types as required. the admin will create a custom taxonomy by selecting a name(that will be used as ...
0
votes
0answers
16 views

Custom taxonomy category slug not being included in permalink [duplicate]

I'm having difficulty implementing a permalink scheme with a custom post type ('widget') and its taxonomy ('widgetscategory'). Visually, this is the permalink structure that I am after: /widgets/ (a ...
0
votes
1answer
69 views

How to change taxonomy slug?

I have some registered taxonomies like this one: /********************************* Género *****************************/ function genre_init() { $labels_genre = array( 'name' => _x( ...
0
votes
0answers
59 views

Pagination for a Custom Taxonomy

Here's my problem: I have a Custom Post Type called Projects. In it's archive (archive-projects.php) I display a list of Clients (it's a custom taxonomy for this Projects). This works great, you can ...
1
vote
2answers
9k views

Get term slug of current post

I am working on a single post type template where I show a navigation menu with links to all the posts from the same term. Now I want to use this template for all the different terms so $term_slug ...
0
votes
1answer
166 views

How to display elements of different post types?

What happens is: I have a custom post type called "placas" and have an associated custom taxonomy called "firmas" and this taxonomy is the terms "LG", "AOC", "Panavox". I want to show a certain ...
0
votes
1answer
150 views

Code a Slider into an Archive Loop

I have created a custom archive page for my custom taxonomy. I want each post to display a slider for its images. I know I have to write some custom code for this work but I can't find any tutorials ...
0
votes
0answers
61 views

Taxonomy to WordPress Permalinks of custom post type

I am searching days now for the answer how to add taxonomy to my custom post type permalink. I've found this article which almost exactly gives the answer but it doesn't work for my custom post type. ...
0
votes
1answer
82 views

Archive page for custom post type and custom taxonomy

I've made a custom post type book and a custom taxonomy book_category. I've been trying to create an archive page where the books belonging to a particular category can be viewed. So far I've only ...
0
votes
0answers
31 views

Trying to create hierarchy between 3-4 custom post types

I am trying to think of a way to create a certain hierarchy between several post types. I was looking at term_taxonomy table, and its seem to have the capability to achieve that. I have a feature to ...
0
votes
0answers
1k views

Custom Taxonomy Showing in WP Menu

I have 3 taxonomies bundled with my custom post type. I have noticed my custom post type(cpt) and 2 taxonomies won't show in the Wordpress menu system but 1 taxonomy will. Can anyone point me in the ...
0
votes
1answer
37 views

How to not have the items of the subtaxonomy within the parent taxonomy

What I'm trying to do: Have a script that will go trough every taxonomy of a custom post type, then list the posts that are with that taxonomy. Code: <?php $taxos = get_categories( ...
0
votes
2answers
453 views

Register custom taxonomy from a Advenced custom field option page

I have a website with products (shoes), i have some shoes models registered as taxonomy on the function.php file like so: function add_custom_taxonomies() { register_taxonomy('mod-nike', ...
1
vote
1answer
373 views

Specifying a size when displaying an image associated with a taxonomy through ACF

I created a "books" custom taxonomy for my "book" CPT. Using ACF, I assigned an image to each my custom taxonomy terms. I have a page where I display all my "books" terms as images. It works but now ...
0
votes
1answer
64 views

Looking up custom taxonomy IDs by name

I have a custom post type, 'fee', which has a custom taxonomy, 'fee-category'. I'm trying to look up IDs for items in the taxonomy by name. Should I not be able to get it using get_term_by()? ...
0
votes
0answers
30 views

What's the proper WordPress URL for the template of my custom taxonomy?

I have a CPT called "books", a custom taxonomy called "book" for this CPT, and a "taxonomy-books.php" template in which I display my "books" terms using get_terms(). I don't understand (yes, I googled ...
1
vote
1answer
630 views

Get custom post type list for every category shortcode

I am trying to make a shortcode to list all custom posts under the category they are under. Here is my code and I am no expert of coding but i thought that this would work. If someone can tell me what ...
0
votes
0answers
22 views

Pagination problem with custom taxonomies [duplicate]

My previous developer made me a theme but he does not work for me anymore. He made pagination but it does not work. He used GET parameters as search terms which search through custom taxonomies. At ...
0
votes
0answers
340 views

How do I share categories across multiple post types?

I have three custom post types in my theme, and each of them have categories enabled. I want these post types to share the categories between them, so that when adding a category to one, the others ...
1
vote
2answers
1k views

Loop custom taxonomy to get lists of cutom post types?

I have a custom post type 'products' and custom taxonomy of 'maker' that i have connected to that cpt 'products'. I have written this code : <?php $myproducts = new WP_Query(array('post_type' ...
0
votes
1answer
46 views

Installed Forca Theme, wonder how I can alter Post editing screen

I've just installed Forca Theme on my fresh WP installation. They add a few custom taxonomies like: 1 Events Categories - Just categories for Events 2 Events - Same as regular Post, with custom ...
0
votes
2answers
67 views

Storing/querying custom date data

I'm currently building a site where I need to filter/order/query a custom post type by date data. I can't use the post published date for this, but can't decide what would be the most efficient way to ...
0
votes
2answers
67 views

Get term_id for each instance of custom taxonomy

I am building a custom image slider. I have a custom post type called 'slide' with an associated custom taxonomy called 'slideshows'. When you create a new 'slideshow' it add to a custom table in ...
0
votes
0answers
135 views

tax_query operator issue. IN works, AND never returns any results

This is a bit complicated. I have a wp_query that is almost working perfectly, but I have one issue. I think there is something here that I'm just not seeing. All of my code is an included php file ...
1
vote
0answers
620 views

Exclude custom taxonomy term posts from custom post loop

I have a custom post type set up called projects with a custom taxonomy called categories that has a number of terms. For one of them called archive I would like to remove its associated posts from ...
2
votes
2answers
122 views

How to list all record from one custom taxonomy start with only one letter i.e A

I want to list all records in one custom taxonomy start with only A or B. Below code is to list all record with all letters. Here is the code to list all record with one custom taxonomy with all ...
1
vote
1answer
118 views

Can I use a Custom Meta Value inside of 'get_the_terms'?

I have a custom Page Template, and this is the code that I am trying to manipulate to change depending on a custom meta value that I write for specific Pages. $terms = get_the_terms($post->id, ...
0
votes
0answers
251 views

WP redirects pretty permalink to query string

I have a custom post type artist and a taxonomy kind_of_art. I want their permalinks to be like: %kind_of_art%/%artist% Therefore I created following rewrite rules: add_rewrite_rule( ...
0
votes
1answer
130 views

Custom taxonomy page uses index.php

Read a couple of tutorials (here's one) but I don't understand why I can't make it work. I'm trying to create a page for custom taxonomy terms. Like mysite.com/tag/term or mysite.com/category/term but ...
0
votes
1answer
49 views

Pass custom value to custom taxonomy

I'm trying to pass a custom field value into a custom taxamony whenever I publish a post. Everything works fine except the meta value part. I can only pass strings. In the codex it says that ...
0
votes
2answers
107 views

Custom Template Taxonomy

I have 3 custom post types - Events, Music and Video. I have custom article pages for these 3 post types as having them on a singular archive page would be bloated. So i have: archive-events.php ...
0
votes
1answer
559 views

Wp Query with multiple custom tag(taxonomy) by get the terms

I need to do a wp query that will get any post in custom post type that has one custom taxonomy (not hierarchical, like a post tag) or more. My current code work for one tag, but I've try for multiple ...
0
votes
1answer
46 views

Convert Custom Taxonomy Posts to Normal Posts

Previously I was using a custom taxonomy based theme, Flavour. However after some successfull years with that theme, I tried with a different theme. However in the new theme, I am unable to see or ...
0
votes
2answers
343 views

Taxonomy landing pages

I like to create a landing page for my custom taxonomies. Right now ive created three custom taxonomies /country/[terms] /person/[terms] /interrests/[terms] i like to create a listing page for ...
-1
votes
1answer
76 views

Determine category in taxonomy of current custom post type

Using a php statement - how can I determine the name of the category in a taxonomy of the current custom post type that a user is browsing?
0
votes
2answers
61 views

Where is defined a custom register_taxonomy? [closed]

Where is defined a custom register_taxonomy for my website url? Now is showing: http://localhost:1337/wordpress/portfolio-list/yapbond/ But I want ...
0
votes
1answer
252 views

remove term from custom taxonomy list

I have the terms of a custom taxonomy presented in a list like this: <?php $taxonomy = 'categories'; $tax_terms = get_terms($taxonomy); ?> <ul> <?php foreach ...
0
votes
1answer
80 views

Display taxonomy with a maximum number of letters

I'm looking for a function which displays a post's taxonomy with a maximum number of letters. I've achieved with title (How to limit the max number of characteres in the title that are displayed), but ...
0
votes
2answers
384 views

taxonomy_template filter do not loads custom taxonomy template properly

I'm using taxonomy_template filter in my plugin to load a template file for custom user taxonomies. This is the code I'm using add_filter( 'taxonomy_template', 'get_custom_taxonomy_template' ); ...
0
votes
1answer
37 views

Customize category URL

I've searched around and have not found the answers im looking for. By default I have: example.com/blog (blog archive) example.com/blog/entry (single entry) example.com/blog/category/announcements ...
1
vote
1answer
100 views

get_term_children returns unknown int though term has no child

I am running get_term_children to check if a term has children. On a term which does not have have children wp returns an array containing a single int : 12 though that does not relate to any term. ...
1
vote
1answer
92 views

How to filter terms from a custom taxonomy by a usermeta value on all screens and templates

I have a custom taxonomy "q_client" - each time a new term is added to this tax the ID of the user is stored in user_meta. So each user has an array of id of the terms they have added - a quick hack ...
1
vote
0answers
178 views

wp_get_object_terms(): count relative to passed IDs?

I know when you wp_get_object_terms() you get a "count" member variable for each term object returned, but that "count" is what's in the $wpdb->term_taxonomy table in the database, it's not ...
0
votes
1answer
95 views

get_terms returns array starting at 4

I am using get terms to return a list of terms within a custom taxonomy. It's returning an array but it starts at index 4. How do I get it to start at 0 like normal?
0
votes
1answer
46 views

Display custom post taxonomies

This should be fairly simple and Im not sure what I'm doing wrong. I am trying to display the tags associated with my custom post. I have registered it like so // Initialize Taxonomy Labels ...
1
vote
0answers
282 views

Hierarchical permalinks for custom post type and taxonomy

I have registered the custom post type "word" and the custom taxonomy "wordcat". Now what I want is proper hierarchical permalinks. So I've been searching the web for quite some time with no result. ...
0
votes
1answer
203 views

Compare Two Custom Post Types Using The Same Custom Taxonomy

I have two post types, courses and testimonials, sharing the same taxonomies. What I am looking to accomplish is to check whether a course is in the same category as a testimonial. Then display if it ...
1
vote
2answers
486 views

Want wp_get_post_terms return in arbitrarily order, how to do?

Function below returns in alphabetical order and not, as wished, in arbitrarily order. Is it possible to -not- return in alphabetical but in exact order as given in the array? ...