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). The Business Types are hierarchical, such as Eat > Restaurant > African, Play > Parks, Services > Medical > Dental, etc. Other Notes: … Read more

Does the ‘WordPress Order’ feature, within the WordPress Dashboard, have any impact on site architecture?

As you can see, within the image below, WordPress offers us to numerically arrange our Pages via a feature entitled ‘Order’. I have been using this as a means to help organise my Pages, for my own personal benefit. Does this feature have any impact on areas such as; Sitemaps, overall site architecture/hierarchy or even … Read more

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. The real thing is in Swedish so I’ll use “Books” as an example on how I would like it to work. … Read more

Custom Taxonomy Only Showing Top Level Terms in Admin?

I have a hierarchical custom taxonomy that I add terms to programatically using the following code in a loop: — SNIP — $args = array( ‘description’=> ”, ‘slug’ => str_replace(‘ ‘,’-‘,preg_replace(‘/[^\00-\255]+/u’, ”, $term)), ‘parent’ => $parent ); $term_id = wp_insert_term( $term, ‘widgets’, $args ); — SNIP — Which works ok in terms of adding the … Read more

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 possible ways: Using taxonomy level as an indicator of taxonomy type, ex: plant_class (custom taxonomy) ‘– Rhamnaceae (level 1 = family) … Read more

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 ——–Red ——–White ——–Rose —-Whisky ——Lowlands ——Highlands ——Islay I have a loop that goes through and outputs the hierarchy–the problem is that I have ONE term that goes a level deeper than … Read more

Categories’ hierarchy in URL

The posts in the website I’m currently working on have multiple hierarchical categories applied to each of them. For instance: Source – Books — Moby Dick — Sherlock Holmes The permalinks are set as /%category%/%postname%/. However, the URL of a post does not include all subcategories – all I get is site.com/source/books/*postname*, even though the … Read more