Support » Plugin: Relevanssi - A Better Search » No results

  • Resolved bionicoz


    I used relevanssi before without problems. But new installation in a new theme i’m coding give me no results (using twentyeleven theme I have the same behaviour).
    My search.php is really basic right now, to be sure there is no call for query_posts() or WP_Query():

    	<h1>Search page</h1>
    if ( have_posts() ) : while ( have_posts() ) : the_post();
    	$excerpt = get_the_excerpt();
    		<h3><a href="<?php the_permalink();?>"><?php echo $title;?></a></h3>
    		<?php echo $excerpt;?>
    	<?php endwhile; ?>
    <?php else: ?>
    <p>No results</p>
    <?php endif;
    wp_footer(); ?>

    I obviously created the index. I just have two other plugin installed, WPML and MagicFields2, but deactivating them nothing change.
    If I uninstall relevanssi I get the wordpress standard search results.
    Any clue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I answer by myself.
    Mikko I found a small bug for you 😉
    If you have no posts (I only use pages in my site) relevanssi give no results, even if there are several pages indexed.
    I just create a dummy post and everything started working.
    Hope this could be helpful.

    Plugin Author Mikko Saari


    That is a strange problem. I’ll have to investigate this. Thanks for letting me know.

    Plugin Author Mikko Saari


    I’m not able to reproduce the error. I just created a site with no posts, just pages, and Relevanssi works just fine. What an odd problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No results’ is closed to new replies.