Forums

Search Page Stops Showing Results (1 post)

  1. mattnewmedia
    Member
    Posted 1 year ago #

    I am migrating a site I developed on my test server (http://www.mattburnell.com/clients/wmu) to a live server at an institution (http://wwwtest.wmich.edu/evalctr). If you do a search for the word "dave" in the search box on the bottom of the left column it shows results like it should (on my test server). However, after moving the site to this new location, the results don't show anything. It does register that it found three results and the <div> tags load with the post number but nothing else does like the the_title or the_excerpt. Here's my code on both sites.

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
    				<b class="storytitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></b>
    				<div class="storycontent">
    					<?php the_excerpt(); ?>
    				</div>
         	    </div>
            	<hr size="1" />
    			<?php endwhile; else: ?>
    			<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    		<?php endif; ?>

    Hope someone has a solution as I am totally stumped. Thanks. -Matt

Topic Closed

This topic has been closed to new replies.

About this Topic