Hi there,
I created a custom search for a wordpress theme. It worked fine for me and I tested it on a lot of browsers, but my client’s IT guy said that it didn’t work. The issue has been resolved, but I still am not aware of what I did wrong. The IT guy said the following lines were problematic:
on searchform.php:
on search.php:
<?php endwhile;
endif; ?>
Here are the files in their entirety:
searchform.php:
<?php /* Template Name: Search Page */ ?>SEARCH:
search.php:
<?php get_header(); ?>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post() ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php the_time('F jS, Y') ?>
>
<?php the_content(); ?>
<?php endwhile;
endif; ?>
Any help would be greatly appreciated!!!
Thanks!!!
Amanda