Hello
Thanks for your very useful plugin.
I am using WordPress 6.7.2, I installed “Relevanssi” and “Relevanssi Live Ajax Search” but the Ajax search does not work. I added the attribute “data-rlvlive=true”, it is visible in the source code. Could the problem come from the version of wordpress? Or do you have any idea of ??the origin of the problem?
Thanks
]]>In the features there is described that the user queries are logged, but where can I find them?
I use this Relevanssi Free plugin in wordpress.
Dear support,
I have an issue with the search function on the translated versions of my website, that seems to be linked to the Relevanssi Live Ajax Search plugin.
I use two types of posts on this website : the default, and a ‘tutorials’ custom post type. My website’s main language is French, and it is translate in English and Spanish with WPML.
On the main version of the website everything works properly : I can use the searchbar and click any of the suggested results to access it, or access any result from the search page without any error.
When browsing the english or spanish version however, I observe the following :
The URLS are correct, and everything works properly with default-typed post.
I can tell it’s related to the Relevanssi Live Ajax Search plugin because I tried deactivating every pluging one-by-one, and was able to confirm it only occurs when this one is activated.
Do you have any idea of what is causing this behavior, and how I could fix it ?
Thank you in advance for your help.
]]>Hi
I am using Relevanssi to include shortcode content on my productpages in the search results and its working fine. I recently added the Relevanssi Ajax Search plugin to get live results while searching but it seems like shortcode content is not coming up.
Is it possible to include it? The shortcode content are tables from WPDataTables.
]]>Hi,
Great plugin! However, I’m having issues with the Relevanssi Live Ajax Search working correctly when I’m not logged into my Admin account. When not logged into an account or when logged into a non-Admin account, the live ajax search just displays a spinner which disappears soon after without showing any result. However, when logged into my Admin account, everything works fine. The “/?s=” search page works fine, which shows the issue is from the Live Ajax Search.
My site is being ran on Sensei LMS and Course theme by Automattic.
]]>Hello,
I want to change the layout of the search results for my website. To do so, I did as instructed in the plugin’s documentation : I added a relevanssi-live-ajax-search folder to my theme repertory, copied the search-result.php template there and applied my modifications in that file.
The issue is that those changes are not applied on the front end. It seems that the plugin template is not overridden by my own. I tried to do the same thing with search-results-query.php, but it doesn’t work either.
Is there any step I am missing here ?
Thank you in advance for your help.
]]>Is it possible to change the number of characters required before search is triggered, currently it’s set to 3
]]>Hi,
I just installed the plugin on my website (which is currently offline, so I can’t provide a link), and I have an issue with the live search box: it does not display correctly within the page :
I’ve seen on other topics that this occurs regularly, so I tried to add CSS properties to force an alignment to the top at 0px as advised on other posts, but when I do so the search box still doesn’t align with the search bar. It seems to be align with a parent component several levels before the search bar.
It appears to be working properly if I remove the top: 580.75px property from the inspector, without adding the top: 0px property. But I don’t know how to apply this in the CSS of my website.
Can you help me with this ?
]]>Hello,
I installed the plugin (I already have relevanssi) and when the live search box/popup appears, it is not in the right location. Please see this image https://ibb.co/Tv9wKrp
Same thing happens for the mobile version.
]]>Hi Mikko,
I’m trying to implement this, but my search form is in a modal. So the results work and everything position etc., it’s just because the results div is not included in the modal, it appears behind it. And since it’s a modal no z-index magic can bring it to the front. So my idea would be to put the div within the modal. Is there a way I can place the div there with a little add to functions.php or something? Not activated at the moment of course as not to frighten our customers ??
Thank you! Fantastic work!
]]>Hello there,
I have WooCommerce Storefront theme installed on my site, it didn’t work with this plugin at first, after adding the code below into functions.php,the plugin works fine on my desktop computer.
add_filter( 'relevanssi_live_search_add_result_div', '__return_false' );
But on my mobile phone there’s a problem. On the mobile version of the Storefront theme, the search bar is stuck at the bottom of the screen. When you type something, the search results pop up below it, and they go off the screen! You can’t see them unless you drag them up manually. This is annoying because you have to do it every time. Wouldn’t it be better if the search results automatically appeared above the search bar on mobile? Is there a way to code this? Storefront is a widely used free theme that deserves to be boosted for compatibility.
By the way, this is a great plugin, especially because we can freely customize the search-results.php file. It gives us a lot of control over how things look!
Thanks in advance.
Qilin
]]>Hey,
we have been using Relevanssi for a long time. The search results are usually perfect.
Yesterday I installed Relevanssi Live Ajax Search.
Unfortunately, the live query delivers very inaccurate or no results.
If I press Enter I get to the search page, which gives the results perfectly.
What is going wrong?
The theme is Storfront and the filter is in the function.
add_filter( ‘relevanssi_live_search_add_result_div’, ‘__return_false’ );
Best regards Mario
Hello, Mikko!
I use Relevanssi Live Ajax Search along with Relevanssi Pro in a project, and I was wondering I there is a default/recommended way of disabling the form submission (e.g., do nothing if user presses Enter) while waiting for the live results to appear.
Cheers,
Demetris
]]>Is there a way to get the search results to position relative to the search form in a modal, or retrigger the positioning after the modal has shown? When calculating the position, it ends up offset to the bottom right considerably. Here is a screenshot illustrating the result position. Ideally I’d like it anchored to the modal window, or even not positioned but just dumped into a div in the modal-dialog since the modal will position automatically. Perhaps there is a method to override the properties for top, left, and width shown in this screenshot using PHP or Javascript? I’m using bootstrap 4.6, with a modal dialog vertically centered if that is helpful.
Thanks in advance, this plugin is great ??
]]>Hello Mikko, Relevanssi Live Ajax Search searches ALL posts, pages AND products. I would just like it to search products only. Is there a way to do this? I’m also using Relevanssi and FacetWP with GeneratePress theme. I’m specifically looking for the navigation search. I’m trying to achieve this https://yourmediaexchange.com/?s=who&post_type=product instead of this https://yourmediaexchange.com/?s=who
]]>Hey
Theme TT4 – WP 6.5
In wp 6.5 anything can be added to navigation menus in block themes. I have moved the search field inside the menu, and now the ajax pop-up has dislocated itself and appears at random.
This happened after moving the search field into the nav menu. You may try out the search at the link.
]]>Hello, I have a search bar, and I’ve installed the Relevanssi Live Ajax Search plugin. It’s functioning well, but it currently displays posts, pages, and products. I want to limit it to displaying only products. Is this possible?
]]>Hi Mikko,
I’m using Relevanssi + Relevanssi Live Ajax Search with Oxygen builder and WPML, without any problems.
To make it work I need to set this function:
add_filter( ‘relevanssi_live_search_mode’, function() { return ‘wp_query’; } );
As you know, oxygen builder doesn’t use themes, so I wanted to customize the search-results.php and I tried to set my folder like this:
add_filter(‘relevanssi_live_search_results_template’, function ( $location ) {
return plugin_dir_path(FILE) . ‘/live-ajax-search/search-results.php’;
});
Unfortunately this causes the plugin to stop working completely, due to the following errors:
PHP Warning: Attempt to read property “found_posts” on null in /…/search-results.php on line 28
PHP Warning: Undefined variable $wp_query in /…/search-results.php on line 28
PHP Warning: Undefined array key “s” in /…/search-results.php on line 82
I think it’s related to ‘relevanssi_live_search_mode’ what do you think?
]]>Hi , is there a option to adjust delay of calling Ajax for search on key press?, if I type slower I do not want to make Ajax request to many times.
]]>It seems that the following AJAX request is being called on every visit to my site:
/wp-admin/admin-ajax.php?action=relevanssi_live_search_messages
Even if the user does not fill out the search form. There were so many of these AJAX requests that my server overloaded and caused a 504 error on my site. I had to deactivate the plugin to get the site back up and running.
Why does this AJAX request happen on every page visit? Shouldn’t it just happen when the user fills out the search form?
Hi Mikko,
Really like your plugin. But ran into a small problem just today. When activating Redis Object Caching the live search does not work anymore.
Disabling the object caching fixes the problem but not sure what I can do to leave the caching on and still use the live search feature.
Any ideas?
Hello. I’ve got an odd issue with the live results.
The paragraph block within a cover block is showing above the search results indicating an issue with the z-index.
This is the page structure.
But the paragraph is showing above the search results.
Notice how its only those paragraphs appearing above it in the final result.
I tried adding some CSS but without much luck.
It occurs on Firefox/Chrome. I’m using a PC.
]]>Hello, I have wpml and the live ajax is working in the main lang but not the second one, note that i already use this filter
add_filter( 'relevanssi_live_search_mode', function() { return 'wp_query'; } );
]]>
Dear Support Team,
I have a problem with the Relevanssi Live Ajax Search plugin that occurs in conjunction with the Twenty Fourteen themes. Specifically, there are the following issues:
Live search is not displayed correctly in both the header bar and the left sidebar. When using the widget search in the right sidebar and entering a search term, the layout of the website is disturbed, and the website has to be moved to the left. The area on the right is then displayed as live search.
I tested the theme and the plugin in the latest version and without additional customizations. The problem did not occur with other themes.
Since the problem so far only occurs with the Twenty Fourteen theme, it could be that the bug is with the theme itself. In this case, the developers of the theme should be informed about the problem so they can fix it.
I would be very happy if you could help me to solve the problem. Thank you very much in advance!
Yours sincerely,
Ditmar
Hi,
I’m trying to override the search-results-message.php template in my theme. I created a relevanssi-live-ajax-search
folder in my theme and added the template file in there but it isn’t working. It seems like the plugin’s code isn’t allowing override for this file and the issue is located in the get_ajax_messages_template()
function around line 45 of the class-relevanssi-live-search-client.php
file. Is it possible to update the plugin to allow overrides at the theme level for this file, just like the search result template?
Thank you!
]]>Hi,
Regarding the position of the submenu box where the live search results appear.
As it stands, when one scrolls down then this submenu box with the live results moves along instead of remaining sticky to the search bar above.
Is there a way to fix this?
]]>Hi,
I tried to use the following CSS code you provided to another user here in order to change the colour of the live search results within the submenu as they appear light grey and it’s difficult to read:
.nav-container .nav .relevanssi-live-search-result a { color: #000; }
The above didn’t help , any ideas how I can rectify this?
]]>Hi!
Is there any way I can display the post thumbnail in the live search? And also I would like to display the value of an ACF field in the live search, is that possible?
]]>We recently launched a site makeover on a high traffic site which included both Relevanssi and Relevanssi Live Ajax Search. Development went well but as soon as we launched the site, we started seeing huge performance issues. I reached out to my hosting provider and he told me the following process was getting “hammered”
/wp-admin/admin-ajax.php?action=relevanssi_live_search_messages
As soon as I deactivated Live Search, the site became much more responsive and server utilization dropped. I really love this plugin. Is there anything we can do to get this to work more efficiently?
]]>My live search results appear too far down the page and to the right, not aligned directly below the search box. I’m unsure what to edit to move it back into the right position.
Also, when using it on a mobile, the responsive page also shunts the results down, but changes the font colour to be the same as the results background, so you can’t read them.
Can you help?
]]>