How to Display Only Parent Category in your WordPress Post Loop
Our issue with the gallery was not so much clutter, but rather it was to make sure our Site Submission Form powered by Gravity Forms can capture all the data and store it as a Post Draft, so it can make our editors job a lot easier. Unfortunately, Gravity Forms does not support Custom Taxonomy because it would have saved us the trouble, but due to the lack of that feature, we had to use the code above. Each of our gallery articles have two categories associated with it (Parent Category: Genre of Site, and Child Category: Theme Framework it uses). In our next article, we will share how you can display only Child Category in your WordPress Post Loop. Stay updated, and make sure you submit your WordPress site to our WordPress Gallery.