Same code, different results on twentyten
-
Website: https://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 – https://projectcloud.info/category/conferences/
Good link – https://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)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Same code, different results on twentyten’ is closed to new replies.