I want to set up an archive page template so that I can make changes to my pages based on the template that they are using. I’ve already made a lot of changes to “archive.php” to suit my default needs, my question is, is there a way to make a template that functions as a working copy of “archive.php” that I would be able to tweak depending on the page? I figured out pretty fast that copying and pasting the code from “archive.php” doesn’t work, as it turns the page that is utilizing the template into a post and displays it like a 1-post archive page that links to itself.
Thoughts? I was considering using
get_posts(); to query, but I don’t know if I can do multiple pages with