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

learn more… | top users | synonyms

1
vote
1answer
60 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 ...
0
votes
0answers
87 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
25 views

Custom Taxonomy Template Variables Available?

I have a custom Taxonomy sports and want to edit the front-end display. I have got taxonomy-sports.php and used this code to get the data on the taxonomy, but I feel like it should already be ...
0
votes
1answer
27 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
1answer
59 views

How do I get taxonomy terms by ID in a specific order

How do I get taxonomy terms by ID in a specific order. Below is my code and I thought if I passed get_terms the arguments to with ID and post_in but I am not seeing the results I thought I should. ...
0
votes
0answers
38 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, ...
1
vote
0answers
26 views

Adding custom taxonomy in my existing category URL

I have a custom taxonomy for my posts called "Continents" and they could be: Europe, Africa, Antarctica etc... Then I have standard categories like: News, Reviews, Interviews etc. And 1 subcategory ...
0
votes
1answer
38 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
1answer
43 views

is_taxonomy() is not working

<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly get_header(); $term = is_taxonomy('special-offers'); if ($term) { echo "New template"; } else{ ?> ...
0
votes
0answers
68 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 ...
1
vote
2answers
46 views

Displaying results from custom taxonomy query

I have created a custom taxonomy Region and I would like to query this taxonomy for all results and display them. My query is: $args = array( 'tax_query' => array( array( 'taxonomy' ...
0
votes
0answers
189 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
16 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 ...
2
votes
3answers
117 views

base directories / URL

Is there a way to handle base directories for taxonomies that result in a 404. For example my URLs are: http://skipology.com/category/... http://skipology.com/app/... but the taxonomies / base ...
0
votes
0answers
20 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
141 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
1answer
53 views

Problems making shortcode with custom post types and taxonomy

I have a custom post type work-gallery and a custom taxonomy use which serves to categorize the posts. I am trying to develop a shortcode which enables me to output the work-gallery posts that belong ...
0
votes
0answers
57 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
165 views

chained drop-down menu for custom taxonomy using chained.js — not quite working

So, Im trying to get a chained select to work to select a state then a city with that state. (2 fields). Here is what Ive got: First my function to create the menu using get_categories(). First ...
0
votes
1answer
64 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
67 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
15 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
60 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 ...
1
vote
0answers
49 views

How to organize hierarchical structure in custom post type with taxonomy (like with categories)

can anyone help me with custom post type arhive? I want there organise taxonomy term structure like with categories. Full image url: http://i.stack.imgur.com/nzl4y.png
0
votes
1answer
29 views

relating business and products with custom taxonomy?

This isn't a code question so much as a how would you do that kind of question. What I can't figure out is how to relate businesses to the the products that they sell. If I've got a custom post ...
0
votes
0answers
29 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 ...
1
vote
0answers
44 views

get_the_term_list - Return links to edit.php instead of link to taxonomy archive template

I would like to use get_the_term_list or another function if it exists to return links to the posts of the appropriate term (which has been clicked) on edit.php instead of returning links to posts of ...
1
vote
0answers
56 views

benefits of the table 'wp_term_taxonomy'

What is the benefits of the table 'wp_term_taxonomy' in wordpress, why they don't collect all terms data in the table 'wp_terms' like that: id name slug term_group taxonomy description parent count ...
0
votes
1answer
88 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
140 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
35 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
57 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
1answer
314 views

Custom Post Type Taxonomy Term Order by Title

I have a custom post type of Clients. The "Client Categories (taxonomy terms)" are called via taxonomy-client.php. I'm able to get the results to output as expected but I can't figure out how to get ...
0
votes
1answer
112 views

Query custom taxonomy for category including children

I've using the Events Manager plugin which creates a custom post type of 'event' and a custom taxonomy called 'event-categories'. I have the category 'courses' which has an ID of 43. I also have a ...
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
1answer
234 views

get_terms function not returning anything

This has had me baffled for days so any help would be appreciated. I cannot get the function get_terms to return anything. I've tried the following code in the index.php, single.php and page.php, ...
1
vote
2answers
239 views

get_terms that have custom sticky field checked

I was able to add a extra custom field, named sticky, to a custom taxonomy, using the wp taxonomy meta plugin, like this: function YOUR_PREFIX_register_taxonomy_meta_boxes() { // Make sure ...
0
votes
3answers
182 views

How do I insert a post with custom post type and relate it to a custom taxonomy?

I'm trying to figure out how to insert a new post. I have a custom post-type (course) that is related to a custom taxonomy (categorycourses). I've managed to insert a post with custom post type ...
0
votes
0answers
65 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
2answers
1k views

Rename “Portfolio” slug?

I have a WordPress theme that I am working with called "Forte". Yes, it is a premium theme. I have reached out to the developer but apparently he doesn't really want to help in this situation. Well I ...
0
votes
1answer
75 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
58 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
76 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
43 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
41 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
46 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
223 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
144 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
59 views

Don't repeat posts from children in parent taxonomy query

I have a query on a page and I want to prevent it from returning posts in the parent term that have one of the child terms of the parent. For example: Parent 1 Child 1 Post 1 Post 2 NOT Parent ...