Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter affian

    (@affian)

    ok I’ve narrowed it down because wp_list_categories() does what I want, it highlights the the current category using
    $r['current_category'] = $wp_query->get_queried_object_id();

    I just can’t figure out how it does it, I’ve been digging through source code and just can’t find what I’m looking for.

Viewing 1 replies (of 1 total)