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.

Hi, Can I disable the Ajax feature (live search) and show the a results page? If this is possible can you post here the doc page to view the settings? Thanks.

Hi,

Sure! This knowledge base will help with that.

Best regards,
Ernest Marcinko

Thanks! Can you tell which is the subpanel setting to change the setting for the results page. I need to change the layour for this page.

The results page is not added via the plugin it is a theme feature – you will have to change it via your theme options.

Best regards,
Ernest Marcinko

How can I create a full screen search with a layer over the screen than search centre. or full screen with layer and search box at the top. Is this possible?

Hi,

Currently there is no option within the plugin to do that, you will need a 3rd party pop-up (like Elementor or something similar) to place the plugin shortcode to.

A very similar feature is the compact search box, in case you want to try that.

Best regards,
Ernest Marcinko

HI, I have a pre-sale questions. Tried your plugin and working very nice, but I could not find way how to create page for results (ex.results.php). Is here this option and how to get to it ? Tried also this : https://documentation.ajaxsearchpro.com/behavior/results-page-override but seems to not working. Thank you for your help.

Hi,

The results page is controlled by your theme – it has to be customized via the theme. Some page builders also offer customized results pages, but generally customizing via the theme is the best choice.

Best regards,
Ernest Marcinko

I want to show the ajax search search box inside a form. When a user clicks any result, I just want that data to be selected, like the id but prevent form from opening the link. How can I do that? Also how can I get a hidden field in the background with the id?

This should do it:

jQuery(’.asp_m input.orig’).val(‘text’);

Best regards,
Ernest Marcinko

I almost forgot replying to you. Thank you Ernest!!! Your support helped me design the search box exactly I wanted.

You are very welcome :)

I bought this a while ago… just tried to use it with Genesis Theme… It wouldn’t replace the theme/wordpress search… I suspect this is because it’s not ‘hooked up’? Can you provide a snippet/code for me to paste in the function.php to make it work?

Hi,

Make sure to try to enable the search replacement feature – if the search form in Genesis is properly registered, this will work.

If it’s a hard coded search bar (usually in special layouts), then look for widgets or places for the shortcode.

Best regards,
Ernest Marcinko

Hi, is it possible to show last browsing history?

Hi,

I’m afraid that is not possible, the plugin does not store that information.

Best regards,
Ernest Marcinko

Hi, we noticed that since the last WordPress update the CSS is broken in combination with a CSS combination plugin (SG optimiser). Did something change regarding css? (turning of CSS combination solves the issue). It worked without issues for years, it just happened after the last WP update.

Hi,

Yes – SG optimizer has a bug, where it picks up some CSS files, but then it does not add it back in during the combine method. We already addressed that in the next release with a hacky workaround. I hope they will fix that soon, I see a lot of bypasses in other plugin codes as well just to get around this SG optimizer issue.

Until then, you can resolve it by changing this option: https://i.imgur.com/46DQfwq.png.

Best regards,
Ernest Marcinko

Hi, I contacted their support but they mention there is no issue with their plugin :s. When do you expect to release your new version with the ‘hacky’ fix?

Oh wow, that is an interesting approach from their part, but it’s all right. In about 2 weeks the next update will be ready. Until then keep the option I suggested, it will work perfectly fine.

Hello, Good day!

I am using Metabox plugin to create taxonomies and custom field.

I’ve tried many different way but I can’t include the custom filed created by Metabox. Metabox custom fields are called in taxonomies and all the custom fields are Text Type.

So please let me know how can I include the Custom Field’s Data in the search results? Thank you

Hi,

Based on your description these are registered as taxonomies. If so – then you can use the advanced title and content fields to show taxonomy terms in the results list.

Best regards,
Ernest Marcinko

Can you set it to only show results based on a specific category’s posts title only? I don’t want the results to show results that are in the description, only the title.

Hi,

Yes of course – you can restrict the results to a specific category only, or even multiple categories.

Best regards,
Ernest Marcinko

Sorry I was asking if you can restrict the search to a post title only and NOT the content?

No problem, my mistake. Yes of course – you can choose what fields to search within – title, content, excerpt, custom fields etc..

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

Best regards,
Ernest Marcinko

is there something on your roadmap and if so what is on there? :)

