Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search by id
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 10 months ago.
- AuthorPosts
- March 18, 2016 at 1:55 pm #8071
Hi
I want to exclude pages from search completely
But it is impossible to me, I and id added, didn’t help.
Result
http://richan.ru/ajax-search-pro.html
http://richan.ru/?s=%D0%9F%D1%80%D0%BE%D0%B4%D0%B0%D0%B6%D0%B0And the search does not work on “id”, your code did not help me
-
This topic was modified 6 years, 10 months ago by
saylife.
March 18, 2016 at 2:11 pm #8073Hi!
I just checked the search folder, and it contains remains from an old plugin version, incorrectly installed.
Please FULLY re-install Ajax Search Pro using the plugin manager first and apply the fix I have recommended. (deactiavate, delete and install from codecanyon archive) It won’t work with old plugin versions. If it’s still won’t work after re-installing, then I will of course take another look.
If you downloaded the plugin previously before purchasing from a 3rd party site, then I recommend to check your installation for viruses and backup everything. Pirated copies are very dangerous, and most likely contain malicious code to steal your website credentials.
Let me know if reinstalling and trying the modification didn’t work.
Also, make sure not to use the Index table engine, the modification (id search) will only work with the regular engine.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 18, 2016 at 4:31 pm #8081Search doesn’t work now in general.
I took the module from the friend which he bought from you.
Viruses aren’t present
I made everything, and search doesn’t work in general ((
Help me please.
And how to clean pages from search?http://richan.ru/ajax-search-pro.html
-
This reply was modified 6 years, 10 months ago by
saylife.
March 19, 2016 at 7:25 am #8089Your site of a demo doesn’t work search
http://demo.wp-dreams.com/March 21, 2016 at 9:37 am #8104Hi!
It was indeed not working, because of the database table collation for the cyrillic symbols. I have changed the code to I have suggested to:
$this->parts[] = array( array("( $wpdb->posts.ID LIKE '$s' )"), array() );
Now it should search IDs and terms correctly if your switch back to the regular engine along with the ID exclusions.
The demo was indeed not working because there was a maintenance on one of our database servers 🙂
-
This reply was modified 6 years, 10 months ago by
Ernest Marcinko.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 6 years, 10 months ago by
- AuthorPosts
You must be logged in to reply to this topic.