Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
0 points
Beginner
Hi All,
I am trying to replace the default Category side nav with the following format;
– Location
– Sub location
– Category
– Sub Category
I can mess around with the HTML to get that to display correctly but I’m having trouble thing to figure out what queries to write and where to put them.
Hi All,
I am trying to replace the default Category side nav with the following format;
– Location
– Sub location
– Category
– Sub Category
I can mess around with the HTML to get that to display correctly but I’m having trouble thing to figure out what queries to write and where to put them.
Currently I’m trying to use…
$args_list = array(
‘taxonomy’ => ‘location’,
‘title_li’ => ‘<h2>’ . __( ‘Locations’ ) . ‘</h2>’,
‘show_count’ => false,
‘hierarchical’ => true,
‘echo’ => ‘0’,
);
$locations = wp_list_categories( $args_list );
Any help would be greatly appreciated.
Thanks.
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now