I have created a WordPress site, nothing out of ordinary, except that the posts - that are shown in the home page - are filtered by a fixed category, and place the filtering code in the
home.php template of my theme. I use a custom permalink structure (something like
Now I need to provide a section of the site that displays a list of all posts of the site, a global archive, with the URL
site.com/archive/ and for this the output of
wp_get_archives() will do just fine for what I need.
How to add the '/archive/' section to this site? I'll prefer not to create a "template" and having the user adding a page and assigning that template to the page in order to work. What I'm asking is for a solution that works as soon as the user activates the theme.