Title: Same code, different results on twentyten
Last modified: August 19, 2016

---

# Same code, different results on twentyten

 *  Resolved [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/)
 * Website: [http://projectcloud.info/](http://projectcloud.info/)
 * Version : 3.0.3
 * Theme: Twentyten
 * I have an odd problem. One of the categories I display is shown differently than
   all the other categories. The widgets on that page appear at the bottom like 
   there is no space available. Also, there is an extra menu bar but without the
   options below it. It again doesn’t appear on any other page.
 * So essentially – same code, different results
 * Screwed up link – [http://projectcloud.info/category/conferences/](http://projectcloud.info/category/conferences/)
 * Good link – [http://projectcloud.info/category/topics/](http://projectcloud.info/category/topics/)
 * Below is the code for the category:
 *     ```
       <?php
       /**
        * The template for displaying Category Archive pages.
        *
        * @package WordPress
        * @subpackage Twenty_Ten
        * @since Twenty Ten 1.0
        */
   
       get_header(); ?>
   
       		<div id="container">
       			<div id="content" role="main">
   
       				<h1 class="page-title"><?php
       					printf( __( '', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
       				?></h1>
       				<?php
       					$category_description = category_description();
       					if ( ! empty( $category_description ) )
       						echo '<div class="archive-meta">' . $category_description . '</div>';
   
       				/* Run the loop for the category page to output the posts.
       				 * If you want to overload this in a child theme then include a file
       				 * called loop-category.php and that will be used instead.
       				 */
       				get_template_part( 'loop', 'category' );
       				?>
   
       			</div><!-- #content -->
       		</div><!-- #container -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       ```
   

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847224)
 * Another thing which might be important is that this is the only category with
   two layers of sub-catgories appearing on the menu.
 * 1
    2 2.1 2.1.a 2.1.b 2.2 2.2.a 2.2.b 3
 * When I go to 2 or 2.1, the page is screwed up but with 2.1.a/b , etc the page
   appears fine.
 * Thank you for taking the time to answer my query.
 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847226)
 * The code for my menu is
 *     ```
       /* =Menu
       -------------------------------------------------------------- */
   
       #access {
       	background:none repeat scroll 0 0 #A3C159;
              	display: block;
       	float: left;
       	margin: 0 auto;
       	width: 940px;
               position:absolute;
               text-align:center;
       }
   
       #access ul{
           display:inline;
           zoom:1;
       }
   
       #access .menu-header,
       div.menu {
       	font-size: 13px;
       	margin-left: 12px;
       	width: 928px;
       }
       #access .menu-header ul,
       div.menu ul {
       	list-style: none;
       	margin: 0;
       }
       #access .menu-header li,
       div.menu li {
       	float: left;
       	position: relative;
       }
       #access a {
       	color: #fff;
       	display: block;
       	line-height: 38px;
       	padding: 0 10px;
       	text-decoration: none;
       }
       #access ul ul {
       	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
       	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
       	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
       	display: none;
       	position: absolute;
       	top: 38px;
       	left: 0;
       	float: left;
       	width: 180px;
       	z-index: 99999;
       }
       #access ul ul li {
       	min-width: 180px;
       }
       #access ul ul ul {
       	left: 100%;
       	top: 0;
       }
       #access ul ul a {
       	background: #666;
               color: #fff;
       	line-height: 1em;
       	padding: 10px;
       	width: 160px;
       	height: auto;
       }
       #access li:hover > a,
       #access ul ul :hover > a {
       	background: #333;
       	color: #fff;
       }
       #access ul li:hover > ul {
       	display: block;
       }
       #access ul li.current_page_item > a,
       #access ul li.current-menu-ancestor > a,
       #access ul li.current-menu-item > a,
       #access ul li.current-menu-parent > a {
       	color: #fff;
       }
       * html #access ul li.current_page_item a,
       * html #access ul li.current-menu-ancestor a,
       * html #access ul li.current-menu-item a,
       * html #access ul li.current-menu-parent a,
       * html #access ul li a:hover {
       	color: #fff;
       }
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847235)
 * btw: both links display fine in firefox.
 * it has probably nothing to do with the templates and the css, rather with one/
   some of the validation errors (/conferences):
    [http://validator.w3.org/check?uri=http%3A%2F%2Fprojectcloud.info%2Fcategory%2Fconferences%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fprojectcloud.info%2Fcategory%2Fconferences%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
   particular, the lasdt line of the report hints at some problems:
 * > Line 489, Column 7: End tag for body seen but there were unclosed elements.
 * the page that displys ‘normal’ has a similar amount of validation errors, but
   not the last line:
    [http://validator.w3.org/check?uri=http%3A%2F%2Fprojectcloud.info%2Fcategory%2Ftopics%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fprojectcloud.info%2Fcategory%2Ftopics%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * do you use a plugin to show the excerpts with the link html intact?
 * and how do you do the ‘show more’?
    (this is only on the ‘conferences’ archive.
 * (you could try deactivating **all **plugins to see if the error disappears)
 * btw:
    as Twenty Ten is the deafult theme of wp3, it will be overwritten with 
   the next update of wordpress; all theme modification will be lost.
 * it is therefore advised to create a child theme instead of modifying the Twenty
   Ten theme directly:
    [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847237)
 * Hi,
 * Thanks. I use a plugin called except. I’m trying to understand the report. It
   seems like a lot of errors. Thanks
 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847239)
 * The plugin is excerpt. I’m sorry for the typo.
 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847241)
 * Btw thanks for the suggestion regarding the child theme. I usually update manually,
   so i’ve managed to evade the loss of theme modifications.
 *  Thread Starter [projectcloud](https://wordpress.org/support/users/projectcloud/)
 * (@projectcloud)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847416)
 * Hi,
 * Anyone with a solution? It looks fine on mozilla firefox but not so good on explorer
   and chrome?
 *  [Truonghen](https://wordpress.org/support/users/truonghen/)
 * (@truonghen)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847446)
 * Thanks all.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Same code, different results on twentyten’ is closed to new replies.

## Tags

 * [appearance](https://wordpress.org/support/topic-tag/appearance/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 8 replies
 * 3 participants
 * Last reply from: [Truonghen](https://wordpress.org/support/users/truonghen/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/same-code-different-results-on-twentyten/#post-1847446)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
