I have a created a custom category template for parent categories which displays only the child categories rather than all the posts contained (category-slug.php). I found a code which calls all the categories but can’t work out how to style the content individually. How can I apply styles to the contents when called up?

I’ve also installed the plugin ‘Category images’ as I’d like to style the contents and implement images for each category on the template.

Here is the code I am currently using…

    <?php wp_list_categories('&title_li=&show_count=1&child_of='.$current_cat); ?>

Read more here: Styling wordpress custom category templates


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: