which template should I use for single category post?

I have a category ‘c program’. I can show this category using category.php template file. I have a post like ‘First C program’ under ‘c program’ category. So I want to use another template file for this post. As far I know this can be done using single.php. But this template file is not showing this post.

more specifically:

example.com/category/c-program (category.php is working here).
example.com/category/c-program/first-program (single.php is not working here).

Any idea?

Read more here:: which template should I use for single category post?

Leave a Reply

Your email address will not be published. Required fields are marked *