Title: Code modification : Relevanssi will still work ?
Last modified: May 23, 2018

---

# Code modification : Relevanssi will still work ?

 *  Resolved [axoloto](https://wordpress.org/support/users/axoloto/)
 * (@axoloto)
 * [8 years ago](https://wordpress.org/support/topic/code-modification-relevanssi-will-still-work/)
 * 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](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years ago](https://wordpress.org/support/topic/code-modification-relevanssi-will-still-work/#post-10314396)
 * You can use `relevanssi_do_query()` to have Relevanssi process your query. [Read more about it here](https://www.relevanssi.com/knowledge-base/relevanssi_do_query/).
   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](https://wordpress.org/support/users/axoloto/)
 * (@axoloto)
 * [8 years ago](https://wordpress.org/support/topic/code-modification-relevanssi-will-still-work/#post-10316792)
 * 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.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [modification](https://wordpress.org/support/topic-tag/modification/)

 * 2 replies
 * 2 participants
 * Last reply from: [axoloto](https://wordpress.org/support/users/axoloto/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/code-modification-relevanssi-will-still-work/#post-10316792)
 * Status: resolved