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

wpdreams

wpdreams supports this item

Supported

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

1460 comments found.

Hi Ernest,

In Multisite Installation, some posts carry more weight age than others and the results are included on basis of keywords rather than the number of visitors.

Therefore, can you please give an option to set relevance (either of Post Type or of site) in relative to others’. As we are growing, it’s one of the bottlenecks our users are complaining.

e.g. We have a Directory Listing Sir and a news Site. If a user searches for a particular Institute, most of the news items popup on the top followed by Directory Listing results; however, most of the users are interested in Directory Listing on the site. I am unable to enforce more weight age to Directory Listing in resultant pages.

Hi,

Thanks for the detailed response.

Posts share the same default post type so ordering by “General Options -> Ordering panel, where you can enable post type ordering” will not work.

Can we link it with Site and Post Type. e.g. We can order Default Post Type of Site 1 above default post type of Site 2. – It will solve the business case.

Things get pretty complicated in Wordpress Multisite Environment.

Thanks Rohit

Hi Rohit,

I’m afraid that’s not possible to achieve. I’ve tried to look up the code to maybe suggest a modification, but post type grouping is done via post processing, and this would require a significant change in that code.

Best regards,
Ernest Marcinko

Hi Ernest,

Ohh, that will cause the result to be significantly less value addition to our end users.

Is that not possible both for Post Type of a site or decreasing weightage of whole site?

flogarou

flogarou Purchased

Hi, i would to set a filter by year with a dropdown list (eg. 2017, 2016,2015…) , is it possible with the module? Thanks for your help, Regards

Hi,

There is a date filter available on the Frontend search settings -> Date filters panel, but that uses a WordPress built in full date selector: http://i.imgur.com/3fG2jwM.png

I don’t think that’s possible to customize to only display years though. However if you have the items categorized by years in some way (taxonomy terms, categories, tags, custom fields), then perhaps a taxonomy term filter or a custom field filter may work.

Best regards,
Ernest Marcinko

flogarou

flogarou Purchased

Thanks for your reply, regards

Hi, We can’t seem to get the search function to search within products. We have added the product post type but just get no-results-found when searching.

Is there compatibility with Woo 3.0?

Another issue, we have the plugin active per site on multisite. Is there a way to disable the settings that allow other sites to pick up search forms or limit this feature to super admins only?

Hi,

It should work, the demo runs on WooCommerce 3.0. If WooCommerce is active networkwide, then it might be a configuration issue, I might have to take a look.

The other thing should be possible, but with one modification to a certain plugin file. If you open up the wp-content\plugins\ajax-search-pro\includes\classes\core\class-asp-menu.php file and change line 91 from this:

$capability = ASP_DEMO == 1 ? 'read' : 'manage_options';

to:

$capability = ASP_DEMO == 1 ? 'read' : 'manage_network';

That should hide the plugin back-end from regular administrators. Make sure to have a back-up of everything before making direct changes to the plugin files though.

If you need help with this, feel free to open a support ticket, and I will do it for you.

Best regards,
Ernest Marcinko

Hello

I was thinking that it would be possible to integrate your plugin with this: Https://codecanyon.net/item/popuppress-popups-with-slider-lightbox-for-wordpress/5197157?s_rank=1

Suggestions do not load a new page, but a popup for viewing.

Imagine the results of dictionaries … or things like that.

What do you think?

Hi,

I guess it could be possible, but you might have to consult a developer to do the integration process. The search provides a javascript API, so it should be possible to place the results shortcode into a pop-up, and attach an event handler to ‘search finished’ event to open the pop-up box automatically once the search is finished.

Best regards,
Ernest Marcinko

Aosoth

Aosoth Purchased

Hi. Pretty nice is there a guide to optimize it to be most lightweight and minimal functionalities by chance or somethign similar?

Hey btw when i use the Logic to filter the search bar to only shows post from a specific category. It still shows every post/page that is NOT assigned to a category. Can you fix that soon please?

Hi!

There are actually guides and options to optimize both the visual and search perfromance, you can read more about them in the following documentation chapters:

Also, there is an option to exclude items that are not assigned to any category, you can find it on the Frontend search settings -> Advanced panel: http://i.imgur.com/XK2Biom.png

Best regards,
Ernest Marcinko

is it possible to display the post category as part of the description in the search results?

Presale:

I want to install this in a WooCommerce site.

