Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filter by YYYY and Search topic in filter
This topic contains 44 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 5 months ago.
- AuthorPosts
- November 19, 2021 at 12:53 pm #35641
Hi,
1. Probably the auto populate results counter is still taken into accout, try increasing this option.
2. It seems to be working okay on my end, try refreshing the cache.
3. The cut off is at a word boundary, not at sentence boundary. I am not sure if there is a simple solution for this. You man need to look into a custom function capable of detecting sentence endings, and then apply it via the asp_results filter.
4. I assume that is within the “abstract” field. Try something like this:
Best,add_filter('asp_results', 'asp_strip_tags_on_content', 10, 1); function asp_strip_tags_on_content($results) { foreach ( $results as &$r ) { $r->content = strip_tags($r->content); } return $results; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 19, 2021 at 3:59 pm #35649You cannot access this content.November 19, 2021 at 5:33 pm #356553. It should be there by default, it might be a minor issue somewhere in the code, I will look into it on our local server. If you want, you can add temporary FTP access, and I will try to locate and fix it on your server as well.
4. Okay. Did the code work?
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 20, 2021 at 6:50 am #35659You cannot access this content.November 22, 2021 at 8:20 pm #35673Thank you!
I made a modification, you should be seeing the change on the live results list now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 29, 2021 at 10:56 am #35794Hi Ernest,
Thanks for your support so far.
Now we are getting the expected result on Search results and also in Filter.
We are displaying the complete results in all category but we need to show only 10 results per category and after that, we need to show the “Load more” link, which will load further more results (Our categories are Article, Magazine, Blogs, Videos, Annual Reports, ,, etc). How to achieve this ?
Regards,
Raj.November 29, 2021 at 1:36 pm #35798I’m afraid that is not possible, I’m sorry.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 29, 2021 at 1:38 pm #35799Hi Ernest,
Is there a way can we limit results for each category.
Say example, Showing 10 results for Article and 10 for Magazines like that?
Regards,
Raj.November 29, 2021 at 1:42 pm #35800Well, you can try a custom CSS, but it may not work as intended:
Best,.results div.item:nth-of-type(1n+12) { display: none; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 7, 2021 at 9:53 am #35892You cannot access this content.December 7, 2021 at 11:28 am #35902You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 21, 2021 at 6:40 pm #36031You cannot access this content.December 22, 2021 at 2:55 pm #36054You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 23, 2021 at 4:50 am #36062You cannot access this content.December 28, 2021 at 1:24 pm #36097Hi,
1. Because you have configured to only highlight whole keyword matches, you can change that here: https://i.imgur.com/lgXFDgn.png
2. That is not possible unfortunately without massive custom coding.
3. Because of the grouping and of the large number of results limit, some seemingly more relevant matches can possibly be lower in a different group. You can turn on this option reorder groups by more relevant results first.
However that may not change much, because of the high number of matches it is still possible, that a group has a higher average relevance.
To get results from the most relevant to the least relevant is best to have grouping disabled. Because if the results are already grouped with large number of results, then it may lead to unneccessary long list of results.A good alternative is to use the advanced title and content fields – which allows you printing the category/taxonomy term names before/after the description or title fields. Although it does not group, but it is a nice alternative to display the result categories.
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.