White search page
-
Dear readers,
I’ll get a white page when i search for something on my wordpress blog. The code on the search page is:
<?php if ( have_posts() ) : ?> <div id="pagetitle" > <p>Search Results</p> </div> </div> <div id="i24titleline" ></div> <div id="widgettext"> <?php get_sidebar(); ?> </div> <div id="contenttext" > <span class="font-weight:20px;'"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '' . get_search_query() . '' ); ?></span> <?php /* Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called loop-search.php and that will be used instead. */ get_template_part( 'loop', 'search' ); ?> <?php else : ?> <span class="font-weight:20px;'"><?php _e( 'Nothing Found', 'twentyten' ); ?></span> <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p> <?php get_search_form(); ?> <?php endif; ?> </div> <?php endwhile; ?>Why am I getting a white page?
Please help.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘White search page’ is closed to new replies.