Hi,

Yes, of course :)

Currently, we are working side by side on the next update and on the new plugin site, which is very outdated right now. The new site takes longer then expected, once it is finished, we are pushing the next update along with it.

Here is a list what to expect in the future generally:
  • More content via our new blog on the new plugin site regarding product updates and features – expected weekly
  • More newsletters about product updates and general feature updates
  • More demo content about plugin features, which may not be apparent right now
Main features in the next plugin release:
  • Posts and post type archive page live filtering
  • Number range custom field filters – two input boxes for numeric range values with automatic formatting features
  • Number formatting for advanced title and content fields via attributes – so numeric custom field values can be formatted, like: {field_name type=number decimal_separator=”.” thousand_separator=”,”}
  • Script loader improved – now the plugin fully auto-detects where the search is used, and compiles and loads the required scripts only
  • Further improvements on the loading methods, tested 100 points for pagespeed insights/lighthouse every single time
Planned long-term main goals:
  • Complete rework of the plugin filters interface – A new drag/drop style interface to easily handle building the filters
  • Similarly to the search and results box – a design interface (probably connected with the filters interface) to easily style the search, filters and results output
  • New search analytics interface – more data, graphs and data tracking (search phrases, results, most visited elements etc..)

We hope we can finish the new plugin site first, where we can announce these plans and the process on a weekly basis.

Best regards,
Ernest Marcinko

That sounds really cool! Looking forward to the speed improvements in particular ason my site there are many posts and i can start to feel it a bit :)

is there a way to change the background-color from the filters away from gray to white?

Hi,

If it does not change, you can try to force it via custom CSS:

.asp_sb, .asp_s {
    background: white !important;
}

This should do the trick.

Best regards,
Ernest Marcinko

Google Search Console is picking up search queries done with the plugin. So I have over 300.000 pages marked in GSC as Excluded by ‘noindex’ tag – those queries shouldn’t be picked up in the first place… Those are not pages, just search queries.

How to disable this? I don’t want google bot to treat search queries as no-index pages.

Hi,

The plugin does not generate or print any links to any queries, so these have to be presented somewhere else as clickable links. As far as I know google bots do not “trigger” search inputs either. The search results pages are by default excluded by the bots too (queries including the ?s= parameter and so).

Check your sitemaps if you have any, those may include the contents. You can also use the robots.txt to disallow any query strings, but that again is out of the scope of this plugin.

Best regards,
Ernest Marcinko

Please i don’t understand why the search doe snot work anymore here… https://entreprises-uzes-pontdugard.fr/ Thanks for help

Hi,

Some of the styling is missing from the page – the plugin actually does search, but the list is pushed to the bottom of the page. Try clearing your caches, and reinstalling the plugin as well so it is not a corrupted file issue.

If no luck, then feel free to open a support ticket.

Best regards,
Ernest Marcinko

thank a lot !! i ul again and it wroks !!

Hi wpdreams,

I bought your plugin recently, I control almost all possibilities and it’s good. However for the moment it works only with Articles. If I add “Pages” in “Search source > post type search” and I make a search I get nothing.

- I disabled all plugins excepted yours => same - I changed theme to a basic WP theme => same - And I have only 2 pages with real content. - Im’ using the regular engine, no index. Anyway I tried with index also, same issue.

Any idea ?

*By the way I ask support here cause I have an account. To be honnest it’s really not comfortable to create a new account on your page for maybe only 1 ticket. I think you should allow free tickets with a field for purchase code. You undesrtand we (developpers) are fed up with creating new accounts everywhere for very short time.

Thank you for your understanding ang help.

OMG ! It’s fixed, it was not an exclusion but an Inclusion.

I included 3 Tags taxonomies, because I used it as an auth. access levels. For example Tag_1: admin, Tag_2:member, Tag_3: visitor I created 3 menus, and of course none could search in pages but only articles, cause Articles only have these tags.

So right now it’s ok for me, but for the future what could be the best way to manage users levels ?

Thank you again, and have a nice weekend.

Hi,

You are welcome :)

Well, user level based exclusions are not a thing yet, it never was requested before. For now, your solution is actually really clever, it should work just fine.

I have added this as a feature request, you may see it in one of the upcoming releases.

