A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

1
vote
0answers
13 views

Custom Taxonomy's Label to change the text appearing in Appearance > Menu

I have three custom post types, each has its own taxonomy like product_cat, event_cat, media_cat. I labeled all of them with the word "Category" like: register_taxonomy("product_cat", "product", ...
0
votes
0answers
16 views

How to add id to custom post type taxonomy term slug?

For example, if custom post type taxonomy is "cpt-category" and term is "cpt-term-11", I would like to show and link like this(*123 is term id) /cpt-category/123/ instead of ...
-1
votes
0answers
17 views

list of recent post by specific tag or taxonomy

<?php $catquery = new WP_Query( 'category_name=s&showposts=10' ); while($catquery->have_posts()) : $catquery->the_post(); ?> <li><a href="<?php the_permalink() ?>" ...
1
vote
0answers
40 views

Fatal error: Call to undefined method stdClass::filter() in wp-includes\taxonomy.php on line 805

Hi I just updated my WP site from 3.8.1 to 4.4.1 version (related to this). After update I got this error Fatal error: Call to undefined method stdClass::filter() in ...
-1
votes
0answers
18 views

Custom Query Displaying Wrong

I have two custom post types. "Featured Business" and "Business". I have a query which when searched displays the custom post types in order. For some reason it is ignoring my order and displaying ...
1
vote
1answer
27 views

How to export/import categories and keep their IDs?

Using a plugin doesn't keep the IDs of the categories and exporting/importing of the wp_terms and wp_term_taxonomy tables only works on categories without parents, it seems. The admin panel still ...
2
votes
1answer
22 views

Add custom taxonomy under the category title

I've added a custom taxonomy to my product category page in the admin. I can call the custom field using the following: $queried_object = get_queried_object(); $t_id = $queried_object->term_id; ...
1
vote
1answer
22 views

Get posts by name and taxonomy term

How do I get all posts that has a taxonomy term and a specific name/slug? I have tried with the following arguments but without getting the wanted result. What am I missing, how can I combine the ...
1
vote
0answers
21 views

Wordpress thinks my custom taxonomy pages are search pages #seo

I have set up a custom taxonomy for regular posts called guide. I have a template file called taxonomy-guide.php which lists out posts with a guide taxonomy. So my URL structure appears like this: ...
1
vote
1answer
12 views

Search Posts / Pages with multiple options?

Here is what I am trying to accomplish. Need to design a website for Alcoholics Anonymous (local Chapter) to search for meetings. Need to search for multiple choices of meetings for example. Men's ...
1
vote
2answers
26 views

Ordering Taxonomies / Changing term_id

I have a site where there are nearly 200 series (custom taxonomy) and roughly 10 items (posts) in each. Each series is called 'Name: Series Number - One liner bout the series'. When I use get_terms ...
1
vote
0answers
9 views

Add Taxonomy Subcategory To Permalink

I am using a custom post type (job_listing) and custom taxnomy (job_listing_category) via the Job Manager plugin. I came across a guide in the plugin's documentation, to "add the Job’s category name ...
1
vote
0answers
21 views

I used the Tax-meta-class by bainternet but i still can't get it to display any of the results.

here's my code: $config = array( 'id' => 'tax_meta_box', // meta box id, unique per meta box 'title' => 'Tax Meta Box', // meta box title 'pages' => ...
1
vote
0answers
12 views

Get the taxonomy of a post hierarchically

I would like to get all the taxonomy of one post (in a loop), hierarchically. Example I have those taxonomies, and the ID of the tax in bracket. Tax1(1) -Tax2(3) --Tax3(2) I would like to gather ...
1
vote
1answer
15 views

Should I be using custom post types for this or terms and taxonomies?

So for the past week or so, I've been developing a plugin that lets users manage a restaurant menu. I've learned a lot about the process of making plugins as far as adding custom post types, creating ...
1
vote
0answers
12 views

Display Posts Loop for each parent and for each Child

i have a custom query to display relation with posts (post 2 post plugin) my existing code display : foreach terms as terms i need to display for each Parents Display Child then Posts Titles ...
1
vote
0answers
22 views

Prepending %category% onto default posts fails

I have been attempting to change the rewrite slug on the default posts. This is my post_type re-registering code (Taken from another post on StackOverflow) with the simple intent of changing the ...
1
vote
1answer
50 views

Taxonomy , subtaxonomy,child taxonomy of a product woocommerce

Hi i need to get the main taxonomy and sub taxonomy of a product in woocommerce . i know how to get taxonomy details .123 is product id . $terms = get_the_terms(123, 'product_cat'); I know how ...
1
vote
0answers
15 views

Individual testimonial taxonomy not displaying (white screen)

I am using a testimonials plugin which is working fine except for when I try to view the testimonial entry as an individual page The plugin author suggested changing the testimonial slug and updating ...
1
vote
1answer
31 views

Autogenerate Front End Form Field With jQuery

I am attempting to autogenerate the terms in a custom taxonomy from a front end field. However, when I use the following code and try to type in a letter the dropdown menu that appears is a bunch of ...
1
vote
0answers
15 views

Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown

I have a CPT called 'online-lots' for displaying items in an auction. The posts are grouped by custom taxonomy called 'sale' (e.g. '07_15 July Sale)', meaning that a whole catalogue of items can be ...
1
vote
2answers
40 views

Display certain amount of posts on taxonomy archive page

I have a taxonomy archive page where I display everything under the term 'techno' I want to be able to limit this to 20 posts to a page until it paginates. At the moment it displays 10 on one page and ...
1
vote
0answers
25 views

Custom headers based on taxonomies

Got a bit of an issue that I require a little bit of help with if possible, I have been searching the net for the past day or 2 to try and solve (I have a feeling it will be an easy fix) I am just ...
2
votes
0answers
31 views

Call javascript function when category was added via ajax

I've created a plugin to handle featured images for categories (well, for custom taxonomy actually, but it doesn't matter). Everything is working fine, except the featured image is not cleared after ...
2
votes
1answer
115 views

How to list all categories and tags in a page?

Suppose we have few categories, tags and custom post type and taxonomies. How can we list all categories, tags in a page? Something like; Page Category Thumbnail and Category Name 1(link to ...
3
votes
1answer
37 views

Get_term_by only returns one item from array

I am trying to retreive a term id based on the term name using the "get_term_by" function that is build into Wordpress. However, this function only retrieves one item from the array that i get them ...
1
vote
0answers
39 views

Combine multiple custom user taxonomy in single url

I have created custom user taxonomy for user and its working good. Reference guide:- http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress Bellow is structure of taxonomy ...
1
vote
0answers
27 views

How to show all post related taxonomies

I created several custom taxonomies for default WP post type. Does anyone knows any widget solution or have any idea for this: How to show (in sidebar) all post related taxonomies? Example: If we go ...
4
votes
0answers
64 views

What is wp_insert_term “alias_of” arg for?

I currently put my hands into WP taxonomy and terms to find solutions for my project. I knew that it's not possible to have same terms slug when creating a term with wp_insert_term in one Custom ...
8
votes
1answer
135 views

Need a simple but complete example of adding metabox to taxonomy

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 basic text field to a Taxonomy. I tried to adapt ...
3
votes
2answers
42 views

How to overwrite a specific parameter in a core taxonomy?

The Codex page for register_taxonomy says that This function adds or overwrites a taxonomy. How can I use it to overwrite a core taxonomy without redefining all the parameters ? For example, ...
2
votes
0answers
25 views

Creating Custom Taxonomy With mapping to post type

I just want to create a custom taxonomy for my plugin use but this should not be liked with any post-type and also i need to add the menu in my custom admin menu (Which i have already Created). I ...
1
vote
0answers
20 views

Category lists page foreach Paging

I use the following code shows the classification of the article with a list of all the category list on the page template, but such a page will be displayed all categories. I hope one page displays ...
1
vote
1answer
66 views

has_term not working

I've been scratching my head all day with this one. I'm trying to use has_term but it just won't work. I do get this notice but I'm not 100% sure it's related. I've also tried is_object_in_term() but ...
1
vote
2answers
30 views

Replace taxonomy permalinks

I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
3
votes
1answer
67 views

Is there a way to set singular/plural labels for taxonomy term names?

Let's says I have a taxonomy called Types. I know I can have a singular name when registering the taxonomy... so I could just set the singular label to Type. But is there a way to the same/similar ...
1
vote
0answers
8 views

Taxonomy in woocommerce

Create brand taxonomy WooCommerce As I can list for each brand product categories that have ? For instance : If there are products Acer , in the category servers, accessories, and desktop . And ...
1
vote
0answers
21 views

Adding custom taxonomy in same menu place with two custom post types

I have registered 2 post types: register_post_type( 'post_type1' , $args1 ); register_post_type( 'post_type2' , $args2 ); And I've registered a custom taxonomy associated with the second post type: ...
1
vote
0answers
10 views

get_adjacent_post by language

I am using Polylang plugin, which assigns each post to a taxonomy 'language'. While using get_adjacent_post() I want to bring only those posts that belong to the language currently displayed. So I ...
1
vote
0answers
19 views

Show child terms of current term of the taxonomy

I have some taxonomies (such as product, articles &...) and any taxonomy has some terms (Eg for product: mobile, book & ...), and any terms has some child terms (Eg for mobile: iPhone, ...
1
vote
0answers
43 views

Filtering *out* a taxonomy from the admin post list

I've got a custom post type 'Speakers' that, after some time, are added to a custom 'archive' taxonomy so that they can be sorted into different sections of the site. I'd like a way to hide any ...
0
votes
1answer
22 views

I have custom post type with custom taxonomy. But not found the taxonomy page..

this is my link. http://redesign.conei-sa.com/apps_cat . not found . My code in function.php. function prefix_register_post_type() { register_post_type( 'application', array( ...
1
vote
0answers
57 views

How to make custom taxonomy into drop down select in a custom metabox

I have a custom post type that I am creating custom meta boxes for on the "Add New Post" screen. I would like to remove the default meta boxes for a given custom taxonomy and place it in a drop down ...
1
vote
0answers
43 views

Manually query posts by taxonomy with MySQL

I'm trying to query posts from the WP database with the category uncategorised, while also joining the post meta table, but I can't get it to work. I get an empty result. This is my query SELECT * ...
1
vote
0answers
30 views

Multiple pages for posts?

maybe this is answered somewhere just i am not able to find it then sorry. Situation is that I need to have different "page for posts" for hierarchical post types. example: CTP: office ...
1
vote
0answers
57 views

Fetch and ACF image field from a custom taxonomy outside category/archive page?

I have a project where we have registered a custom taxonomy called "product-category" and have an Advanced Custom Field linked to it called "range_image". We then have a custom page template (not a ...
0
votes
0answers
5 views

I'm looking for a plugin or solution to make taxonomy pairs or groups

I have two different custom taxonomies. First taxonomy contains name of competition (City competition, Country competition). Second contains type of win (winner, top21, top100). And every post can be ...
2
votes
1answer
86 views

Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?

I have a custom post type called ‘sets’ and a taxonomy set up under it called ‘project’. Most of the posts under this custom post type will be assigned one project term, but not necessarily. When a ...
0
votes
1answer
81 views

Custom Post Type Archive with Dynamic Taxonomy Filtering

I have been learning about WordPress's built-in function as described in the title. What I have learned is that WordPress will automatically filter the content displayed by the taxonomies specified ...
1
vote
0answers
21 views

Which hook is fired when tag is added or changed? [duplicate]

I have a transient that collects WordPress tags with specific description. I'm looking for a hook name that fires when user edits a WordPress tag or creates a new tag in admin so I can delete my ...