I would like to create a page that will show all the posts from one particular category. I want to show the post title with the post thumbnail and content and nothing else ..no other meta ..no post date, no author, no excerpt , nothing I have tried to follow various answers/tutorials without success leading me to feel somewhat confused. Do I create a loop-category.php and add an if-category() statement for that category?? If so what statement please ?? please could someone explain clearly step by step Thank You
You don’t new »statements«. Take a look at the Template Hierarchy: WP does most of the work for you.
1. Find the name
Just create a new post list template, similar to your index.php and name it category-slug.php.
To get the slug part, go to
In my example image the slug for the category Cat A is cata, so your template’s name has to be category-cata.php.
2. Write the template
That is even easier: Include your usual suspects (header, sidebar, footer) and put a very basic loop inside.
WordPress will choose the template automagically, you have nothing more to do.
3. Style the template
In your theme’s header the element
Make sure your theme has it. On your new category archive the class attribute will look very similar to this: