Support » Fixing WordPress » Standalone Archive Page

  • The way things are set up now, I can get an archive section working ONLY in the footer of my site using the following code (which was already there)

    				<?php wp_get_archives('type=monthly'); ?>
    			</ul> -->

    I want to move my archive section to it’s own page. When I go to write the page, and place the above code in it, nothing happens. All I want is someone to click a link that says “Archives” at the top of my page, and have it show them on it’s own page- not in my footer.

    Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s not quite it. That’s Archives and content together. It includes the exact code I posted above for just the “archive” part.

    copy the archives.php from the default theme into your theme directory.

    Write a new Page, and select that template from the dropdown list on the side.

    The guide shows you how to create a Page template. What code/template tag will you put into it… it is up to you.
    But that’s the way to go if you want a Page.

    And don’t ask theme/design/layout questions without a link or at least naming the theme. They are all coded differently. This is the first time I hear about archives in the footer…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Standalone Archive Page’ is closed to new replies.