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

learn more… | top users | synonyms

0
votes
2answers
195 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', ...
0
votes
0answers
42 views

How to add taxonomy into URL of single custom post type

I have the following url of each custom post type Portfolio/titleofcustomposttype Portfolio/othertitleofcustomposttype But, i have already taxonomy for each post, and i want it to be displayed in ...
0
votes
0answers
37 views

Display navigation for the category I just came from when a post is in multiple categories

This is a problem that has plagued me for a while, and I've used various methods to try to get around it. The typical Scenario where I get this problem is: I have a bunch of posts in the standard ...
0
votes
0answers
27 views

Make taxonomy terms appear in the order they were made

IS it possible to make taxonomy terms appear in the order they were made, in the backend? They keep appearing in alphabetical order. I tried using sort but it doesn't seem to be working. This is my ...
0
votes
2answers
161 views

Let user select their own category

I would like to let category editor appear to any user and user can edit their preferred category(ies). For example: the category is about kind of job or profession and there are 10 ...
0
votes
0answers
96 views

Custom post type URL returns 404 error page

I have a post_type called "products" and inside it have two taxonomies "destinations" and "types". Inside destinations i have a list of countries as terms and inside types i have (hotels, cruises). ...
0
votes
1answer
32 views

Same template for all the terms of a taxonomy

My problem is the following. I have a custom post type called "photography" which contains a taxonomy called "photographyCategories", which contains several terms : "outside", "inside", "portrait"... ...
0
votes
0answers
44 views

Sideways8 Taxonomy Images add term issue

I'm using the Sideways8 Taxonomy Images plugin (latest version), with WP 3.7.1. I also use the woocommerce plugin (latest version). It all worked well till some point, where I really don't know why, ...
0
votes
1answer
40 views

Using a taxonomy value as part of a post URL

I'm working on a Real Estate site using the following permalink format for properties: http://www.site.com/property/1330-5th-avenue (property is a custom post type for listings) How can I ...
0
votes
0answers
78 views

urlencode error with checkboxes in wp_query using tax_query and taxonomies

I am making a search that taps into wp_query and filters thru custom taxonomy terms. It works, but I get a urlencode warning when using checkboxes to filter thru taxonomy terms assigned to POSTS, but ...
0
votes
0answers
292 views

category_name not working in WP_Query

I have a custom post type and I wanted to show posts just from a certain category but its not working. Here is the code: <?php // Reset post data. wp_reset_postdata(); $photo_group = 0; // For ...
0
votes
0answers
17 views

Display custom posts from a custom taxonomy, sorted by another custom taxonomy

I am developing a Nature section on a website. I have a custom post type which contains several custom taxonomies (Group, Order, Family). So I have the following posts categorised like this - Group ...
0
votes
0answers
28 views

Taxonomy drop down using post_name permalink

I'm using the following code to display my custom taxonomy as a drop down menu, all works fine except I need it to use the post_name permalink, just now it links to ?cat=2 etc. I've checked the ...
0
votes
1answer
229 views

Taxonomy term breadcrumb; how?

Given a taxonomy term (perhaps in a taxonomy*.php template) how to construct a breadcrumb going up the full ancestry of the term? Is there any shorter way other than a "brute-force" loop to query ...
0
votes
0answers
60 views

Insert custom post type with taxonomies

I am tryig to insert my custum post type with a specific taxonomies , but it doesn't work Here my Custum post type add_action( 'init', 'create_annonce' ); function create_annonce() { ...
0
votes
1answer
88 views

Random post order and taxonomy filter

I have category page where I display articles in a random way. There's a taxonomy by city in my articles. So at the top of my page, there are some links in order to display the category with taxonomy ...
0
votes
1answer
88 views

Non-Recursive get_term_children()

I have a custom taxonomy called product_category. There are child terms 3 levels down. They look like this: Term1 Term2 Term3 When I am on the taxonomy page for Term1, I wish to use ...
0
votes
1answer
16 views

