Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

hierarchical

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

August 4, 2022August 3, 2022 by Magenaut

I have a hierarchical custom taxonomy which I can display using print_r(get_the_terms( $post->ID, 'taxonomic_rank' ));:

Categories Q&A, Wordpress Tags custom-taxonomy, hierarchical Leave a comment

How to only show posts on last child category

August 4, 2022August 3, 2022 by Magenaut

By default WordPress will list posts on each category in its hierarchy.

Categories Q&A, Wordpress Tags categories, hierarchical Leave a comment

Different template for subcategories

August 4, 2022August 3, 2022 by Magenaut

I would like to have a different template for categories and subcategories
The categories template is set in categories.php
is it somehow possible to load the subcategories template from subcategories.php or something like that?

Categories Q&A, Wordpress Tags categories, hierarchical, template-hierarchy Leave a comment

How to set parent-child relationship between differents custom post types

August 4, 2022August 3, 2022 by Magenaut

I have just set up a post/parent relationship between a post type “episodes” and a post type “cartoon-series.”

Categories Q&A, Wordpress Tags custom-post-types, hierarchical Leave a comment

Change custom post type to hierarchical after being registered

August 4, 2022August 3, 2022 by Magenaut

Very similar to this previous question: Changing ‘rewrite’ argument after custom post type is registered

Categories Q&A, Wordpress Tags custom-post-types, hierarchical Leave a comment

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

August 3, 2022August 2, 2022 by Magenaut

Following the solution from Jeff @ Custom permalinks – post type – hierarchical taxonomy’s

Categories Q&A, Wordpress Tags custom-taxonomy, hierarchical, permalinks Leave a comment

How to show a hierarchical terms list?

August 3, 2022August 2, 2022 by Magenaut

I have a hierarchical taxonomy called ‘geographical locations’. It contains continents on a first level, and then the countries for each one. Example :

Categories Q&A, Wordpress Tags hierarchical, list, taxonomy, terms Leave a comment

The Difference Between Hierarchical and Non-Hierarchical Taxonomies?

August 3, 2022August 2, 2022 by Magenaut

The question is “What is the Difference Between Hierarchical and Non-Hierarchical Taxonomies?” This question really stumped me at first so I figured it would be a good idea to show the difference to others surfing the site looking for the distinction.

Categories Q&A, Wordpress Tags hierarchical, tags, taxonomy Leave a comment

How to add a custom metabox to the Menu Management admin screen?

August 3, 2022August 2, 2022 by Magenaut

Although I am very thankful to the wordpress core team that they have finally integrated native menu management capabilities I get frustrated with some key elements which I would like to change.

Categories Q&A, Wordpress Tags functions, hierarchical, menus, wp-admin Leave a comment

Categories’ hierarchy in URL

August 3, 2022August 2, 2022 by Magenaut

The posts in the website I’m currently working on have multiple hierarchical categories applied to each of them. For instance:

Categories Q&A, Wordpress Tags categories, hierarchical, permalinks, url-rewriting Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress