Code

Discussion on Ajax Search Pro - Live WordPress Search & Filter Plugin

Discussion on Ajax Search Pro - Live WordPress Search & Filter Plugin

Cart 22,978 sales
Recently Updated

wpdreams supports this item

Supported

This author's response time can be up to 2 business days.

3223 comments found.

Hello, the last update has corrupted the CSS of my browser, now it doesn’t look good and it’s searching all the time, it doesn’t let me introduce changes.

REVERSE CHANGES!

Hi,

Thank you for the feedback, but we have not changed the CSS in the last release, it is the same as the previous releases. This is most likely a conflict regarding something else. If you want to, I am more than happy to check the issue, feel free to open a support ticket.

All the best Ernest M.

Hello how are you? My Ajax Search Pro is not finding the latest posts, the most recent ones no longer appear in the search

I put the code inside my theme’s functions.php, but it didn’t create the asp_upload1 folder. And inside the asp_upload folder, I see the creation of several files like “xasp_01301d4d5804371bf1dff64b8438dade.wpd”

Okay, I thought it will be problematic, but worth a try. Those are text based pre-cache files, when the search cache is enabled. Those will be moved in a future patch to the cache folder, it is under testing yet.

You can open a bug report with site login and FTP details, I am genuenly interested on why the page breaks, just want to make sure it is not something with the plugin.

Best regards,
Ernest Marcinko

Hello, I disabled the cache option in the plugin settings, and I noticed that these ”.wpd” files are no longer being created, let’s wait for the next update to see if this conflict returns, it seems to be ok for now.

How can I move Search Box below Filters? Like this: https://i.imgur.com/00MPCdH.png

Hi,

Use the filters shortcode to do that. Place the filters shortcode first, then the search shortcode, and that’s it.

Best regards,
Ernest Marcinko

“Replacing the default theme search bar” not working by override. My knowledge of php is limited so not sure where to find and replace theme search bar with plugin code. Search bar is in header so widget directions not helpful. Any other helpful answers with this issue?

Hi,

Unfortunately there is no general guide for this, because every theme is completely differently coded. Usually themes include this automatic replacement hook to make it easy, but in rare cases (usually when the search is integrated to a very specific placement, or has a special output) it is not coded that way. Sometimes there is still hope by checking the theme settings if there is any option to replace it witht a widget or shortcode. I always recommend asking the theme author for the best course of action, they know everything about their theme, including the location for the code if needed.

Best regards,
Ernest Marcinko

Hello ,

Currently I have WPML with English & Arabic , Could the user while browsing in English search & got result in Arabic ?

Hi,

You can turn off WPML compatibility in the plugin Advanced Settings – in that case however results from all of the languages will appear.

Best regards,
Ernest Marcinko

Hello, is it possible to exclude related posts under content from indexing? Now the search finds even pages were keyword is present only in related pages. Which is not fine. Thx David

Hi,

Generally related posts are not stored as part of the post content field – at least I have not seen a plugin yet doing that, it is usually printed within the template or after the posts loop. If somehow the related posts are parts of the post content in your case, then there are only a several things you can do:
  • Not to search the posts content fields
  • When using the index table engine, make negative keyword exceptions
  • When using the index table engine, exclude the related posts module shortcode – that will eleminate the related content completely from the index
But generally I recommend moving the related content data away from the actual post content field, that is the best solution.

Best regards,
Ernest Marcinko

Thank you, I placed the related content via hook after the content and now it is OK David

Perfect!

Hi, i have a presale question: dose this plugin work with WP Job Manager plugin ? i mean can i customize WP Job Manager search filter with it and add new fields and taxonomies ? and dose it work similar to this plugin Search and Filtering for WP Job Manager https://plugins.smyl.es/wp-job-manager-search-and-filtering ?

Hi,

I am not very falmiliar with that plugin, but I assume it is using custom post types to store the Jobs – in that case it will work.

This plugin is not an extension to an existing search, but you can create separate search & filters with it. The filters work by custom fields, taxonomy terms (like categories), dates, content type and post type.

Feel free to try the back-end demo as well, where you can experiment with most of the plugin features.

Best regards,
Ernest Marcinko

H. there is a bug on latest version. I had to downgrade to make the search work again. The new version creates infinite loop on front end & debug shoed the plugin creates a js file into folder /uploads/asp_upload in my case asp-f50f5fd5asp-f50f5fd5. each time I deleted it. when trying to search it created this file again. Please fix it

Will check on monday as soon as I get back to the office, no worries. Make sure to include a relevant url, login and ftp details, so I can debug if needed.

Any updates? I didn’t hear back from you

Just answered, the issue is caused by a translator plugin/code, which changes DOM node attributes, which should never be touched. I recommend checking any custom made translator tools, which may manipulate the output buffer.

Best regards,
Ernest Marcinko

Hi, the price is for 1 or unlimited sites? thanks!

Hi,

The price is always for 1 website, including all future updates forever.

Best regards,
Ernest Marcinko

Thank you Ernest!

Is it possible to show results only if the items are in a specific category or tag? In my testing it keeps showing everything within a post type no matter the category or tag

Hi,

Yes of course – this documentation will help you with that.

Best regards,
Ernest Marcinko

brilliant thank you

Dear Customers,

Ajax Search Pro version 4.24 has been just released!

Check this showcase blog post for more details about the new features and changes. You can also find all changes listed in the changelog.

Best regards,
Ernest Marcinko

I am using the ASP_Query (it’s awesome by the way!) and there is always a “0” at the end of my results. Is there any way to get rid of that?

Also, I specified in my $args ‘posts_per_page’ => 25, however it only shows 10 results. I am using a $search_id and that search instance has a limit of 10, but I thought the $args are supposed to have priority over the $search_id settings?

Thanks!

Hi,

I assume you are referring to the results page here. The plugin does not print anything to the results page, so that “0” might be coming from either the theme or maybe a custom code (an echo or a print statement left somewhere).

The issue with the ‘posts_per_page’ argument depends on what context do you use it. If you try to modify the search query arguments via the asp_query_args hook, then this does nothing, because at the end still wordpress decides how many posts will be displayed on the results page. It highly depends on the exact code and the case. Try changing that query argument in the pre_get_posts hook instead.

Best regards,
Ernest Marcinko

Hello, how can I exclude from search the widget content? Thx David

Hi,

Widgets are not part of the post/page contents so they are not searchable in the first place. If a widget is placed to the actual post content, then I’m afraid there is no way to exclude it, as it is stored in the post content field acting as the actual post content.

Best regards,
Ernest Marcinko

Hi, thank you for answer. So there is no way to put Last or Top searches to widgets without having it in search results? I mean, page was shown in results and the searched word was present only in Last search widget . Thx David

Btw, great plugin!

Hi there,

I have a pre-sale question. In your documentation, specifically the article called ‘Elementor Pro Posts Widget Live Filter’, it shows that adding a class (in this case asp_es_1) to a post widget makes it possible to use the live filter on it. Would it also work if I have two post widgets on the same page and add the same class to both? Would the live filter then filter both post widgets simultaneously?

Thanks!

I have one more question. The delete button is not working for me, can you confirm that it is working on your end? When I press the button, a ’#’ appears at the end of the url, but nothing happens.

Indeed, that is not working. I recently changed the icons, probably forgot to correct the relevant javascript. Thanks for noticing, I will fix that soon.

Best regards,
Ernest Marcinko

Hello, I am interested in your plugin, I have seen that it is a powerful search engine. I would like to know if I can use it with the theme https://themeforest.net/item/motors-automotive-cars-vehicle-boat-dealership-classifieds-wordpress-theme/13987211 to search for words that are in the description of each car for example. Thank you

Hi,

I don’t think it should be a problem. I assume the theme is high quality and the cars are stored as custom post types as they should be.