Let’s say I sell clothing, in different clours and different sizes.

I want the following to happen:

I want to pick type of clothes: Shirt I want to pick color: black I want to pick size: small

When those 3 are picked, i want to click on “search” and then get results. The demo on your site shows resuls each time I click. Is this possible to make as my need?

Hi,

Yes, this is also possible. You can turn off the search triggering, whenever an option is changed, and enable only when the magnifier button is pressed: http://i.imgur.com/26Iwld5.png

Best regards,
Ernest Marcinko

Hi,

I’ve create a one page glossary on my website. I want to know if your plugin can be limited to search ONLY the content on that page. (e.g. h2’s)

Ideally it would highlight the specific content and/or shoot down to the content like this example

http://ask.garyvaynerchuk.com

Many thanks

Hi,

I’m afraid that’s not possible. The plugin can only search for separate post type objects within the database. It’s not capable of visually distinguishing elements within one page and highlighting them unfortunately.

Best regards,
Ernest Marcinko

Hi, what are this plugin advantages over https://codecanyon.net/item/woof-woocommerce-products-filter/11498469 if my goal is to ajaxly search only products? Thanks in advance.

Hi,

From what I can see, the main difference is that the other plugin can use the shop page to filter the products, and was made exclusively for WooCommerce; While Ajax Search Pro uses a drop-down container to display the results in it’s own fashion, and is capable of displaying other than products as well.

I believe it’s a matter of preference.

Best regards,
Ernest Marcinko

Thanks a lot. So it’s possible to filter products by country or other custom properties by Ajax Search Pro? My goal is to have ajax search functionality instead of wordpress default search and filter product ajaxly on some page. If i understand it correctly it’s possible to build some checkboxes or slider filters similar to https://codecanyon.net/item/woof-woocommerce-products-filter/11498469, but the results will be displayed in drop-down container?

Yes, exactly like this. On this documentation page you can read more about how to create these filters and how they are used as well.

Best regards,
Ernest Marcinko

almoyen

almoyen Purchased

How can I make the plugin search attachment pages? (Not attachments, but attachment pages, as you know each image/document you upload on Wordpress has it’s own page in WP).

Also, the plugin searches only Image attachments, not pdf or docs. How can I make it search pdf as well?

Kind regards,

Hi,

You can change the linking on the General Options -> Attachments panel: http://i.imgur.com/ih67F0D.png

To search pdf type of attachments, try adding the following mime type to the Allowed mime types list:

application/pdf

For more info you can check the Search attachments documentation chapger, and there is also an allowed mime type list for wordpress available.

Best regards,
Ernest Marcinko

I did what you mentioned, but the search is still very slow. Also when I search for numbers I can not find the result, for example: LAPTOP DELL 5559, when I search for 5559 there is no result. Overall, the search process is not very good (result – and speed).

Waiting for reply.. Thank you..

Hi,

Have you checked this knowledge base article I linked earlier?

If that did not help, feel free to open a support ticket, and I will take a look at it directly.

Best regards,
Ernest Marcinko

i need to search only standard post(in my wp i have video post music post and others) in this plugin i can make to search only standard post??

Hi,

Yes, it is actually possible, by excluding results by terms from the post_format taxonomy, on the Advanced Options -> Exclude results panel: http://i.imgur.com/xbgcmts.png

Best regards,
Ernest Marcinko

flogarou

flogarou Purchased

Hello, I would to display a message (ex. please fill the search field) on click when the search field is emply, can we do this simply please? Thanks for your help

Hi,

I’m guessing you use the ‘required’ html5 attribute. As far as I know it’s triggered whenever the submit button is clicked within the form. So a possible solution would be to trigger the form submit click whenever the user clicks the ‘ok’ button.

A script like this may help:

jQuery(function($) {
   $('.promagnifier').click(function(e) {
       $(':submit', $(this).parent().get(0)).click();
   });
});

Best regards,
Ernest Marcinko

flogarou

flogarou Purchased

You’re the best ! Thanks a lot :)

You are welcome :)

If you like the plugin, feel free to rate it on your codecanyon downloads page, it’s greatly appreciated.

Best regards,
Ernest Marcinko

Hello :)
If I have a Multisite with custom post types
Can I Create Global Search For All Sites with selecting post types for each site ?
As I have many sites with many different custom post types on each
Hope You Could Understand what I mean
Thanks in advance :)

Hi!

