• Resolved tgaff2x

    (@tgaff2x)


    When I enable the “infinite scroll” option, the display of “Showing x to y results out of z” disappears. I understand that.

    If “infinite scroll” is enabled (or even without) can you add an Admin option to have an alternate display of “X items found” or something similar that would replace the “showing x to y” , so that we can at least show the user the quantity retrieved so they know if it’s worth scrolling (and how long they’ll be scrolling).

    https://www.ads-software.com/plugins/wpsolr-search-engine/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter tgaff2x

    (@tgaff2x)

    Actually, I can kind of get there on my own but it’s a bit hacky. I did:

    1. Enabled the infinite scroll option
    2. Changed the localization text to %s Item(s) Found
    3. added custom css on .res_info { display: inline !important; }

    So, I can live with this but I still think it’d be nice to have an easier way for people using the infinite scroll option

    Thread Starter tgaff2x

    (@tgaff2x)

    Spoke too soon, didn’t realize the formatting of the localization string.

    wound up changing the localization text to something like
    <span style-“display:none;”>%d %d</span>%d Item(s) Found

    so yeah – hoping you have a better approach as that’s a bit ugly.

    Plugin Author WPSolr free

    (@wpsolr)

    Replacing the

    “Loading …”

    localization by

    “Showing %d to %d results out of %d” ?

    would be better ?

    Thread Starter tgaff2x

    (@tgaff2x)

    That’s be nice, too… but it doesn’t accomplish what I’m really looking for.

    I’m looking specifically to just display by default the total # of documents found at the top of the list, before any scrolling takes place.

    Plugin Author WPSolr free

    (@wpsolr)

    Done in WPSOLR 8.4

    Thread Starter tgaff2x

    (@tgaff2x)

    Looks good, thanks!

    Plugin Author WPSolr free

    (@wpsolr)

    ok

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘# results w/ infinite scroll’ is closed to new replies.