A way of arranging items where an item can be a parent or child of another. Categories are an example of a hierarchical taxonomy.

learn more… | top users | synonyms

0
votes
2answers
222 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
0answers
665 views

using wp_update_post for updating custom post type

I'm trying to update post_parent of wp_posts in WordPress database. I've created a custom post type with capability_type = post , but I want it to behave like a page: hierarchical, allowing parent ...
1
vote
1answer
129 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 ...
1
vote
1answer
113 views

How do i get the direct neighbor in a hierarchy

I've build a custom post type for a calendar and created a structure like this: 2012 (general parent) January-2012 1-January-2012 -2-January-2012 ... ... Februar-2012 1-February-2012 ...
0
votes
0answers
141 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
189 views

Custom post type hierarchical loop in Homepage

I read this: Display posts of custom type in hierarchical order But didn't understand if and how to use the answer. This what i would like to achieve: if_user_logged_in show user's created cpost in ...
0
votes
1answer
308 views

how to automatically generate hierarchical menus from hierarchy of pages?

I have a photo site, and I take care to crested a logical nested hierarchy of pages. e.g. for photos I just posted, I created the following pages: site.com/2013/ site.com/2013/colorado/ ...
0
votes
3answers
731 views

Taxonomy Drill-Down / Plugin Help - hierarchical queries within plugin?

I hope this question doesn't make me look too stupid! I am using a plugin called 'Query Multiple Taxonomies' -- it's a fantastic plugin and is written extraordinarily well. ...
0
votes
1answer
118 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: ...
0
votes
1answer
225 views

Hierarchical permalink structure for posts showing categories and sub-categories

I'm having a lot of trouble finding an aswer to this. This is what happens to my permalink structure currently: When I open the page, filtering all posts for a category, the url is: ...
1
vote
0answers
908 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
510 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 ...
0
votes
0answers
135 views

Breadcrum not displaying the parent page

I have few pages - HOME - SERVICES ---- MY SERVICE My problem is that when I open My service page the breadcrumb looks like this: home > My service And I would need the parent to be there: ...
0
votes
1answer
140 views

A simple script/plugin to display specific page upon hierarchy of selections

I am building up a shop in wordpress using mayashop theme. What i need is a page where i can display two categories - Men and Women. Upon selecting one, it should open up a list of sub categories. ...
3
votes
3answers
201 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
122 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 ...
0
votes
1answer
56 views

Display categories and their IDs

Could anyone please tell me the code to display parent categories and their children along with their IDs? I'd like to, for example, print them in this way: Europe, United Kingdom, London (Europe is ...
1
vote
1answer
43 views

Modifying Custom Post Type after registration (will it affect content?)

I have a CPT (defined in functions.php) that I have set to as non-hierarchical. A lot of content has already been uploaded into the database. If I change the definition to 'hierarchical' => true, ...
0
votes
1answer
69 views

Use an archive as the parent of a page?

how can I solve the following problem? I have the category "Events" with the permalink www.myblog.com/events/ and of course single events like www.myblog.com/events/lets-party/. Now I want to add a ...
0
votes
1answer
148 views

Best Way To Structure 3 Tiered Site

I'm starting a quote site using Wordpress. I'm wondering what would be the best way to structure the site considering the fact that I'd like to include a lot of static content on the tier 2 pages. ...
2
votes
1answer
54 views

How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?

I found this snippet in a different thread and it mostly does what I need, but I'm having trouble wrapping the individual pages this outputs with tags. All I can seem to add is a line break. I don't ...
0
votes
1answer
411 views

Check is category parent with ids from the childs - get_term_children

I have a hierarchical category list, like: A (Parent Category) - B (Child Category) - C (Child Category) - D (Child Category) B (Parent Category) - E (Child Category) - F (Child Category) ...
1
vote
0answers
128 views

Hierarchy in multisite

I'm looking into building a multi site (sort of like blog portal) but with a hierarchy. So there's a mother organization (with own content) with different "chapters" (say 10, each with own content) ...
-1
votes
3answers
411 views

Get terms in hierarchical taxonomy

I have a hierarchical custom taxonomy ("photos"), with 3 parent terms color location year Each parent term has several children terms. I have associated the "photos" taxonomy with pages and have ...
3
votes
2answers
1k views

page title, parent tilte and grand parent title

