WordPress Category.php file template
Faisal / Wordpress
Category.php file is used in wordpress to define a template which will automatically load the posts via categories listed.
We can define which particular category is used for a unique template by attaching the category type in the file name . example (category-slug.php) .
This new file will be used each time a category with a new custom slug is used for specific purposes. This way it is easier to vary the design on the site which we might want for a specific category type only.
Try it out !