Filter by YYYY and Search topic in filter

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 Ernest Marcinko 2 years, 5 months ago.

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • #35641
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    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:

    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;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35649
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35655
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    3. 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 :)


    #35659
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35673
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank 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 :)


    #35794
    anguraj48
    anguraj48
    Participant

    Hi 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.

    #35798
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’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 :)


    #35799
    anguraj48
    anguraj48
    Participant

    Hi 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.

    #35800
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well, you can try a custom CSS, but it may not work as intended:

    .results div.item:nth-of-type(1n+12) {
        display: none;
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #35892
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #35902
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #36031
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #36054
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #36062
    anguraj48
    anguraj48
    Participant
    You cannot access this content.
    #36097
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


Viewing 15 posts - 31 through 45 (of 45 total)

You must be logged in to reply to this topic.