• I am having problems with my side nav bar with Copperminefetch and the Kubrick theme staying in place in IE. Firefox it shows great. Here’s my code below. Oh yea I also have a counter in PHP which had no problems. Sometimes navbar shows correctly at the top other times it’ll go to the bottom. TIA.

    <div id=”sidebar”>

    • <center><b> You are visitor number <script language=”JavaScript” src=”counter.php” type=”text/JavaScript”></script></b></center>
    • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    • <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2><?php _e(‘Author’); ?></h2>
      A little something about you, the author. Nothing lengthy, just an overview.
    • –>

    • <?php /* If this is a category archive */ if (is_category()) { ?>
      You are currently browsing the archives for the <?php single_cat_title(”); ?> category.

      <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for the day <?php the_time(‘l, F jS, Y’); ?>.

      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for <?php the_time(‘F, Y’); ?>.

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives
      for the year <?php the_time(‘Y’); ?>.

      <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
      You have searched the “><?php echo bloginfo(‘name’); ?> weblog archives
      for ‘<?php echo wp_specialchars($s); ?>’. If you are unable to find anything in these search results, you can try one of these links.

      <?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
      You are currently browsing the “><?php echo bloginfo(‘name’); ?> weblog archives.

      <?php } ?>

    • <?php get_calendar(); ?>
      <?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>

    • <h2><?php _e(‘Archives’); ?></h2>
      <?php wp_get_archives(‘type=monthly’); ?>
    • <h2><?php _e(‘Categories’); ?></h2>
      <?php list_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”) ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php get_links_list(); ?>

    • <h2><?php _e(‘Meta’); ?></h2>
      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • Grandpa’sPhoto Gallery<br>
      <?php
      include “./cpmfetch/coppermine.php”;
      $objCpm = new cpm(“/pics”);
      $objCpm->cpm_viewRandomMedia(4,1);
      $objCpm->cpm_close();
      ?>
    • <?php } ?>

    </div>

  • The topic ‘Sidebar moving’ is closed to new replies.