How to setup a taxonomy that can have only one post assigned to it?

I have a Custom Taxonomy of, "Show on Front Page". I would like only one post to be assigned to this. So if I went and created an new post and checked the "Show on Front Page", the previous post that ...
0
votes
1answer
72 views

Category base 404 - fix

I have seen the problem before when hacking in WordPress When trying to access the www.example.com/category/ I get a 404-page displayed. Is there a way to display something useful such as a page ...
0
votes
0answers
31 views

Problems with custom post type and hierarchical permalinks

I have a custom post type "films" and a hierarchical taxonomy "genre" (terror,drama, action) I would like to obtain this urls: www.domain.com/films ----------------------------------> all the ...
0
votes
1answer
150 views

List post from current taxonomy children

I have a custom post type and a taxonomy with children, with a template file named taxonomy-productcategories.php. On this i want to list all children with their posts. Child taxonomy 1 Child ...
0
votes
1answer
166 views

Don't display taxonomy if empty

I'm using the following code to display my custom post taxonomies: function display_post_taxonomies( $content ) { if( is_single() ) { $args = array( 'public' => true, '_builtin' => false ...
0
votes
0answers
38 views

Rewrite rules custom post type

I created a new custom post type "video" and a new taxonomy "singers". There are 3 singers: Michael Jackson, Madonna, Eminem. I'd like change the permalink and so I'd like this URL: ...
0
votes
0answers
62 views

Custom Taxonomy Term in Custom Permalink Gives 404

I developed a small plugin to be able to add a custom taxonomy as a string to a post. I've included the variable in a custom permalink string. This string is used by Apache to determine if external ...
0
votes
0answers
26 views

How to choose the parent category that shows when using multiple custom categories [duplicate]

When a post is in two or most custom categories, how can I specify the parent category name that I want to show up? An example is the custom post type "tour". It is in the following categories: ...
0
votes
0answers
15 views

Showing parents of taxonomy terms associated with a post OR showing only bottom-level terms associated with a post

I have a custom taxonomy structure associated with a custom post type on my Wordpress site (selling sheet music): It's something like this, to give some context: Flute ensemble 3-part flute ...
0
votes
0answers
78 views

Sticky (or any boolean field) taxonomies?

I would like to add an extra field to a custom taxonomy, wich I would use a little bit like sticky posts, this way I could have a menu with some special taxonomies, is that posible? I can't seem to ...
0
votes
1answer
113 views

Possible to register multiple custom taxonomies in one function?

I'm registering 7 custom taxonomies in my functions.php. Since each function uses the same labels and arguments and is attached to the same Custom Post Type, I'm wondering if it's possible to register ...
0
votes
0answers
70 views

Hide or redirect the taxonomy/category/tag page

I created a taxonomy brand with two categories: nike and adidas. What I need is to prevent the creation of the page for each category, like www.example.com/brand/nike/ or www.example.com/brand/adidas/ ...
0
votes
0answers
95 views

How to sync to custom taxonomies (tag structure)

I have two taxonomies: "Contributers" and "Narrators." I want to sync the terms in these two taxonomies identically, so much so that I wish to be able to click on "Edit Term" and see the information ...
0
votes
0answers
49 views

Show Child Taxonomies in Posts Dropdown

I've written a simple dropdown script and I am looking to expand it to include the child taxonomies and posts. I'm not quite sure how to accomplish checking if there are child categories for $tax_slug ...
0
votes
0answers
50 views

Different domains per custom post type or taxonomy

I'm trying to create 3 sites in one wp-admin basically, but they all have different domains and can cross reference each other (to form relationships via taxonomies, etc). http://test.org ...
0
votes
1answer
50 views

using post_type with meta_query

I'm setting up a basic slideshow and want to loop through the custom post type “Projects” and display only projects with a photo attached - <ul class="slides"> <?php $args = array( ...
0
votes
2answers
314 views

Multiple tag cloud filtering