Yes, that is possible, but it’s better if the custom post types are available on the blog where the search is used.

Best regards,
Ernest Marcinko

Pre order question – can this search woocommerce product tags / slugs?

Hi!

Yes, it is possible to search within product tags and permalinks (slugs). More info on how to enable search in tags here.

Best regards,
Ernest Marcinko

x6Panda

x6Panda Purchased

Just a quick question. Where can I disable the theme/css option? I want to use no css at all and already removed every css file but it keeps downloading style.instances.css in the uploads folder

You are very welcome! :)

Best regards,
Ernest Marcinko

Guess I can fire another question here. I use group ordering with categories (5 categories) when there are no results it shows no results. If there are 2 results in categories for example, it shows those 2 categories with the result. I wonder if its possible to always show categories and if there are no results in that categories, just put no result.

Hi!

This is actually a great idea, I wonder why it never came up until now. Unfortunately not possible, but I’ve put it on the upcoming features list. This hopefully should not be too complicated to implement, so I believe it will be available within the next release.

Best regards,
Ernest Marcinko

Hello,

How can I make the form in this page (http://www.snl-solutions.co.il/category/%D7%9E%D7%A0%D7%95%D7%A2%D7%99-%D7%A9%D7%A8%D7%A9%D7%A8%D7%AA/) to be in a RTL layout? I want that all the texts Will be linked to the right like the field name, the radio buttons etc.

Hi,

In case there are RTL issues, use these custom CSS rules, they should help in most cases: https://gist.github.com/anag0/33923e669445c84e04b34c0006ca8da3

To display the results in a different location, use the results shortcode, that should do the trick. More about shortcodes here.

I hope this helps.

Best regards,
Ernest Marcinko

Hi,

Thanks for your help.

About the RTL issue, It didn’t help completely as you can see here: http://www.snl-solutions.co.il/%D7%9E%D7%A0%D7%95%D7%A2%D7%99-%D7%A9%D7%A8%D7%A9%D7%A8%D7%AA/

What can I do?

Best Regards, Tom

Hi Tom,

This additional rule should fix the radio buttons as well:

.mCSBap_container .asp_label {
    width: 80%;
}

Best regards,
Ernest Marcinko

Hello , will this work with woCommerce product search and is there a limit on the number of products that plug can search for?

Hi,

It is possible to use it to search for products as well, as an individual search bar, see these examples.

If by limit you mean you have a larger database, it mostly depends on your server performance. The most I have seen it working on was probably around 100 000 products.

Best regards,
Ernest Marcinko

ok when i install it, will it replace the theme default search. or will i have to add the code on every product listing for it to work i,m using the below theme but i have remove the “search by category” part. i will like your plug in to pull search results once user type in the first 3 characters of the desire product in the search box.

http://azexo.com/doo/

Hi,

There is a built in script which allows replacing the theme default search bar automatically – but it depends on how the theme has it’s search bar constructed. If it uses the default searchform.php method, then it is possible. Otherwise the only way is to replace it manually.

It is possible to adjust the numer of characters on which the plugin triggers. By default it’s set to 0, but it can be changed to 3 as well.

Best regards,
Ernest Marcinko

dgdillon

dgdillon Purchased

Hello, I’m loving your inspired and well executed plugin! We have a location search working with Auto Populate. To improve the UX We would like to load the auto populate results on hover instead of on page load. Is this possible?

Hi,

That code is not correct, and I don’t recommend the changing the ‘one’ to ‘on’ as it will execute every time the user hovers over the search bar.

The second code I sent is definitely correct, I just tried it on your site via the console. The reason it doesn’t work is that there are fatal javascript errors reported on the site, which very likely prevent the execution of the script: http://i.imgur.com/G6ouwDs.jpg

One is coming from the site header, some script is trying to refer to the jQuery object via the $ shorhand, and the other seems like from the theme builder scrips file.

Fixing these will very likely fix the hover script as well.

Best regards,
Ernest Marcinko

Thank you Ernest. You rock!

Thank you, and you are very welcome :)

If you like the plugin, feel free to rate it on your codecanyon downloads page, it’s greatly appreciated.

Best regards,
Ernest Marcinko

What version is the May24, 2017 release ?

Where is the changelog ?

Hi,

The link to the version log is in the plugin description (bottom), or you can find it on the plug-in back-end as well.

Best regards,
Ernest Marcinko

by
by
by
by
by
by