Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Doesn't work in Edge and firefox – but fine in Chrome
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years ago.
- AuthorPosts
- August 23, 2015 at 4:23 pm #5607
Hi – really cool search function 🙂
Unfortunately I can get it to work in Edge or firefox – it works fine in Chrome. I’m not quite sure what I have done wrong. For now it is placed in the footer to testing.
I would also like to know how I can put in beside the navigation (where the original searchfunction is right now).
Hope very much you can help.August 24, 2015 at 8:53 am #5615Hi!
Thank you for the kind words 🙂
I found the problem, you did nothing wrong. I’m not sure what’s the exact cause, but I have a feeling it’s related to the latest firefox update, as the issue came up on an unchanged piece of code, and someone else just reported this as well.
Anyways, I logged in to your site back-end, and changed Javascript Compatibility option on the Compatibility Options submenu under the Ajax Search Pro menu. Luckily, that solved it immediately.
I will investigate this issue further on my test environment 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 29, 2015 at 12:34 pm #5705Great thanks 🙂
I now managed the get in up beside the menu – but it can’t be seen on mobile phone then, så I have to figure out what to do there. I could put it in the footer to, but I think that is a bit messy – it would be nice if I could choose if it should be shown on all screen or only some (like th rows in visuel composer).
But I got a more serius problem – I can’t figure out where to translate “X Search results found” and “You searched for:” – it is shown on the page that comes when I choose to show more results (see attached image). I also can’t get it to show more than 2 result… When I search for “Sten” there should be 4 result, couse he is author on four post…
Attachments:
You must be logged in to view attached files.August 31, 2015 at 9:34 am #5719Hi!
The results page translation you are referring to is part of your current Theme, not the search plugin. I think you will find it somewhere in the search.php file in your theme directory.
It should show the same amounts of results on the results page, like on the ajax list. Make sure you have the Override the default WordPress search results page? option turned on the General Options -> Behavior panel. That way the plugin will try to override the default result list, with the ajax result list.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 31, 2015 at 9:50 am #5720The ajax-result also only comes with two results – but there are at min. 4 post with the author-name “Sten” – and I have made it search i authornames to and asked it to show 10 results……
Eg. this post dosn’t show op when searching Sten: “http://105.dk/nykredit-realkredit-fik-skovlen-under-raadne-erhvervslaan-i-foerste-halvaar/”September 2, 2015 at 6:08 pm #5776Hi!
The default engine cannot search author names connected to posts, the data is stored separately so it won’t work. The 2 posts there are only visible, because the both of the content has the thext “sten” in them, it’s not because of the author unfortunately.
However, the plugin version 4.5 and upper has a feature called the index table, which can generate an index including the author details. I think this is what you are looking for. Please read these chapters in the documentation on how to enable, generate and use this index table. If you don’t like it, you can always switch back to the regular engine at any time.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.