Standalone Archive Page (5 posts)

  1. markhimself
    Posted 8 years ago #

    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?

  2. moshu
    Posted 8 years ago #

  3. markhimself
    Posted 8 years ago #

    That's not quite it. That's Archives and content together. It includes the exact code I posted above for just the "archive" part.

  4. Chad_Coleman
    Posted 8 years ago #

    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.

  5. moshu
    Posted 8 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic