Archive Page Will Not Work… HELP!
-
for some reason when I create an archive page it will not work.
blog
when you click on archive it goes back to the home page.but when I access the archive page directly it will show the months but when you click it goes back to the home page
archiveI haven’t changed the Permalinks nor have I changed the page names.
here is the code for my archive
<?php /* Template Name: Archives Page */ ?> <?php get_header(); ?> <?php get_sidebar(); ?> <div id="content"> <h2 class="entry-title"><?php the_title() ?></h2> <?php the_content() ?> <h2>Archives by Month:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <h2>Archives by Subject:</h2> <ul> <?php wp_list_categories(); ?> </ul> </div> <?php get_footer(); ?>
- The topic ‘Archive Page Will Not Work… HELP!’ is closed to new replies.