• Hi,

    We’ve noticed that search results in the knowledgebase section don’t feature any pagination, so you only see as many results as are shown on each page in the main site search. The knowledgebase search doesn’t generate any pagination, so searches that should return lots of results only return 10 (or 5 if we use the default WordPress search). Is there any way around this or do you have any plans to add pagination to search in a future update? Thanks!

    -Jeff

    https://www.ads-software.com/plugins/wp-knowledgebase/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ah, that is pretty important. Doesn’t WP even do this by default? If you are doing the proper wp queries, i wouldn’t think this would be to hard to implement.

    Not with custom post types. The WP Knowledgebase plugin uses a custom post type, so pagination must be added.

    I was hoping that we can get a quick fix from the developer on this one… I know how to add pagination to custom post types. Usually, it’s no more than eight lines of code when using WP_Query. However, where the pagination would need to go in the kbe_search template, there’s an AJAX call instead of modified loop. Unfortunately, I’m not familiar enough with AJAX to know where to insert the appropriate parameters. Guidance on this is appreciated.

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Not a problem guys, I’ve added this to my tracker and will implement pagination for search results at next major release. Thanks for pointing it out.

    Thread Starter jeffimc

    (@jeffimc)

    Hi Maeve,

    Any updates on when this feature may be implemented? Also, do you have a spot for submitting any other feature ideas? One other thing our client is looking for is the ability to list article previews below their links on category pages. Thanks!

    daverod

    (@daverod)

    Hey Maeve,

    Have you considered integrating with WP-PageNavi for this functionality? They do a pretty good job of working with custom post types (I do this on another plugin).

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Cool, thanks @daverod I’ll check it out as an option.

    Just wondering, are there any updates on this topic? Further is there a way to paginate the entire Knowledgebase so that it doesn’t run down below the fold?

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    We’ve added it on our ToDo list: https://github.com/EnigmaWeb/wp-knowledgebase/issues/44

    But have been working on more pressing issues this last month. We’ll get to it as soon as we have a chance ??

    Thanks,
    Maeve

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Pagination of KB Search Results’ is closed to new replies.