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

-2
votes
0answers
21 views

display a string of all category childrens in the the current post

This is my code $parent_id is the current post category id foreach((get_categories('child_of=' . $parent_id .'')) as $categoryy) { if($categoryy->parent ==$parent_id){ echo ...
0
votes
1answer
20 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
0answers
28 views

How to Combine Two Custom Post Types into Single Permalink Structure

The website uses - A) A hierarcical Custom Post Type "Destination" to support the following structure, so each tier of the hierarchy could have its own unique destination guide: Territory - ...
0
votes
1answer
36 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
28 views

When in a archive, display the posts by hierarchical taxonomy term.

All of my posts belong to hierarchical taxonomy (a) but not all belong to taxonomy (b) and (c). How would one go about displaying the list of posts in any archive in a manner of taxonomy (a)'s ...
1
vote
0answers
9 views

'Create New Child Post' from Parent Post using a button - not using Attribute drop-down

I have a custom post type "my_custom_post_type" which contains posts using a grandparent > parent > child hierarchy. I am currently using the 'Attribute' drop down to assign a new post to a parent ...
0
votes
0answers
52 views

Complex menu structure with 6 custom post type hierarchy

We chosen to use Wordpress to this client but we have not work with a menu structure like this one on Wordpress. Those content types i what we have created as custom post type. Is listed below: ...
0
votes
0answers
37 views

Walker_Nav_Menu - creating separate menu for current top level item children

I have had hard time making wordpress custom walker work as I want and I think the problem might be somewhere else. I have a nav tree which looks like this: What I want to do is to have two ...
0
votes
0answers
34 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
14 views

pad_count with custom taxonomies and attachment post type

I use hierarchical custom taxonomies with attachment post types, and am trying to display a hierarchical terms list with the pad_counts argument set to 1 but children counts are not added to parent's. ...
0
votes
0answers
109 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 ...
0
votes
1answer
44 views

Delete child post and attachment links to parent post

I have a hierarchical posts, when ever I delete the child posts its attachments go and link to deleted post's parent How can I stop this?
1
vote
0answers
220 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
95 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
89 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
78 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
1answer
158 views

Show hierarchical relationship between to custom post types on admin list

I have two custom post types: "request" and "quote". Both have the "hierarchical" flag set to true. A 'request' cpt can be the parent of one or more 'quotes' cpt. Since these are two different post ...
0
votes
1answer
28 views

Hierarchical Custom Post Types

I would like to have the following taxonomy structure: site.com/courses/course-name/pathway/pathway-name The domain is such that any particular course can be completed by taking a number of ...
0
votes
2answers
117 views

How to query for posts (in hierarchical custom post type) that have children?

I'm trying to figure out how to query for posts in my hierarchical custom post type, presumably using WP_Query that have child posts. I can get all pages that don't have children by setting ...
0
votes
0answers
198 views

Custom Post Type Child Pages

I'm getting a 404 page when viewing child-pages of a custom post type. Right now I have a pages (let's call it 'Books') that displays every 'book', and in the menu have other pages listed under Books ...
0
votes
0answers
54 views

Deep Nested Custom Rewrite and Custom Taxonomy

I'm trying to get my custom taxonomy to nest deep categories, and then also pull up the post. Each post always needs to be three categories deep: example.com/thinger/cat_1/cat_2/cat_3/post_name_here ...
0
votes
0answers
110 views

Custom post type with hierarchical taxonomy url structure

Who can help me to reach second permalink structure of my wordpess website: http://www.somesite.com/custom-post-type/some-tax/some-sub-tax/some-sub-tax/post-name/ ...
0
votes
0answers
10 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
1answer
33 views

Children categories not shown in dashboard

First of all: it's a strange behavior, but it works. 1) I'm working on a script, so i require the wp-load.php and after that i operate; 2) The scripts creates some categories using wp_insert_term in ...
1
vote
0answers
126 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
2answers
320 views

custom post type index page

I have registered a custom post type and I want to create a page where I will list some posts, it will be like an index page. I have created an archive page called mycpt-archive.php and a page called ...
0
votes
1answer
182 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
94 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
113 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
0answers
32 views

Custom post types and categories for my unique permalink situation

recently I've taken on a project that is a bit overwhelming due to the fact I have never made a website this big before. It's a travel website that features reviews, photos, user articles, etc. ...
1
vote
2answers
1k views

How to display related posts by subcategory and not parent category

I'm trying to find a way to display related posts that are in a subcategory of a specific parent category based upon the subcategory of the current post. The current post may be assigned to multiple ...
0
votes
1answer
71 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 ...
0
votes
2answers
472 views

get parent content inside child posts

I have a custom post type where I've created 3 pages in a parent-child relationship. The pages are created like this : PARENT-CHILD-GRANDCHILD I want the child and the grandchild pages to get the ...
0
votes
2answers
183 views

page template for custom post type

I'm trying to build a debates-like system. It will work like this: A page will display the post with a countdown timer, so user will be able to submit comment till a specific period of time. (this ...
0
votes
0answers
120 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
82 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 ...
0
votes
0answers
92 views

Add a different payment gateway

I'm running a YITH Maya theme with Woo-commerce and I came into a bit of a pickle. I found that there are some specific gateway options, but that doesn't help me. I have a existing payment gateway ...
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
0answers
25 views

Hierarchial Wordpress Gallery - Each image on its own page

I'm currently looking for a way to create a url structure so that I have a gallery page with a specific name for each of the galleries and each images in that gallery have its own URL segment. So ...
1
vote
0answers
55 views

Automatically Query Parent Taxonomy

I have a custom taxonomy on my site that I query from the sidebar of the currently displayed term. Say I am on the Term X archives, then my custom post type of Products with the term of Term X are ...
0
votes
1answer
134 views

Cross post type parent page added parent page to permalink but give 404

I have made some custom post types with Magicfields. I need to set the parent page for a custom post type to a standard wordpress page. Figured that out with the help of this: ...
0
votes
2answers
177 views

General question about Parent and Child Post type relationships

I'm hardly an expert on the matter but from reading around this Q&A site i have the following notion that one Post Type cannot be the Parent of another Post Type. What i can't seem to answer is ...
1
vote
1answer
108 views

How to make use of WP templates within a nested site structure?

I am working on a site that highlights neighborhoods. Within each neighborhood there are places (that will be added by the client on the back end). Each neighborhood will have its own unique set of ...
0
votes
1answer
51 views

Hierarchy between post types

So I'm working on a Wordpress site for a school. I have a page called "Faculty Staff Directory" and I also have a custom type called "Staff", with teacher profiles. I've enabled the "staff" post type ...
0
votes
0answers
16 views

Admin Post - Keep Child Below Parent [duplicate]

I have a hierarchical custom category which is setup similar to this: It functions as expected. If I check a child cat, it auto checks the parent cat. If I uncheck a child cat, it auto unchecks the ...
0
votes
1answer
114 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
0answers
197 views

get posts with hierarchy and all post meta

I created a custom post type to act as a Family Tree. There are currently 40+ post-meta fields that collect all of the important information. Wordpress's built in "parent" function is used to assign ...
0
votes
2answers
173 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
475 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
110 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 ...