Best regards,
Ernest Marcinko

Hi there,

I can make the Synonyms to work. I just added the synonym here https://tinyurl.com/27r48zw6 I make sure to reindex. I expect to get the same result for xxdd than for silla in my site but it does not work:. this is the site: https://latevabotiga.com/?s=xxdd&asp_active=1&p_asid=1&p_asp_data=1&customset[]=product&asp_gen[]=excerpt&asp_gen[]=content&asp_gen[]=title&filters_initial=1&filters_changed=0&wpml_lang=es&qtranslate_lang=0&woo_currency=EUR&current_page_id=23

I already added ‘products’ in General tab: https://tinyurl.com/292u4usv

Hi,

Make sure the index table is indeed enabled, that is a common mistake.

Best regards,
Ernest Marcinko

Thanks!

After upgrade to last version i got this error but it’s working normally in /var/www/vhosts/..../httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/etc/indextable.class.php on line 123

Fatal error: Uncaught Error: Failed opening required '/var/www/vhosts/.../httpdocs/wp-content/plugins/ajax-search-pro//includes/classes/etc/synonyms.class.php' (include_path='.:/opt/plesk/php/8.0/share/pear')

Hi,

That file does not exist in the new release, it was likely triggered by a search query or pageview at the same moment as the plugin update was in process. If by any chance you see this message again, just reinstall the plugin, but I highly doubt that.

Best regards,
Ernest Marcinko

Hi, I love the power and flexibility of ASP and use it for several sites. One of my current projects must have WCAG AA compliance, and the scanner I’m using is flagging the “Generic Filters” area of ASP for missing form labels. Here’s a screenshot to show the errors it’s throwing: https://prnt.sc/Q4kFs1IuDTSA

It looks like the form in question is hidden and has to do with some filters that can help segment search results. I’m not using these filters, which I confirmed through the ASP UI at [Search] > Frontend Search Settings > Generic Filters as in this screenshot: https://prnt.sc/L9fYyqgYAayi

I’m not sure why these filters are showing as a hidden element in the page when I have them disabled, so can you tell me a way to make them go away for good so they don’t raise a red flag on the accessibility scan? Weirdly, I notice that when I disabled the filters and hit Save, they seem gone (as shown in the screenshot) but when I leave that screen and come back, they seem to have reappeared.

You can see the accessibility scan here: https://wave.webaim.org/report#/https://new.frcog.org

Thanks for looking at this. I’ll appreciate any insights you can provide.

It will come within the plugin integrated, no need for custom codes. I will also try to change some of the other elements (like empty labels etc..) to better accomodate accessibility.

Best regards,
Ernest Marcinko

Oh yeaaaaaah, I just saw the update notice, re-ran the accessibility scan, and it’s now a beautiful error-free page that complies with WCAG AA. I am really grateful for your fast responses, for taking the time to make a rigorous fix, and for your professionalism throughout. I will now leave one more glowing review for your phenomenal plugin! Take care.

Oh, thank you very much for your kind words and the feedback. I am very happy this is finally resolved :)

What an awesome review, this will be added to our selected testimonials page for sure! Thank you!

Best regards,
Ernest Marcinko

Hi, I’m using Total -theme which has a very flexible way of creating views and grids for CPT:s called “Theme cards”. Do you think it would be possible to integrate this if creating a page simliar to this https://ajaxsearchpro.com/elementor-live-product-filter/ Thank you for a great plugin!

Hi,

Well – in that way probably won’t work.

If the grids are basically just a layout, you could still use the taxonomy/search archive filter with them.

Best regards,
Ernest Marcinko

I use Woocommerce membership, teams. Some data is team data only. Would it be possible to limit to only team members? I could add the team id to post meta and user meta.

Hi,

It depends on how the membership data is stored. If it is a taxonomy or a custom field on products, then in theory it is possible to limit the results to those specific taxonomies/meta values only.

Best regards,
Ernest Marcinko

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey