Title: Need HELP
Last modified: August 30, 2016

---

# Need HELP

 *  [rosspub](https://wordpress.org/support/users/rosspub/)
 * (@rosspub)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/need-help-231/)
 * I am trying to figure this out, and I have spent hours.
 * wp_list_categories
 * I have two of these on my archive page calling two different taxonomies:
    (location
   and carelevel)
 * 1.)
 * <?php
    $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘
   taxonomy’ ) ); if ($term->parent == 0) { wp_list_categories(‘taxonomy=**location**&
   depth=1&show_count=0 &title_li=&child_of=’ . $term->term_id); } else { wp_list_categories(‘
   taxonomy=location&show_count=0 &title_li=&child_of=’ . $term->parent); } ?>
 * 2.)
 * <?php
    $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘
   taxonomy’ ) ); if ($term->parent == 0) { wp_list_categories(‘taxonomy=**carelevel**&
   depth=1&show_count=0 &title_li=&child_of=’ . $term->term_id); } else { wp_list_categories(‘
   taxonomy=location&show_count=0 &title_li=&child_of=’ . $term->parent); } ?>
 * What I have noticed is this: Because I am calling two wp_list_categories of two
   different taxonomies It will only display one result of the taxonomy.
 * How do I get them to both display the taxonomy? It used to do it, but with all
   the updates WordPress has been doing, it no longer works.

Viewing 1 replies (of 1 total)

 *  Thread Starter [rosspub](https://wordpress.org/support/users/rosspub/)
 * (@rosspub)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/need-help-231/#post-6898646)
 * Also, What I noticed….
 * with wp_list_categories, it only shows on that taxonomy page it is calling. how
   do I call it regardless if you are on that page?

Viewing 1 replies (of 1 total)

The topic ‘Need HELP’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [rosspub](https://wordpress.org/support/users/rosspub/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/need-help-231/#post-6898646)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
