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

learn more… | top users | synonyms

0
votes
1answer
93 views

Copy post taxonomy?

I'm rather new at Wordpress and I the thing I want to do is this: Create a taxonomy (courses) that works as exactly as POST but with the difference: I need some fields to be added for course (like ...
0
votes
1answer
454 views

get_category_link() for custom post type does not include custom slug rewrite?

I am getting a list of categories for a custom post type project using get_categories($args) with the following arguments: $args = array( 'type'=> 'project', 'orderby'=> 'name', 'order'=> ...
0
votes
1answer
282 views

Contact Form 7 - Populate Select List With Taxonomy

With contact form 7, is it possible to populate a DDL (Selection List) with Custom Taxonomy Values? I want the user to be able to click the category they want to refer to from my Custom Post Type.
0
votes
0answers
26 views

Change category block name/title in add/edit post screen

Category taxonomy is a default taxonomy comes with wordpress on post type. I want to change the name of this taxonomy to something else. How can I achieve that?
0
votes
0answers
502 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 ...
2
votes
1answer
37 views

Taxonomy Templates

I don't quite understand how to link to my taxonomy templates. Do I need to make a page-tempalte and query my terms from there? I'm using the taxonomy hierarchy currently: Taxonomy $labels = array( ...
0
votes
1answer
193 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
0answers
47 views

Query users based on posts in Taxonomy A and Taxonomy B

When you are on the "sorority" OR "school" taxonomy page, ALL of the users in either the "sorority" or "school" taxonomy page display. <?php $term = get_term_by( 'slug', get_query_var( 'term' ), ...
0
votes
0answers
236 views

Woocommerce Category hierarchy

I am building a store with different brands. I want the flow to go Store > (Brand) > (Gender) > Product. I know I could set each brand as a product category and then create Gender as a subcategory for ...
0
votes
1answer
163 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
151 views

Hide image if taxonomy term is empty

So I have a Country taxonomy with the country names as terms. The country names are represented by clickable flags (png images) on a map. Now I only want to show flags for terms that have countries in ...
0
votes
1answer
18 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 ...
1
vote
1answer
497 views

Custom Post type taxonomy single templates

I have created a Custom Post type called "Ad" I then have a taxonomy under that called "type" I have added some terms in the Type category called "Radio", "TV", "Print". I would like WordPress to use ...
3
votes
1answer
1k views

How does Woocommerce store variation attributes, and how can they be retrieved per-variation?

I am trying to pull out a list of product variations from a Woocommerce installation, with their attributes - something like this: product id variationid name color size 5 1234 ...
0
votes
0answers
91 views

When creating new terms I get PHP Notice: has_cap was called with an argument that is deprecated

I have created a taxonomy that acts like category. Then I used this code to add image to very term. All works great but I faced 2 problems. How can I remove image from term after I have selected ...
0
votes
0answers
26 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
0answers
14 views

How do I display the contents of each custom taxonomy term and segregate them?

I currently have a page which display all the terms and their contents. <?php?> $audio = get_posts( array ( 'paged' => get_query_var('paged'), 'post_type' ...
0
votes
2answers
71 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
0answers
46 views

How to dynamically select particular WordPress Category?

I build my simple wordpress magazine and I have multiple categories, like cover, volume 1, volume 2, etc. In the index / homepage, I want to display table of content for each volume (based on ...
0
votes
1answer
50 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
0answers
106 views

New taxonomy - have_posts() returns false

I have created new taxonomy for posts using this example code from codex.wordpress.org (modified for post instead of book from the example) $labels = array( 'name' => _x( ...
0
votes
1answer
257 views

Permalinks for Taxonomy and Custom Post Type

Have the following situation here: Custom post type: 'recipes' Taxonomy for custom post type 'recipes': 'receitas' One of the taxonomies slug: 'receitas-whoopie-pie' The permalink structure MUST be: ...
0
votes
1answer
42 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 ...
0
votes
0answers
29 views

Wordpress permalink need taxonomy after postname

I got a problem with wordpress permalink. The site below is using directorypress theme, I need to to show the post url in this format post-name/state/city where country->state->city are in parent ...
1
vote
2answers
70 views

Get list of all custom tanonomy id

I created a custom taxonomy called Location then added New Jersey, New York, etc. Is there a Wordpress function that will get the list of all ids under the Location similar to what ...
0
votes
0answers
16 views

Rewrite author_name to color [duplicate]

I'd like to rewrite author_name to color. So example.com/?author_name=blue would be example.com/?color=blue I searched for hours but can't find anything useful. Any ideas?
0
votes
0answers
22 views

Custom category conditional

I have some custom categories and I want to show a image if its a certain category, for example i did this but its not showing: if( is_category( 'bikes' ) ) { echo 'MY IMAGE'; } Could someone tell ...
1
vote
2answers
130 views

Is slug “type” reserved and can't be used in taxonomy rewrite?

I desperately need your help guys. I am trying to register custom post type and taxonomy the following way: add_action( 'init', 'product_catalog' ); add_action( 'init', 'product_type', 0 ); function ...
0
votes
2answers
131 views

Taxonomy Overview Page?

I'm looking for a way to create an overview page for taxonomies. So say you're on a page for a certain page (domain.com/my_tax/myterm) it would show different content types in the 'myterm' category. ...
0
votes
0answers
55 views

How can I set up the URL for a category archive for a custom post type?

I'm working on a site www.site.com that has an additional post type: project. In registering project, I've declared "taxonomies"=>array("category") so that I can categorize the essays. Works fine. ...
0
votes
1answer
43 views

Display only the latest post

There seems to be something wrong with the logic of what I'm doing. I just want to display the latest post in a custom term. But instead I'm displaying every post for that term, even though I am ...
0
votes
2answers
579 views

Trying to list terms of a custom taxonomy using get_categories

I'm using this little snippet of code to try and list the terms of a custom taxonomy for use in a meta box select box but it doesn't show anything when I implement it (Despite working with the default ...
0
votes
0answers
56 views

Custom Post from Custom Query with Multiple Custom Taxonomy Terms with Pagination

I have a page template like having code, (on the link below) http://pastebin.com/mZaRLKp2 Actually it's the problem of getting custom post list having all the multiple custom taxonomy terms with ...
0
votes
0answers
25 views

Frontend Uploader plugin: how to deal with taxonomies?

I am using Frontend Uploader plugin. I want to know how to add taxonomies to an attachment on the form. Here is the registered taxonomy: function create_image_taxonomies() { $labels = array( ...
0
votes
0answers
107 views

Post Filter clearing on pagination $_post

I have a form, in which users can select what taxonomy they want the posts filtered by. It works fine except that it doesn't paginate. When I click on the next page of results, it clears the query. ...
0
votes
0answers
46 views

Redirect page to first custom taxonomy term archive

Is there a way to redirect a page to the archive page of the first term in a custom taxonomy archive? For example I want the page "Videos" to redirect to whatever term is first (Ordered by it's ...
0
votes
1answer
87 views

Taxonomies not appearing in columns on dashboard

I'm having some issues trying to get taxonomies to appear in the post columns on my dashboard, the custom functions appear correctly, just not the taxonomies, anyone see where I'm going wrong? Here is ...
0
votes
0answers
86 views

Create Child Taxonomies Automatically

Actually is not child taxonomies to auto create them without something triggering something, I'm looking for a solution for when a taxonomy is published some other taxonomies of my choice will be ...
1
vote
1answer
421 views

Custom Taxonomy as checkbox or dropdown

I have registered a custom tax to my CPT. On the edit screen the tax meta box appears with an autocomplete field. Is it possible to display it as checkboxes or dropdown instead?
0
votes
1answer
21 views

How can i set post_per_page in my taxonamy?

<?php $myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'brands', 'terms' => array('ALL'), 'field' => 'slug', ...
0
votes
1answer
21 views

How could I write a get_categories_by_year() function?

I need to write a function to get all the categories for a given year. Since the creation date of a taxonomy isn't stored in the database, I'm not really sure what to do. My initial thought was to get ...
0
votes
0answers
65 views

Set terms programmatically

I would like to use wp_set_post_terms() or wp_set_object_terms(). I think I read all the codex and all forum post about these functions and I still can't make them work. I've a taxonomy named store ...
1
vote
0answers
126 views

Get url.com/post_type/taxonomy/term work!

I'm having trouble get what I want by mixing custom post types and taxonomy. I want to run this: www.url.com/post_type/taxonomy/term In my case this: www.url.com/dossier/theme/sante (sante is a term ...
0
votes
1answer
25 views

Custom Post Types - Taxonomy and Customization

I'm trying to learn Custom Post Types and I have some questions. I'm trying to add a categories menu but that doesn't seem to be working for some reason - I don't get an error or anything. Here's my ...
0
votes
1answer
498 views

Custom Taxonomy with tax_query

So I've created a custom taxonomy type with a plugin (CMS Press) and now I'm trying to get all of the posts with the taxonomy terms in that taxonomy. My get_posts looks like this: $args = Array( ...
1
vote
2answers
626 views

Get posts of ONE taxonomy term of custom post type

I am going crazy here as I assume it is quite simple, but I just cannot get it to work. I have a custom post type called 'portfolio' and a taxonomy called "locations'. In the taxonomy I have various ...
1
vote
1answer
409 views

How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?

The default taxonomy, category. By default, only those with the edit_posts capability can assign categories during post creation/editing. I have a role with very limited capabilities. I want to let ...
1
vote
1answer
409 views

custom post type taxonomy “tag” archive : no post found

I've registered a custom post type "object" and registered the taxonomy "post_tag" so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit ...
0
votes
1answer
39 views

Display Taxonomy Terms in an option tag with value being the slug

I have a custom taxonomy filled with terms that I wish to display in a fashion such as below. <option value="[SLUG]">[TERM]</option> <option value="[SLUG]">[TERM]</option> ...
0
votes
1answer
71 views

how to remove alphabetical order from wordpress categories [duplicate]

i am new to programing and WordPress. i was working on a project where i am using custom taxonomy (tag) ,so in admin panel (post) when i select my tag it automatically get arranged in alphabetical ...