August 2017
Beginner
412 pages
10h 30m
English
WordPress is now using the index.php template file for every view on your site. Let's make a new file--one that will be used when viewing a monthly archive, category archive, or tag archive.
To create your archive template, make a copy of index.php and name this copy archive.php. Now, navigate to a monthly archive on the site by clicking on one of the month names in the sidebar. At this point, it looks exactly like the main listing, the one handled by index.php.
Let's make one change to the archive template. I'd like it to display a message that lets ...
Read now
Unlock full access