Cutline 3-Column & WordPress 2.6: CSS for Search Results
-
I’m running Cutline Three-Column Right on WordPress 2.6 at https://www.acandidworld.net. The problem is, the search results page, as coded by Cutline’s creator, completely botches a “for” or a “while” loop somewhere, resulting in ever-increasing font sizes… example. I can’t for the life of me figure out how to break the loop. I’d greatly appreciate any assistance. Below is the code for the results page, unmodified:
<?php get_header(); ?> <div id="content_box"> <div id="content" class="posts"> <?php if (have_posts()) : ?> <h2 class="archive_head">Search Results for <span class="green"><?php echo $s; ?></span></h2> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <h4><?php the_time('F jS, Y') ?><!-- by <?php the_author() ?> --> · <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></h4> <div class="entry"> <?php the_excerpt() ?> <p><a href="<?php the_permalink() ?>#more-<?php the_ID(); ?>" title="Read the rest of this entry">[Read more →]</a></p> </div> <p class="tagged"><strong>Tags:</strong> <?php the_category(' · ') ?></p> <div class="clear"></div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/navigation.php'); ?> <?php else : ?> <h2 class="page_header">Welp, we couldn't find that...try again?</h2> <div class="entry"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div> <?php endif; ?> </div> <?php include (TEMPLATEPATH . '/sidebar.php'); ?> <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?> </div> <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cutline 3-Column & WordPress 2.6: CSS for Search Results’ is closed to new replies.