I am writing a plugin which creates a custom post type and two associated custom taxonomies. The custom post type list/archive page should be filterable by terms in one or both taxonomies i.e not just ...
0
votes
1answer
214 views

How to display custom taxonomy and terms using/creating plugin template

I am working on a plugin which requires a custom taxonomy and 3 terms (Personal, Group & Pets). I already have the taxonomy set up with terms and some sample posts. I've created a template for my ...
0
votes
1answer
97 views

Error after updating to WooCommerce 2.0.15

Warning: in_array() expects parameter 2 to be array, null given in /home/semprebemcasados/www/wp-includes/taxonomy.php on line 2092 Warning: Invalid argument supplied for foreach() in ...
0
votes
2answers
84 views

Why is my post categories not displaying?

My post categories are empty. When editing or adding a post they are not displayed in the box. On the /wp-admin/edit-tags.php?taxonomy=category page none of the categories are displayed there either. ...
0
votes
0answers
18 views

Naming convention for taxonomies [duplicate]

I had a taxonomy called: wossom. And I was using taxonomy-wossom.php as the template file that will describe a term of this taxonomy. Now I need to change the name of the taxonomy to wossom-balag, so ...
0
votes
1answer
190 views

Taxonomy Category category.php not working

I have created custom post type, taxonomy and categorys. When viewing the category it seems to be using index.php and ignoring the WordPress template hierarchy. Any ideas why category.php, ...
0
votes
0answers
30 views

Store members in custom taxonomy or native user?

I've just started Wordpress-programming a few days ago, but I've been programming php 5-6 years. I've been writing some code -added custom taxonomies, custom post-types/fields etc. Now I want to be ...
0
votes
1answer
63 views

Multiple loops on a Search result page?

I have a custom template that displays search results based on a plugin. The wp_query contains all the taxonomy information to show the proper posts. How can I have two loops on the same results ...
0
votes
0answers
32 views

Filter custom taxonomy table

I am trying to make a limited admin panel for some users. I would like to customize the taxonomy menu so that there is only one term visible when a user has a specific capability, but also allow him ...
0
votes
0answers
816 views

add custom fields in custom taxonomy meta box in wordpress-3.5.2

Unable to add custom fields in custom taxonomy meta box in wordpress-3.5.2. I have checked solution in various blogs but Unable to solved this problem. I am using wordpress-3.5.2 What I am trying is ...
0
votes
1answer
329 views

How to permanently delete a taxonomy

I want to delete a taxonomy (both form wordpress and database) created long time ago and now no more used. How to do it? I found this function but I think it will delete all my taxonomies... and I ...
0
votes
1answer
195 views

Sorting Custom Taxonomy in ASC/DESC order?

Before anyone say that I didn't try let me say I tried a lot to achieve this. I even achieved but when I add the following code to functions.php the sorting works but the filters on left side ...
0
votes
1answer
19 views

Add a tag like a post

For days I'm looking at different threads Stackexchange, but I can not find the solution. I hope you can help me out. I created a post_type called "bands". I'm trying to, from another post_type (eg ...
0
votes
0answers
32 views

Get all the contents of taxonomy and sort by term

I'm doing this in a page template. So far, I can query all the contents under my taxonomy. But I need to sort them in terms of their term. Any idea on how to do this? Providing an example would be ...
0
votes
2answers
120 views

How to limit the number of terms (terms acts like categories)

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 terms from taxonomy. all works ...
0
votes
1answer
62 views

How to get all the terms of a post

Here is my code so far: $terms = wp_get_post_terms($event->ID, 'speakers', array("fields" => "all")); print_r($terms); It displays this: Array ( [0] => stdClass Object ( ...
0
votes
1answer
49 views

Order custom Taxomony alphabetically and reversal after clicking a button?

I made a custom type named foods and a taxonomy named fruits. I want to order the fruits name alphabetically ( A-Z ) on clicking a button and then clicking on it again it will show Z-A order. Can ...