WordPress.org

Ready to get started?Download WordPress

Forums

sidebar in Archives not placing properly (1 post)

  1. smokedfisher
    Member
    Posted 7 years ago #

    I have an archives page and the sidebar in the archives page appears in the body and not where the sidebar should be-to the right. The sidebar on the home page is fine. Any help is greatly appreciated.

    <?php
    /*
    Template Name: Archives
    */
    ?>

    <?php get_header(); ?>

    <div id="content" class="widecolumn">

    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    <h2>Archives by Month:</h2>

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

    <h2>Archives by Subject:</h2>

      <?php wp_list_categories(); ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic