Viewing 4 replies - 1 through 4 (of 4 total)
  • Are there any conditional tags running in your category template file? Like if is category x? etc..

    Are you using any category templates?

    Thread Starter JHouse

    (@jhouse)

    Thanks to both of you for your immediate help. Below is the code I’m using. I think I remember assigning the category ID number to something in order for it to work, I just don’t remember where I assigned it. I’m also wondering if my client deleted this category recently (the one that won’t show up) and thus now it has a new ID number and therefore goes blank. Oh memory, don’t fail me now.

    <?php get_header(); ?>
    		<h1><?php echo category_description(); ?></h1>
    		<p>Wow, do we have some beautiful and very affordable homes for sale in scenic Northern Colorado. Over the next week, we will be adding several Fort Collins homes, as well as properties in Windsor, Loveland, Wellington and Bellvue, Colorado. Please check back soon, real soon!</p><br />
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<b><a href="<?php echo get_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
    				<ul class="HomesForSale">
    					<li class="ngg-gallery-thumbnail"><?php the_thumb("LINK=p"); ?>
    					<?php echo c2c_get_custom('City', '<li><strong>City: </strong>', '</li>'); ?>
    					<?php echo c2c_get_custom('Price', '<li><strong>Price: </strong>$', '</li>'); ?>
    					<?php echo c2c_get_custom('Bedrooms', '<li><strong>Bedrooms: </strong>', '</li>'); ?>
    					<?php echo c2c_get_custom('Bathrooms', '<li><strong>Bathrooms: </strong>', '</li>'); ?>
    					<?php echo c2c_get_custom('Style', '<li><strong>Style: </strong>', '</li>'); ?>
    					<?php echo c2c_get_custom('Status', '<li><strong>Status: </strong>', '</li>'); ?>
    				</ul>
    
    			<div class="entry">
    				<?php // the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    			</div>
    		</div>
    		<?php endwhile; endif; ?>
    
    <?php get_footer(); ?>
    Thread Starter JHouse

    (@jhouse)

    Okay, thanks to one of the moderators, now I remember how to assign a category ID to a category page, or vice versa rather. Also, if I switch to the default theme, the category page comes up fine, but still not when viewed with my theme. Really odd ’cause it worked fine for the last two years or thereabouts.

    Hmmm.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One category page goes blank, but others work fine…’ is closed to new replies.