Get only the top level categories. There is no depth parameter on theĀ get_categories function, this query and foreach loop will ensure only toplevel categories are displayed: This query will get just the child categories of a given parent: In conjunction with the ‘Custom Taxonomy Order‘ plugin and an orderby parameter of ‘term_order’, the two queries Full Article…
Viewing 1 item