• nate.ads

    (@nateads)


    I am using the Relevansi AJAX plugin and it’s providing me more results for the search word than my search page displays.

    The drop down shows 6 and says there are 10 more and to press anter to see the results, But when I hit enter I only see 3.

    To display search results on my search page I am using

    <?php while( have_posts() ) : the_post(); ?>
    <li>
    <article id="post-<?php the_ID(); ?>">
    <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
    </article>
    </li>
    <?php endwhile; ?>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mikko Saari

    (@msaari)

    If you try the Relevanssi admin search at Dashboard > Admin search, does it match the AJAX results or the main search page results?

    Which theme do you use?

    Thread Starter nate.ads

    (@nateads)

    @msaari not exactly. When I tried it on the front end of my site I was seeing 17 results in the AJAX window, the search results page showed 3 and the Admin search shows 7.

    I’m using the underscores.me starter theme.

    Plugin Author Mikko Saari

    (@msaari)

    Ok, that’s weird. I’d expect some consistency somewhere ?? What other plugins are involved? WPML and Polylang are the obvious ones that can cause something like this.

    If you deactivate Relevanssi, does the AJAX search then match the search results page?

    Thread Starter nate.ads

    (@nateads)

    @msaari I’m running ACF PRO, Contact Form 7, Flamingo, and Events Manager.

    I did try disabling them and the results were still the same. I can’t recall if I tried changing the theme.

    That’s why I am wondering if my result output is incorrect by using

    have_posts() ) : the_post();

    Unfortunately I’m in a time crunch so I switched to AJAX Search Lite which is working fine.

    I can try and replicate the issue on a development site if you like? In case there is something causing a conflict that I could help with finding.

    Plugin Author Mikko Saari

    (@msaari)

    Yes, that search results template stuff is perfectly normal and definitely not the problem.

    Did you try disabling Relevanssi? The other plugins are fine and unlikely to cause problems with Relevanssi.

    Seeing what’s actually happening here would be helpful; now, it’s hard for me to figure out what’s the actual problem when I can’t see what’s going on.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.