an
groups-icon

Side nav by location

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.

    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.

    November 16, 2013 at 4:31 am
  • 0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 16, 2013 at 7:24 am
  • Mark Fail
    11,845 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 16, 2013 at 2:21 pm

391

Views

2

Replies