I am using a page hierarchy and I want to show the title of the parents and grand parents page (if there is any). The structure is something like Startpage Startpage > Second page Startpage > ...
0
votes
1answer
511 views

How to get Next/previous_post_link to go through articles in top parent category

I have a magazine format where a parent category is an issue, sub categories are the sections and the articles go into their respective sections. When viewing an article in a magazine, I would like to ...
1
vote
3answers
640 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
303 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 ...
2
votes
2answers
984 views

Can I have Post Types under other Post Types in Admin menu?

Lets say I have created two custom post types A and B. Those post types are displayed in the Admin menu one after another. (After Posts for example) Is there a way to display B under A? The only ...
2
votes
1answer
377 views

How To Limit Hierarchical Pages Depth (For Custom Post Types) To Children Only

Is there a way to limit the creation of pages (custom post type) to a specific depth - e.g. level 1 (where 0 = parent, 1 = child, 2 = grand-child, etc.)? For example, let's create a 'Summer' recipe ...
1
vote
1answer
703 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 ...
2
votes
2answers
74 views

Custom Post Type 'hierarchical' Help!

Not quite sure why it's even available because I cannot find any documentation on how to make a custom post type hierarchical other than in the optional parameter 'hierarchical' => true....Can someone ...
1
vote
1answer
115 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 ...
1
vote
1answer
50 views

Combining post categories and link categories?

So as to get a single index of both internal posts and external links on the same or related topic/subject matter, is it possible to combine post categories and link categories? I would like to be ...
1
vote
1answer
61 views

Look Through Family Tree and Find Featured Image

I just built a theme that looks for a featured image on the current page, if it can't find a featured image it will continue to look backwards through the family tree until it can find one. Then it ...
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 ...
2
votes
1answer
237 views

Custom post type routing with hierarchy

I've been playing around with a lot of custom post types lately and I am pretty anal about my URL structure / routing. An issue I ran in to a with a site that I just developed was this: I had many ...
0
votes
1answer
148 views

Hierarchical gallery

I want several galleries, every gallery containing several images. What is the proper way to do this two-level structure? I'd make every element of each gallery a post.
6
votes
3answers
2k views

Nested custom post types with permalinks

I am trying to set up a multi-level custom post type structure with permalinks that look like authors/books/chapters, with authors, books, and chapters all set up as their own custom post type. For ...
1
vote
2answers
101 views

Determine page content based on page parent

How can I display a gallery shortcode for pages who are children of the page with an ID of 9, and the regular content for pages who aren't? This is what I've tried so far, but it's not working: ...
1
vote
0answers
309 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
4answers
4k views

How to display non-hierarchical taxonomy as terms with checkboxes?

I'd like to have a non-hierarchical custom taxonomy displayed in the add/edit posts admin screen for a custom post type. Obviously, when the custom taxonomy is non-hierarchical, the meta box that's ...
1
vote
0answers
320 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
691 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
1k views

get_the_category listing in hierarchial order

Hello at the moment I'm wondering how I would be able to make this work to post in Hierarchical order within the post loop. <?php foreach ((get_the_category()) as $childcat) { ...
0
votes
1answer
701 views

Why are wordpress posts not hierarchical?

I've been using WordPress as a CMS for about 7 months now with the following core features: Navigation Tree: Wp_list_pages for easy navigation of pages Solr search engine: indexing posts only ...
3
votes
1answer
102 views

Is there any difference between post in child term and child & parent terms?

This may be really obvious, but I can't find other documentation or questions about it. Scenario I have a directory of Businesses (custom post types). Each Business has a "Type" (custom taxonomy). ...
0
votes
1answer
466 views

Does “Custom Post Type” can have page hierarhy option?

I want create "Custom Post Type" that will have next structure: Post (hierarhy level)-(some-post-id) Post 1-1 => Post 2-2 Post 2-3 Post 2-4 => Post 3-5 ...
2
votes
1answer
1k views

Child pages on hierarchical Custom Post Types 404s

I've been working with Custom Post Types lately and haven't had any major problems. This time I'm trying something new. I want to create a CPT which basically works like Pages, with page hierarchy. ...
4
votes
1answer
4k views

show current navigation path from menu

I want something like this Home > Products > Steel > Nails This information should come from the menu structure! I installed Breadcrumb NavXT but it seems that it only takes the path I defined (this ...