Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi!
You can change the width of the results box here: https://i.imgur.com/XPBYvCv.png
That’s what you are looking for πThe gap between the search and the results container is set here: https://i.imgur.com/QVk0CVy.png
You can set even negative values (like -10px) if 0 still gives you a big gap.This documentation will help with enabling search in the product attributes.
November 8, 2024 at 9:39 am in reply to: Click search but not all entries are shown? 50/250 only #51761Ernest Marcinko
KeymasterYou cannot access this content.
November 8, 2024 at 8:19 am in reply to: Click search but not all entries are shown? 50/250 only #51758Ernest Marcinko
KeymasterHi,
Can you please check and increase the results limit here: https://i.imgur.com/2v1lsye.png
The default value used to be 50, I suspect it’s causing the issue π-
This reply was modified 1 year, 7 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi!
I was reffering to this feature – I have enabled it for you. There is a custom CSS somewhere limiting the width of the settings to 1000px, I wanted to remove it, but I couldn’t find where it’s placed at. Just letting you know, you probably know where to remove it, in case you want the width of the block to be responsive to the container.
It wonβt search properly
Can you please explain in more detail what exactly is the issue with the search? Is it happening to specific phrases or setups?I have checked the search performance as well, I’m getting around 400-600ms responses, which is actually very impressive, your back-end server must be optimized very nicely. The response time only depends on the back-end server performance at this point.
However even a blank WordPress request usually takes at least 400ms, I have rarely ever seen anything faster than that.You can still probably save a few milliseconds and some server load by enabling the cache: https://i.imgur.com/jPzitRT.png
That will slowly build up and you can very likely get another 50-100ms faster.There are plugins which offer “instant” search results, but those mitigate the search requests to their external servers, and are extremely costly (usually $500+/year). You can try to explore those, but in your case I don’t think you would get that much benefit for a much higher recurring price.
Ernest Marcinko
KeymasterHi Harald,
This custom CSS will do the trick:
div[id*=asp-res]:hover a.asp_res_url { font-weight: bold !important; }I hope this helps!
Ernest Marcinko
KeymasterGreat π
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin and have not rated already, feel free to leave a rating on your codecanyon downloads page and on the wordpress plugin repository, it’s greatly appreciated.
Ernest Marcinko
KeymasterHi,
Sure!
Make sure that the plugin license is activated on your installation for automatic updates. You can also do a manual update, please follow this guide for that.
I hope this helps!
November 5, 2024 at 3:34 pm in reply to: Live Search results only displaying blogs, not pages, even though configured #51733Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterThank you!
I found the problem – the issue is that those are not the actual document post type results, but the media attachment results, which link back to the parent document. Therefore there is no featured image for them, as media files can’t have featured images.
Fortunately there is a super easy solution for that. I have placed the following custom code to the functions.php in your theme directory:
add_filter( 'asp_results', function ( $results ) { // --- DO NOT CHANGE ANYTHING BELOW --- foreach ( $results as $k => &$r ) { if ( isset($r->post_mime_type) ) { $imx = wp_get_attachment_image_src( get_post_thumbnail_id($r->id), 'original', false ); if ( !is_wp_error($imx) && $imx !== false && isset($imx[0]) ) { $r->image = $imx[0]; } } } return $results; }, 10, 1);I can’t guarantee anything, but it should work for most cases.
Ernest Marcinko
KeymasterYou cannot access this content.
-
This reply was modified 1 year, 7 months ago by
-
AuthorPosts