I'm building a new theme. I'm now working on to figure out which file is needed to show the "whole" post for a specific date which displays when you click on a date in the built in WordPress calendar widget?
Somebody who has a clue which it is?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm building a new theme. I'm now working on to figure out which file is needed to show the "whole" post for a specific date which displays when you click on a date in the built in WordPress calendar widget?
Somebody who has a clue which it is?
archive.php
is used to display author, search, category, tag and date archives. As clicking on a calendar day will take you to the date archive for that day, then the file you're looking for is archive.php
.
More specifically, WordPress will check for these files in this order, stopping when it finds one of these files in your active theme's folder:
date.php
archive.php
index.php