Title: Parent Code
Last modified: June 19, 2021

---

# Parent Code

 *  [redgrape54](https://wordpress.org/support/users/redgrape54/)
 * (@redgrape54)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/parent-code/)
 * I’m fairly new to this but so far so good! However, I want to only show the parent
   category codes on my side menu but currently it shows both parent and child
 * How can i ‘simply’ change this to only show the parent codes?
 * Thanks
    -  This topic was modified 4 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparent-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Topher](https://wordpress.org/support/users/topher1kenobe/)
 * (@topher1kenobe)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/parent-code/#post-14580937)
 * Hi there, did you write the code to render these, or did you use a plugin?

Viewing 1 replies (of 1 total)

The topic ‘Parent Code’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Topher](https://wordpress.org/support/users/topher1kenobe/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/parent-code/#post-14580937)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
