Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 127524

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

1 vote

How to display terms from a custom taxonomy in a hierarchy AND with custom html markup?

Solved it with the following Custom Walker: class CustomWalker extends Walker_Category { function start_el(&$output, $item, $depth=0, $args=array()) { $output .= "\n<li><a href=\"http://website.com …
jwyson's user avatar
  • 21
1 vote
2 answers
252 views

How to display terms from a custom taxonomy in a hierarchy AND with custom html markup?

php $args = array( 'taxonomy' => 'locations', 'orderby' => 'name', 'hide_empty' => 0, 'title_li' => '', 'hierarchical' => 1, 'walker' => null, ); ? … > // The following gives me the hierarchical display <ul class="menu"> <?php wp_list_categories( $args ); ?> </ul> // And this gives me the customized links <? …
jwyson's user avatar
  • 21