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
1answer
163 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
104 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
326 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 ...
2
votes
4answers
5k 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
351 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
731 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
764 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
481 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
5k 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 ...
4
votes
3answers
697 views

Hierachical Custom post types permalinks not working

Been looking for someone with this same problem for hours now so I decided to post my own thread. I have a hierachical custom post type called contact-information. Using this I have parentpages ...
1
vote
2answers
2k views

Get parent page/menu id of current post

Basically, after setting up the initial "page for post" on the Reading Options, and then add that page to the menu I get the posts when I click on that menu item as expected. On there I know the post ...
0
votes
1answer
305 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
675 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 ...
1
vote
1answer
449 views

Wordpress Custom Post Type Children Template

I have created a hierarchical custom post type in wordpress called "films." It is hierarchical so it can have children elements. When a "film" is clicked, wordpress automatically uses the template ...
1
vote
1answer
385 views

Use a hierarchical custom post type for a main blog and subblogs?

After some trouble with custom post type/custom taxonomy permalinks I'm trying out custom post types with hierarchy = true and capability_type = 'page'. Would I miss out on any blog capabilities or go ...
0
votes
2answers
604 views

Different layout on second page

My homepage has 1 featured post, followed by 4 posts stacked 2 on 2, like this: The featured post is only shown on the first page so the second page shows the older posts stacked 2 by 2 as above. ...
1
vote
1answer
216 views

How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?

Thanks for taking a look at this for me. You can see the current behavior at http://dev.citylightphilly.com/blog/ -- Here is my specific problem. We are using a category structure like this: Events ...
0
votes
1answer
369 views

Specifying Default Template for Hierarchal Custom Post Type [duplicate]

Possible Duplicate: single-{$post_type}-{slug}.php for custom post types I have registered a Custom Post Type named conference with the attribute: 'hierarchical' => true In the ...
0
votes
1answer
224 views

How can I set the first link in my nav menu to simply be a drop-down to some other pages

I want to have a set of ~3 pages in a subdirectory called "about" example.com/about/history example.com/about/program example.com/about/coaches I don't want any about/index.html page, I just want ...
1
vote
1answer
1k views

Change custom post type to hierarchical after being registered

Very similar to this previous question: Changing 'rewrite' argument after custom post type is registered I am trying to make MarketPress Products hierarchical - I can do it with hacking the ...
0
votes
1answer
132 views

Advanced Multi Tier Navigation across columns

I've been struggling with this for a while now and need some help. I'm trying to create a quite specific navigation setup for a client. I have a top level navigation which is hard coded and not a ...
23
votes
2answers
25k 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
3k 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 - ...
0
votes
1answer
49 views

Hierarchical types and page size problem in heavy sites

Situation: WP 3.3.1 Hierarchical custom post type 7000 posts Admin area Problem: Pages load time > 30s Reason: Page size > 1MB due to parent dropbox size in 'Quick Edit' when ...
2
votes
0answers
574 views

Hierarchical Custom Posts - Highlighting Current Post in Sub-Menu

I have created a hierarchical custom post type called events and have used wp_list_pages to list the sub-posts for each event post (See below). This navigation works great, but I cannot figure out how ...
4
votes
4answers
6k 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] => ...
0
votes
1answer
202 views

Creating an Events Feed with Sub Pages/Posts for Each Event

I am currently working on creating an events section for a website. My original plan was to create a custom post type for Events and create a new post for each event. Then I would query the top five ...
0
votes
1answer
1k views

list all child categories that apply to current post even if those cats are empty?

list all child categories that apply to current post even if those cats are empty? everything I tried just shows "post not found" - Have alphabetical listing and trying to create A B C D ...
5
votes
4answers
5k views

WordPress admin screen very slow / timing out when editing or adding a new page/custom post

I'm new to the site but appreciate any help you can give. I have a WordPress set-up which (rightly or wrongly) has hundreds of pages and thousands of another custom post type which is also based on a ...
2
votes
2answers
703 views

Custom post type hierarchical permalinks not behaving as expected for parent/child pages

When you have Pages with children, the permalink structure works something like this: example.com/parent-page/child-page/ All well and good. Trying to go to this URL: example.com/child-page/ ...
1
vote
2answers
893 views

how to get the categories for a single post in a hierarchical way

The question is simple. Imagine that I have a post named 'Single Post' which is inside the category 'sub-cat' which is a child of 'parent-cat' which is a child of 'super-cat'. What I need to do is to ...
1
vote
1answer
994 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. ...
4
votes
2answers
3k views

Get top level page parent title

How do I get the page title of the upper most parent page of the page the visitor is currently on? Let me describe: I have this page structure: Example Title 1 Example Title 1-1 Example Title ...
2
votes
0answers
756 views

Taxonomy/category hierarchy lost when editing posts [closed]

When editing a post the tree structure of the taxonomy seems to be lost, ie; if I set the following when adding a post: [x] Top tier category 1 - [x] Cat 1 sub-category 1 - [ ] Cat 1 sub-category 2 - ...
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, ...
2
votes
1answer
737 views

Better way to enforce category hierarchy in post_categories_metabox?

The objective is to ensure that when editing a post, the metabox that lists a hierarchical taxonomy doesn't reorder itself upon Update to put checked items on top. Right now, edit-form-advanced.php ...
0
votes
2answers
3k views

How to show only parents subpages of current page item in vertical menu?

I just can't find a way to make it possible to show only current parent items down to current page item in a vertical menu the "wordpress way". What I want to achieve is the following dynamic ...
1
vote
1answer
240 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
14k 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
2answers
552 views

Categories lose hierarchy order once assigned to post

I setup some hierarchical categories and when I assign them to a post the widget reflows and loses the hierarchy display. Example: - Education Services -- Arts & Archives --- Fine Arts -- ...
8
votes
3answers
2k views

How can I allow commas in tag names?

I want to allow commas in tag names? For example, "hello, world" or "portland, or" but Wordpress keeps separating them. I can do it from the categories page: And it shows up fine. But anything ...
3
votes
5answers
14k 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' ...
3
votes
3answers
5k 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
571 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
2answers
328 views

Post type hierarchy

I am looking to create two custom post types, one of which is a child of the other. Let's call them Authors and Books for simplicity. Authors should be a top level URL and the landing page for them ...