Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filter by YYYY and Search topic in filter
- This topic has 44 replies, 2 voices, and was last updated 4 years, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 19, 2021 at 12:53 pm #35641
Ernest Marcinko
KeymasterHi,
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:
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; }November 19, 2021 at 3:59 pm #35649anguraj48
ParticipantYou cannot access this content.
November 19, 2021 at 5:33 pm #35655Ernest Marcinko
Keymaster3. 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?
November 20, 2021 at 6:50 am #35659anguraj48
ParticipantYou cannot access this content.
November 22, 2021 at 8:20 pm #35673Ernest Marcinko
KeymasterThank you!
I made a modification, you should be seeing the change on the live results list now.
November 29, 2021 at 10:56 am #35794anguraj48
ParticipantHi 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 #35798Ernest Marcinko
KeymasterI’m afraid that is not possible, I’m sorry.
November 29, 2021 at 1:38 pm #35799anguraj48
ParticipantHi 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 #35800Ernest Marcinko
KeymasterWell, you can try a custom CSS, but it may not work as intended:
.results div.item:nth-of-type(1n+12) { display: none; }December 7, 2021 at 9:53 am #35892anguraj48
ParticipantYou cannot access this content.
December 7, 2021 at 11:28 am #35902Ernest Marcinko
KeymasterYou cannot access this content.
December 21, 2021 at 6:40 pm #36031anguraj48
ParticipantYou cannot access this content.
December 22, 2021 at 2:55 pm #36054Ernest Marcinko
KeymasterYou cannot access this content.
December 23, 2021 at 4:50 am #36062anguraj48
ParticipantYou cannot access this content.
December 28, 2021 at 1:24 pm #36097Ernest Marcinko
KeymasterHi,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.