the number of searches

This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 2 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #40381
    enomotoshota
    enomotoshota
    Participant

    Hi,
    When using Live Search Triggers, is it possible to show only the number of searches made, instead of showing the posts?

    #40399
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Do you mean like showing only the number of results instead of the actual results in the live results window?

    Best,
    Ernest Marcinko

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


    #40420
    enomotoshota
    enomotoshota
    Participant

    Hi,

    That’s right.

    #40445
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Actually, I think it is possible.

    There is a feature to show the results information box, which displays the number of results.
    To display the results number only, please use this configuration: https://i.imgur.com/Yc39uWr.png

    This is the text on the screenshot for the first field:

    Results Count for <strong>{phrase}</strong>: <strong>{results_count_total}</strong>

    ..and the second:

    Results Count: <strong>{results_count_total}</strong>

    Then, you also need to hide the search results. For that, some custom CSS code is required. Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.

    .asp_r .results {
        display: none !important;
    }

    After that, you should get something like this: https://i.imgur.com/KHtqONp.png

    Best,
    Ernest Marcinko

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


    #40447
    enomotoshota
    enomotoshota
    Participant

    Excellent! It’s done!

    Thank you very much.

    “No results!” is what I want to display, so I tried the following selector.

    #ajaxsearchprores9_1.horizontal .results .item, #ajaxsearchprores9_2.horizontal .results .item, div.asp_r.asp_r_9.horizontal .results .item{
    display: none;
    }

    How do I change the text “No results!”?
    I could not find it.

    Attachments:
    You must be logged in to view attached files.
    #40452
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You can change the text of that here: https://i.imgur.com/Tkx8WPa.png
    I hope this helps!

    Best,
    Ernest Marcinko

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


    #40460
    enomotoshota
    enomotoshota
    Participant

    Thank you very much.
    I got it.

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


Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.