Title: problems with archives template
Last modified: August 20, 2016

---

# problems with archives template

 *  [astridca](https://wordpress.org/support/users/astridca/)
 * (@astridca)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/problems-with-archives-template/)
 * Greetings.
 * I’ve been working on a theme for my site, [Allotrope Dome](http://allotrope-dome.net).
   However, I seem to be having problems with the archives template.
 * I entered the following code in a file titled “archives.php,” then uploaded it
   into my theme folder with all my other theme files:
 *     ```
       <?php
       /*
       Template Name: Archives
       */
       get_header(); ?>
   
       <div id="container">
       	<div id="content" role="main">
       		<?php // <div id="archivecontent"> ?>
   
       		<?php the_post(); ?>
       		<br/>
       		<font size="4">Archives</font>
       		<br/><br/>
   
       		<div id="searchwrapper">
       			<?php get_search_form(); ?>
       		</div>
       		<br/><br/>
   
       		<b>Archives by Month:</b>
       		<ul>
       			<?php wp_get_archives('type=monthly'); ?>
       		</ul>
   
       		<b>Archives by Post Title:</b>
       		<ul>
       			<?php wp_get_archives('type=alpha'); ?>
       		</ul>
   
       		<b>Tag Cloud:</b>
       		<ul>
       			 <?php wp_tag_cloud( $args ); ?>
       		</ul>
   
       	<?php //	</div> ?>
       	</div><!-- #content -->
       </div><!-- #container -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   
 * Then I logged into the admin panel and created a new page called “Blog Archives.”
   I selected the “Archives” template and hit Save. However, this is what my archives
   page looks like now: [http://allotrope-dome.net/wordpress/?page_id=61](http://allotrope-dome.net/wordpress/?page_id=61)
 * I just want it to show the archives by subject name, archives by month posted,
   and a tag cloud. What’s going on? Why does all this other stuff appear over it?

The topic ‘problems with archives template’ is closed to new replies.

## Tags

 * [archives](https://wordpress.org/support/topic-tag/archives/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 0 replies
 * 1 participant
 * Last reply from: [astridca](https://wordpress.org/support/users/astridca/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/problems-with-archives-template/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
