Show Child Categories On Parent Category Page

This code displays a list of all child or sub categories of the parent category like this in the sidebar:

child-categories

You can change the hook to any other if you want the child category posts listed within the content area however by default, posts from child categories are already include in the parent category archive.

Only the child categories of the current parent category are displayed.

Demo Video

The code hooks each child category in before the sidebar widget area.

It displays the child category name, a description for the child category ( if added ) and the post count for each child category.

The code is easy to modify which is supported for logged in members:

Related Code Snippets

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.