How to display the archive for native posts


I want to display an index of all posts, separate from the homepage.

The current settings on my WordPress Admin > Reading is:

enter image description here

I have a file called archive.php in my theme folder.

But when I visit the page “Blog”, it’s loading the index.php file. Not page.php and not archive.php.

How can I make it load the archive.php template file?

The official docs ( don’t say anything about it, maybe I’m looking at the wrong docs.

Alvaro Franz 2 months 2022-12-12T04:41:38-05:00 0 Answers 0 views 0

Leave an answer