0
votes
1answer
57 views

Custom post type / taxonomy rewrite archive page 2 gives 404

I've followed the code based off this and everything is working perfectly -How to create a permalink structure with custom taxonomies and custom post types like ...
0
votes
1answer
87 views

List child categories from parent category on custom taxonomy page

I making some updates to a theme I'm currently working on. I've moved a bunch of categories that have custom post items under them into a parent category that's all within a custom taxonomy. e.g.: ...
0
votes
1answer
34 views

How to include parent terms in hierarchical taxonomy URLs?

For all custom taxonomies, the URLs look like: /base/slug/. I need a solution to for my hierarchical taxonomies to have: /base/parentslug/childslug/. Anybody knows how to redirect and or to have the ...
0
votes
1answer
79 views

Hierarchical Taxonomy Terms Select Menu Output with selected=“selected” Set

I have been trying to wrap my head around a issue for the past 2 days but despite trying all I could, I can't seem to reach the solution. On the backend, I have a hierarchical taxonomy named ...
0
votes
0answers
46 views

How to display proper parent child heirarchy with custom taxonomy in front end

Right now I have a front end form that lists 4 separate taxonomies in checkbox inputs that a user selects. I can list all of the terms one after the other but I can't figure out out to list them with ...
0
votes
0answers
156 views

taxonomy term names in custom post type permalink structure

I know there has been a lot of times this question has been asked here before, but no matter what method I have tried from here, nothing seems to be working for me. I guess I am sure I am writing in ...
1
vote
0answers
310 views

Create more category hierarchical depth for custom post type/taxonomy plugin (widget)

Source: http://getplatypi.com/docs/ A little new to the plugin development world, but so far I am building a post type plugin to support hierarchical categories in a list form with multiple depth ...
1
vote
1answer
111 views

Create a permalink structure with custom taxonomies and custom post types gives 404

Based on topic How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name My code is // register the new post type ...
1
vote
0answers
105 views

Hierarchial Custom Post Types/Taxonomies

I've been learning Wordpress for the last few weeks and I'm now creating my own theme. I found this question which seems to be exactly what I want to do, but I can't get it working and I suspect its ...
0
votes
0answers
93 views

Add child category to parent on post creation and save

I'm trying to build a tree layout for a custom taxonomy. Categories are animals. Big Game (0) -- Bears (2) -- Black Bear (3) -- Grizzly Bear (2) The above is a glimpse of what I have. ...
1
vote
0answers
171 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
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
1answer
104 views

Help building array hierarchically with taxonomies (to get posts)

What I need to do is to : -+ Retrieve all terms assigned to a page -+ Get all posts assigned to each term -+ Organize the output in the hierarchic way as in the admin I'm OK with the first two ...
1
vote
1answer
190 views

Determine Term depth

I'm looking to be able to find the depth of a term within it's hierarchical tree. Produce -- Vegetables ---- Carrot ---- Onion ---- Celery -- Fruit ---- Apple ------ HoneyCrisp ----Orange Produce ...
0
votes
1answer
76 views

Most efficient use of custom taxonomies, categories, and pages

I've been researching the difference of taxonomies vs. categories vs. custom post types vs. etc. and have been beginning to pickup on the differences. However I still can't wrap my head around when it ...
1
vote
0answers
132 views

Custom Posts Hierarchy? (State/City/Restaurant)

Question: What is the best way to create a hierarchy structure (also called parent/child relationships) between custom post types? For example, we currently have 3 post types: States, Cities, and ...
1
vote
2answers
85 views

Hierarchical Custom Post Types in Array

I have three custom 'location' post types which make up a hierarchy of areas: location1, location2, location3. location1 is the top level and then location2 and location3 are childeren of each ...
1
vote
1answer
2k views

Getting taxonomy terms used by custom post type

I have a custom post type - case - for which I am building an archive page. There are three custom taxonomies for this type - micro_organisms, infection_types, and antibiotic_types. These taxonomies ...
0
votes
1answer
133 views

Getting grandchildren of a post with a specified custom taxonomy?

I have an hierarchical custom post type called Geographies, wherein each Geography is assigned to a custom taxonomy (geographytype): Area, Country, Region or City. The hierarchy is set as follows: ...
0
votes
2answers
190 views

Custom taxonomy archive not showing posts of certain child taxonomies

I have a custom post type that has a custom taxonomy which functions as the main hierarchical structure for this custom post type. I am experiencing some behavior that I can't explain though. This ...
1
vote
1answer
122 views

Custom Taxonomies not retaining hierarchy while importing from one site to another

On my site I have a Custom Post Type "listing" which has a hierarchial Taxonomy "local". The terms in this taxonomy are in the form of States > Cities. For example "Washington" is a parent term ...
0
votes
0answers
128 views

Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links

Problem (Example): I have one custom taxonomy called "portfolios". It is tied to a custom post type called "portfolio". I create a portfolios term called Animals and another called Pets. Then I create ...
0
votes
1answer
115 views

How to load several hierarchical categories from functions.php

I need to insert several categories (about 400) into my site. The categories are hierarchical. I would like to load them from functions.php but now I can add one category at time, like this: ...
1
vote
0answers
860 views

Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure

this is my situation: I have a Custom Post Type named struttura (like accommodation): function custom_post_struttura() { $labels = array( 'name' => _x( 'Strutture', ...
0
votes
1answer
458 views

How to set hierarchical terms to a post using wp_set_object_terms

I have a hierarchical custom taxonomy called "locations". The parent categories are country names, the child categories are the territories under the country. How can i attach these terms to a post ...
3
votes
3answers
192 views

Custom Taxonomy Relationship (ex: plant classification)

I'm trying to implement plant classification as a custom taxonomy for a custom post type. For now, plant classification should be on three levels: Family, Genus, Species. As I see it, there are two ...
2
votes
1answer
116 views

Automatically populate a hierarchical taxonomy from a custom field

I've got a vexing how-to that I've not found any help on. I have a custom post type that has a custom field with a date in it (format: yyyy-mm-dd-t). When a post is published or edited, I would like ...
1
vote
3answers
587 views

How to fix a double slash in custom permalinks with hierarchical taxonomy's?

Following the solution from Jeff @ Custom permalinks - post type - hierarchical taxonomy's I managed to rewrite my url's for custom taxonomy's. However i do have one thing that bothers me and ...
0
votes
1answer
283 views

Posts not listing out sub category in hierarchy

I have a magazine like post structure like so: Parent -> Sub category -> Article. The parent is the issue, the sub categories are the sections within the magazine like news and interviews etc ...
1
vote
1answer
687 views

Hierarchical Custom Post Types or Similar

Doing a site for an architecture firm. Want to organize this very intelligently. I know of a lot of different ways to do what I'm about to explain, but I want to know the most efficient way/most ...
1
vote
1answer
114 views

Rewrite rules for varying nested terms of custom taxonomy

I've searched the net an the only working solution to this seems to be this post by Jeff which does everything except handle nested terms. Does anybody know how to change the rewrite based on the ...
0
votes
1answer
1k views

List child terms and posts in the current term

With this code parent term page lists all the child terms and the child term page lists all of the posts in current term, and the single page lists a big flat list of terms(hierarchical). Now, The ...
1
vote
0answers
300 views

List Posts For Terms Of A Custom Taxonomy For Any Post Type

The function is great and i am using this function with these filter to just display selected taxonomy term posts by id, but what result i am getting is like this Child Taxonomy 1 - Child Taxonomy 1 ...
1
vote
0answers
311 views

Using custom taxonomies to display hierarchical URLs?

I can't seem to get my custom taxonomy hierarchy working properly. It seems like many other have had this problem but none of their fixes work for me. I would like to have a URL structure similar to ...
3
votes
1answer
674 views

Determine if Term has Grandparent/Great-Grandparent

I have a custom taxonomy (hierarchical) for which I'm outputting the results. For example's purpose: --Drinks ----Tequila ------Reposado ------Blanco ----Beer & Wine ------Beer ------Wine ...
0
votes
1answer
292 views

Display Parent and child taxonomies in seperate drop downs [duplicate]

Possible Duplicate: How can I display parent and child taxonomies in separate drop downs? does anyone have solution for the requirement where i have a taxonomy State which is the parent and ...
0
votes
1answer
617 views

Custom permalinks - post type - hierarchical taxonomy's

I did folowed the steps / solution from Jeff it helped me alot with he's settings, got it for about 90% working properly. But getting stuck on the post / postname. It loads now the ...
22
votes
2answers
19k views

How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I've been combing this site and google for the answer and I've come up completely empty. Basically I want to do exactly what this post asks, but I need a hierarchical taxonomy. The answer given in ...
3
votes
2answers
2k views

Custom Taxonomy Tree view

I have been trying google for this, but not so easy to search for. I have a custom hierarchical taxonomy, something along the lines of: Chainsaws - Electric - Petrol - Other Grasscutters - Electric - ...
4
votes
5answers
5k views

Custom taxonomy, get_the_terms, listing in order of parent > child

I have a hierarchical custom taxonomy which I can display using print_r(get_the_terms( $post->ID, 'taxonomic_rank' ));: Array ( [46] => stdClass Object ( [term_id] => ...
1
vote
1answer
887 views

Custom post type Permalinks with hierarchical Taxonomies

I Would use Custom Post Type and hierarchical Taxonomies with same Slug. Fortunately I found a good solution based on post_type_link filter here from TheDeadMedic. ...
2
votes
2answers
2k views

Taxonomies: display hierarchical parent list

I've been using WP for years, but this is my first time with taxonomies, so I need a little bit of help. Like in the question How to show a hierarchical terms list? I have a taxonomy called places, ...
1
vote
1answer
207 views

Register a pre defined tree of taxonomies

I want to use a certain defined tree of taxonomies like this: news stories travel people nature videos but I want to have this hierarchy set in the code and not created via admin interface. The ...
3
votes
3answers
10k views

get_posts assigned to a specific custom taxonomy term, and not the term's children

Say I have the following taxonomy terms: Term 1 Term 1.1 Term 1.2 Term 2 Term 2.1 How can I get only posts that are assigned to Term 1 and not include those that are assigned to Term 1.1 or ...
2
votes
4answers
11k views

Get the the top-level parent of a custom taxonomy term

How would I get the top-level parent of a given term? I am using wp_get_object_terms to get taxonomy terms on posts, but instead of showing all tagged terms, I only want to show tagged terms' ...
2
votes
3answers
4k views

get taxonomy name of current post

Hierarchical taxonomy of custom post type 'projects' > 'projects_category'. Two example 'projects_category' hierarchies would be: Big Corporates > 1st Company Name > A Post Title Small ...
1
vote
2answers
543 views

Should I use custom taxonomy or custom post type

I've recently taken on a project from a client of mine, after a lot of persuasion I've managed to finally get the website under some kind of CMS. I'm pretty new to Wordpress I've come from an ...
0
votes
3answers
3k views

How to enable hierarchical permalinks for hierarchical taxonomies

If you have a category called "term" and a subcategory called "subterm", your can access subterm posts at /cat/subcat. But this doesn't work out of the box with custom taxonomies. They are ...
2
votes
4answers
3k views

How to get parents of custom taxonomy, as what get_category_parents() do?

I have a custom taxonomy 'portfolio category', while i need to show all hierarchy categories of a portfolio post, for example the post is under topcat -> childcat -> yetchildcat, i want to show ...
0
votes
1answer
248 views

how to store values in database at hierarchical view

In my project i need to create restaurant menu card,i want to insert values given below -menus(like dinner,lunch,breakfast) . -menu_group(like soup,juice) . . -menu_item ...