• Resolved axoloto

    (@axoloto)


    Hello,
    I’m actually using Relevanssi to make better reserach on my website.

    I’m also actually trying to make search results displayed on the current page instead of the page search.php, and I will probably change some part of the code in the search form and search loop (by the way if you have any idea how I can do that it would be so sweet if you help me).

    I would like to know if code modification can have an impact of the right functionning of Relevanssi or what kind of modifications won’t have an effect.

    Thank’s for your answer

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

    (@msaari)

    You can use relevanssi_do_query() to have Relevanssi process your query. Read more about it here. It’s fairly simple: just create a WP_Query object, load it with necessary parameters (don’t forget to include the search term in $wp_query->query_vars['s']) and just pass it to Relevanssi.

    Thread Starter axoloto

    (@axoloto)

    Thank’s for your answer ! I will try it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code modification : Relevanssi will still work ?’ is closed to new replies.