Best regards,
Ernest Marcinko

Thank you :) Keep doing your great work !

Hi,

I updated the plugin to the latest version v4.23.3 and now I’m getting an error when trying to activate it.

Parse error: syntax error, unexpected ’:’, expecting ’;’ or ‘{’ in /var/www/wordpress/wp-content/plugins/ajax-search-pro/includes/classes/Core/Init.php on line 420

I suspect that this occurs because the website use an older version of PHP. Is there a way to downgrade or download a previous version officially?

Hi,

That is very likely, that line refers to a function return type declaration, which is a PHP 7 feature.

The plugin will work on PHP 7.4 and above (it should even work on 7.0, very likely), as that is the minimum PHP requirement for WordPress now. If you are using an older version, then I strongly suggest updating to at least 7.4, usually it is very simple on most hosts. Unfortunately older versions are not kept, downgrading to a lower version will cause a lot of data issues.

Best regards,
Ernest Marcinko

Hi I purchased Ajax Search Pro for WordPress many years ago (it works fine and I’m satisfied) but before I buy the extended support I want to know Is it possible Product Category Description hide or not display the “main category” page? Description must be visible Subcategory page. E.g. https://www.telnova.fi/tuotteet/valokennot/ -> Valokennot is “main category page ” here Description should not be seen, but the Subcategory page is Lähetin vastaanotin pari Description must be display -> https://www.telnova.fi/tuotteet/lahetin-vastaanotin-pari/

Kind regards Sari

Hi,

Yes – for the live results list you can either exclude the categories by their IDs or try a custom code snippet to hide descriptions for the categories, which are top level categories. Feel free to open a support ticket for that, and we will take a look and suggest a possible snippet.

Best regards,
Ernest Marcinko

Hi,

I moved my site to ClassicPress and get the following error when going to the edit screen of the form. The shortcode works but I can’t edit settings because of the error:

Fatal error: Uncaught Error: Call to undefined function wp_set_script_translations() in /wp-content/plugins/ajax-search-pro/backend/search.php:399 Stack trace: #0 /wp-content/plugins/ajax-search-pro/backend/main_settings.php(6): include() #1 /wp-content/plugins/ajax-search-pro/includes/classes/Core/Menu.php(137): include(’/home/customer/...’) #2 /wp-includes/class-wp-hook.php(286): WPDRMS\ASP\Core\Menu::route(’’) #3 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array) #4 /wp-includes/plugin.php(449): WP_Hook->do_action(Array) #5 /wp-admin/admin.php(224): do_action(‘toplevel_page_a…’) #6 {main} thrown in /wp-content/plugins/ajax-search-pro/backend/search.php on line 399

Any idea?

I went back to a standard WP and still same, your plugin causes issues with Oxygen builder and prevents saving of pages or editing post templates with your shortcode in. Can you fix or I get a refund to buy another search plugin?

Hi,

The first issue is definitely not plugin related, it reports a function not existing, but that function is from the WordPress core. In that case there might be a problem with WordPress itself. Classicpress may not implement some WP functions, that may explain the issue.

For the second one, please open a support ticket. There was one similar report, but the user somehow fixed it by turning some plugins off – but never disclosed which ones, so I don’t know what the cause is. If you open a support ticket, we can take a closer look at the possible conflict and resolve it on the spot if it’s our plugin related.

Best regards,
Ernest Marcinko

Pre sale question: If there are no search results, can I insert a widget to display the most searched content to the user?

Hi,

There is a widget to display the most searched keywords (top keywords), if that is what you are looking for: https://ajaxsearchpro.com/demodata/widgets-example/

Best regards,
Ernest Marcinko

Hi there, in the latest version, there is a 200 error in Oxygen Builder when trying to save a template that has a search shortcode in it. Can you please fix this issue? I tested it on a blank install, and the issue is still there. Thanks!

Hi,

Sure, I will test this asap.

Best regards,
Ernest Marcinko

Hi there. Please advise if it’s possible to have a “Sort by” frontend option for a post grid generated with ajax search pro?

Hi,

I’m afraid that is not yet possible.

Best regards,
Ernest Marcinko

Hi,

It is actually part of the WooCommerce results page :)

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