What I am looking for is a way to list title only in the archive pages instead of listing the full post. Trying to avoid duplicate content. I know some themes have a archive.php but my theme doesnt. Is there an easy way to do this?
Hi Aaron, From the codex http://codex.wordpress.org/Creating_an_Archive_Index Might want to look into the all-in-one-seo-pack it has some options to make the archive and category pages no follow.
Havent tested it but this should work <?php /* Template Name: Archives */ ?> <?php get_header(); ?> <div id="content" class="yourclass"> <h1>Archives</h1> <div class="entry"> <p><strong>Monthly archives:</strong><p> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <p><strong>Categories</strong></p> <ul> <?php wp_list_categories('title_li=0'); ?> </ul> </div> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?> Code (markup): Depending on your theme you may have to include <?php include (TEMPLATEPATH . '/searchform.php'); ?> Code (markup): Good luck