• Resolved Rvanhoef

    (@rvanhoef)


    From reading the al the questions in the support forum, I believe I have the common problem of a query in search.php that I need to comment out. But as I am not good at php, I am not sure of which one.

    My search results do show up in the administration but nothing shows at the front search results.

    I pasted the contents of search.php in this pastebin, http://pastebin.com/Ubr9ruQ9

    i have wordpress 4.3 and my theme is lazanews. Any help is greatly appreciated.

    Thank you

    https://wordpress.org/plugins/relevanssi/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    This line is the problem:

    $the_query = new WP_Query( $args );

    It appears several times in the search results template. I think it’s possible to make this theme work with Relevanssi, but it will require a major rewrite of the search results template.

    Thread Starter Rvanhoef

    (@rvanhoef)

    Hi Mikko,

    Thank you for your quick reply.
    As I do not know php enough to do a major rewrite, I guess I will have to go and try another search plugin. I appreciate your help so far.

    Thank you!

    Ria

    Plugin Author Mikko Saari

    (@msaari)

    Yeah, changing either the theme or the search is the best option here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search not showing results in front end’ is closed to new replies.