Title: Relevanssi Live Ajax Search
Author: Christoph Vielgrader
Published: <strong>25 Gennaio 2022</strong>
Last modified: 12 Maggio 2026

---

Ricerca i plugin

![](https://ps.w.org/relevanssi-live-ajax-search/assets/banner-772x250.jpg?rev=3529563)

![](https://ps.w.org/relevanssi-live-ajax-search/assets/icon-256x256.png?rev=3529563)

# Relevanssi Live Ajax Search

 Di [Christoph Vielgrader](https://profiles.wordpress.org/comesio/)

[Scarica](https://downloads.wordpress.org/plugin/relevanssi-live-ajax-search.2.6.zip)

 * [Dettagli](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/#description)
 * [Recensioni](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/#developers)

 [Supporto](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/)

## Descrizione

Relevanssi Live Ajax Search enables ajax live search for your search forms. It won’t
swamp you with settings, and generally, Relevanssi Live Ajax Search works without
any modifications necessary. If you want to customize it, you have complete control
over how it works and what it does.

Relevanssi Live Ajax Search displays the search results using templates. You can
easily override the default templates from your theme to make the results look the
way you want them to look.

#### Works best with Relevanssi

Relevanssi Live Ajax Search only provides you with live search results. To get really
good results, use [Relevanssi](https://wordpress.org/plugins/relevanssi/), [Relevanssi Premium](https://www.relevanssi.com/buy-premium/)
or [Relevanssi Light](https://wordpress.org/plugins/relevanssi-light/). Relevanssi
Live Ajax Search automatically uses Relevanssi to power the search results if Relevanssi
is installed and active. However, you don’t need Relevanssi; Relevanssi Live Ajax
Search also works with the default WP search.

#### Changes from SearchWP Live Ajax Search

Relevanssi Live Ajax Search is a fork of [SearchWP Live Ajax Search](https://wordpress.org/plugins/searchwp-live-ajax-search/).
I forked it from version 1.6.1 because it looked like SearchWP Live Ajax Search 
wasn’t getting updates anymore. I also wanted to improve the Relevanssi compatibility.

Relevanssi Live Ajax Search drops all SearchWP compatibility. You can use SearchWP
Live Ajax Search, which has built-in SearchWP support.

The widget has also been removed. It was unnecessary and outdated.

Relevanssi Live Ajax Search can now take over the Gutenberg `core/search` search
form.

#### This plugin is on GitHub

Feel free to open up issues at
 [https://github.com/msaari/relevanssi-live-ajax-search](https://github.com/msaari/relevanssi-live-ajax-search).

## Installazione

 1. Install the plugin from the WordPress plugin screen.
 2. Activate the plugin.
 3. That’s it! Most of the time, that’s all you need.

If Relevanssi Live Ajax Search does not automatically attach itself to your search
form, you can enable it by adding a single HTML5 data attribute (`data-rlvlive="
true"`) to the input field of your search form. [You can find more information in the plugin documentation.](https://www.relevanssi.com/live-ajax-search/)

## FAQ

### How do I create a custom search results template

Relevanssi Live Ajax Search uses a template loader, making it easy to replace the
search results. There is a `templates` folder in the plugin folder, which includes`
search-results.php`. This file is the template used to output search results. To
customize the search results:

 1. Create a folder called `relevanssi-live-ajax-search` in your theme directory.
 2. Copy the `search-results.php` file into the new folder.
 3. Relevanssi Live Ajax Search will now use that file to show the results.

If you want to override the default CSS styles, you can remove them this way:

    ```
    add_filter( 'relevanssi_live_search_base_styles', '__return_false' );
    ```

This filter hook removes the base styles that control the live search result position.

    ```
    wp_dequeue_style( 'relevanssi-live-search' );
    ```

This removes the actual search result styles.

### I’m using Astra, Storefront, or Divi, and this plugin doesn’t work

It does, Astra search form is just designed in a way that hides the search results.
You can find solutions in the [plugin documentation](https://www.relevanssi.com/live-ajax-search/#astra).
The easiest solution is adding this to your theme `functions.php`:

    ```
    add_filter( 'relevanssi_live_search_add_result_div', '__return_false' );
    ```

### I want to change the number of results shown

There’s a filter for that! Add this to your theme functions.php or in a code snippet:

    ```
    add_filter( 'relevanssi_live_search_posts_per_page', function() { return 10; } );
    ```

This will show 10 results. You can adjust the number as you wish.

### I’m using WPML and get no results!

For some reason, the combination of Relevanssi Live Ajax Search, Relevanssi and 
WPML leads to problems. To solve this problem, use the `WP_Query` mode of fetching
the results. To activate the mode, add this to your theme functions.php:

    ```
    add_filter( 'relevanssi_live_search_mode', function() { return 'wp_query'; } );
    ```

This will make Relevanssi Live Ajax Search use a different method of fetching the
results. This method is compatible with WPML. This method uses the `search-results-
query.php` template instead of the default `search-results.php` template in Relevanssi
Live Ajax Search, so take note if you want to customize the template to use the 
right base template for your customization.

## Recensioni

![](https://secure.gravatar.com/avatar/fd058cd08f5adb7742c6ebea2012880338bae6eb3355405dfc214061769966ea?
s=60&d=retro&r=g)

### 󠀁[Simplesmente perfeito!](https://wordpress.org/support/topic/simplesmente-perfeito-14/)󠁿

 [mrleema](https://profiles.wordpress.org/mrleema/) 25 Ottobre 2024

Simples de instalar e usar! Agora deu vida aos resultados de buscas do meu site.

![](https://secure.gravatar.com/avatar/f6762cdfffc01b7b93234d2ea9e5e2585898ad41d97a0f01a6930bf6ac7dd536?
s=60&d=retro&r=g)

### 󠀁[Absolutely incerdible!](https://wordpress.org/support/topic/absolutely-incerdible/)󠁿

 [philliproth](https://profiles.wordpress.org/philliproth/) 30 Agosto 2024

If you want to get your search on the next level, this is your go-to plugin!

![](https://secure.gravatar.com/avatar/9873ad0abc8ae734c74fa32b75cc860a7f03ec531ffc65be82d17de48ea42bf7?
s=60&d=retro&r=g)

### 󠀁[Great Job!](https://wordpress.org/support/topic/great-job-1275/)󠁿

 [kklaiber](https://profiles.wordpress.org/kklaiber/) 20 Aprile 2023

Great plugin!

![](https://secure.gravatar.com/avatar/2ee166573c829bb229013773aeb0c953eb74eaadd042aca7fc34a84a5ed204b0?
s=60&d=retro&r=g)

### 󠀁[Excellent, helpful developer with questions](https://wordpress.org/support/topic/excellent-helpful-developer-with-questions/)󠁿

 [WPabmm](https://profiles.wordpress.org/aboutm2/) 10 Febbraio 2023

Excellent plugin, works very well, very easy/automatic integration. A couple of 
minor issues were resolved with solutions from the internet and a very quick response
from the developer Mikko on the support forum here! Thank you 🙂

![](https://secure.gravatar.com/avatar/4afc5815ea82f114abd515e80248546305cd2d37859d4ca92dfe932ceb83d395?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-33710/)󠁿

 [stratboy](https://profiles.wordpress.org/stratboy/) 18 Marzo 2022

Also, really great and fast tech support if needed! Recommended.

![](https://secure.gravatar.com/avatar/8ea030b52ff82046c03c58b18dc95f411b1669c822bf9b37cd4c11d9f063be46?
s=60&d=retro&r=g)

### 󠀁[Seamless integration](https://wordpress.org/support/topic/seamless-integration-18/)󠁿

 [Tobias](https://profiles.wordpress.org/tobiaseichner/) 6 Marzo 2022

Easy installation without additional configuration effort.

 [ Leggi tutte le recensioni di 9 ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/)

## Contributi e sviluppo

“Relevanssi Live Ajax Search” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Christoph Vielgrader ](https://profiles.wordpress.org/comesio/)
 *   [ Mikko Saari ](https://profiles.wordpress.org/msaari/)

“Relevanssi Live Ajax Search” è stato tradotto in 13 lingue. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/relevanssi-live-ajax-search/contributors)
per il contributo.

[Traduci “Relevanssi Live Ajax Search” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/relevanssi-live-ajax-search)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/relevanssi-live-ajax-search/)
segui il [repository SVN](https://plugins.svn.wordpress.org/relevanssi-live-ajax-search/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/relevanssi-live-ajax-search/)
tramite [RSS](https://plugins.trac.wordpress.org/log/relevanssi-live-ajax-search/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.6

 * Security update: This plugin could be used for blind oracle attacks to find out
   information on private posts. This has been blocked.
 * New feature: Post type, post ID and term ID are now added to the results template
   as data attributes for better CSS targeting. Contributor: Marco Almeida.
 * New feature: New filter hook `relevanssi_live_search_result_arrow` filters the`&
   raquo;` arrow in the search results. Contributor: Marco Almeida.
 * New feature: Action hooks `relevanssi_live_search_before_result`, `relevanssi_live_search_before_result_link`,`
   relevanssi_live_search_before_result_title`, `relevanssi_live_search_after_result_title`,`
   relevanssi_live_search_after_result_link`, `relevanssi_live_search_after_result`
   allow you to inject content to the search results without modifying the template.
   Contributor: Marco Almeida.

## Meta

 *  Versione **2.6**
 *  Ultimo aggiornamento **5 mesi fa**
 *  Installazioni attive **7.000+**
 *  Versione WordPress ** 4.9 o superiore **
 *  Testato fino alla versione **7.0.7**
 *  Versione PHP ** 7.0 o superiore **
 *  Lingue
 * [Czech](https://cs.wordpress.org/plugins/relevanssi-live-ajax-search/), [Dutch](https://nl.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [English (US)](https://wordpress.org/plugins/relevanssi-live-ajax-search/), [Finnish](https://fi.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [French (France)](https://fr.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [German](https://de.wordpress.org/plugins/relevanssi-live-ajax-search/), [Italian](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [Polish](https://pl.wordpress.org/plugins/relevanssi-live-ajax-search/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [Russian](https://ru.wordpress.org/plugins/relevanssi-live-ajax-search/), [Spanish (Chile)](https://cl.wordpress.org/plugins/relevanssi-live-ajax-search/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/relevanssi-live-ajax-search/),
   e [Swedish](https://sv.wordpress.org/plugins/relevanssi-live-ajax-search/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/relevanssi-live-ajax-search)
 * Tag
 * [ajax](https://it.wordpress.org/plugins/tags/ajax/)[live](https://it.wordpress.org/plugins/tags/live/)
   [search](https://it.wordpress.org/plugins/tags/search/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/relevanssi-live-ajax-search/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  9 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/?filter=1)

[La tua recensione](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/)

## Collaboratori

 *   [ Christoph Vielgrader ](https://profiles.wordpress.org/comesio/)
 *   [ Mikko Saari ](https://profiles.wordpress.org/msaari/)

## Supporto

Problemi risolti negli ultimi due mesi:

     0 su 1

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/)