Please limit search functionality in the front-end only.
Hi,
Thanks for reporting this issue.
The functionality only limited to the front-end only but it is enabled for Ajax calls that could be a problem.
I tried to reproduce this issue previously but I couldn’t reproduce.
That would be very helpful if you can provide me steps to reproduce the issue?
Thanks
We are using Advanced Custom Field(ACF) plugin to call a custom post type(e.g. Books) in a different post type(e.g. Author). ACF provides the facility to search for a particular post by title with AJAX search.
Generally, what we are trying to do is we are calling “Books” with the help of ACF in “Author” post type. When number of books is more then we can search also for a particular book by its title so want search in the admin.
But we don’t want to include search in the “Books” post type at the front-end. So, we disabled Books search in settings of “WP Extended Search”. But this affecting the ACF search in admin as well.
I hope its more clear for you to create an issue as such.
Hi,
Thanks for the details. I reproduced the issue and added a fix. Please download the development version. It should fix the issue.
The fix will be released in next version.
Thanks
Development version which you provided is working fine and not affecting the admin AJAX search.
Thanks for the support.
I would actually like the opposite of this! I would like to have WP Extended Search be used for the admin search. Currently we are using this plugin to be able to search by author name on the frontend of the site, but when searching in admin posts, it is not returning any results. You should include an option to allow search to be used in admin as well.
Hi,
Frontend search is affecting due to the WP Extended Search Plugin. We are using WP Recipe Maker plugin on our website. This allows users to add recipes into their shopping collection by search into recipes.
This search is not working when the WP Extended Search plugin is activated, but after deactivation recipe plugin search starts working.
Development version does not fix this.
We run Elementor editor which often attempts to search for templates, etc, to build pages and so on.
With WP Extended Search activated, this does not work.
Easy to reproduce with Elementor Pro:
Install Elementor, Elementor Pro and WP Extended Search and activate all
Create a couple of templates
Create a page and add a template widget
Do a search for either of your created templates (the search will just hang)
Deactivate WP Extended Search
Repeat and the search will work as expected.
As mentioned this is an issue with admin Ajax search no doubt.
Perhaps create an option in the plugin to turn off the extended search for front-end or back-end as required?
Hi,
Sorry for the delay. Do you still have the problem?
WPES runs at back-end only for Ajax calls so Ajax search can work without doing any change to existing code.
I am continuously adding Ajax action names to excluded list. Please provide me Ajax action name and I will add this to list.
Thanks
I have reproduced and fixed the issue. I have not released it yet. It will be very helpful if you guys can test and share the feedback.
Download here
The fix has been released in v1.3.1