Support » Plugin: Simple User Listing » Pagination

  • Resolved bffnb




    1.I will display all my Users in a page with using the shortcode. But i have 600 users… Is there any pagination? I will show up 20 Users per page for example and then pagination buttons for page two and so on?

    Any way to achieve this with your plugin?

    2.How can i remove the search button, title and field above the listing of the users when showing up a list in a page with shortcode? I only need the list of the users…

    Thank you so much

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author helgatheviking


    Pagination is built in by default.

    Search is added to a hook so you can remove it the same way you’d remove any WordPress action. Adding the following to your functions.php

    function remove_sul_search(){
    	global $simple_user_listing;
    	remove_action( 'simple_user_listing_before_loop', array( $simple_user_listing, 'add_search' ) );
    add_action( 'init', 'remove_sul_search' );

    As an alternative you could use the template overrides described in the readme and simply load a blank search-author.php


    Great, thank so much for your fast response – and help!

    best regards

    Hi again!

    Pagination works great!

    it takes the number of “Blog pages show at most” under “Settings”-“Reading”
    and also the php code for the functions.php works fine 😉

    Awesome and simple! Thank you again!

    Plugin Author helgatheviking


    Yes, that is the default setting. You can change that in the shortcode with the number parameter.

    [userlist number="5"]


    Is there any chance to get a bit more detailed pagination?

    Actual patination is like <Previous Next>

    It would be nice to have something like <Previous 1 2 3 … N Next>

    Is it possible?

    Regards 🙂

    Plugin Author helgatheviking


    Yes, just install and activate WP Pagenavi

    Ok, I will see what is the best solution. My theme has already a navigation system integrated, so if I install WP Pagenavi, I will have to somehow disable the default navigation.

    Thank you 😉

    Plugin Author helgatheviking


    You are free to customize the navigation HTML however you’d like. See the FAQ section on How Can I Customize the HTML/text. In theory you should be able to make it match your theme, but I can’t help you with that.


    Are you still reccomending the wp-navi plug in?

    I’ve been looking into other ways to to this, but none of the other code seems to be working.

    The WP-NAVI plugin seems to have a lot of negative comments – i.e. other things break, etc.

    Is there any other way you’d suggest the pagination?

    I’ll probably give the plugin a try in the meantime.



    Plugin Author helgatheviking


    SUL has basic WordPress-style navigation built in, so WP PageNavi is supported but not required. I’ve not really heard much about problems with WP Pagenavi and do use it on my personal site. You could always custom-code your own pagination as SUL is meant to be very flexible.

    Thanks. I used the plugin you rec’d and it works perfectly.

    I hope that you continue with maintaining your plugin. It is excellent, and does what it should.

    It’s perfect that it is lightweight, minimal load and not too much.

    Thanks! Excellent work.


    Plugin Author helgatheviking


    Thanks Adam. I’m planning on maintaining it, bugfixes as needed, etc, but it is certainly not undergoing “active” feature development. It is up on github so I’m open to pull requests. But keeping it kind of lean and focused keeps the support issues down which is very important for a plugin that generates zero revenue.

    I understand that you can’t pour time into a zero revenue plug in, but it would be a shame to have so many people use & love it and then have it break later – especialy if it is getting you attention.

    Then again, when it is not worth it, or impossible due to time constraints – well, I’ve been there too!

    Lean & focused is super, as long as it does it’s one job right – and not 10 jobs sort of right.

    Thanks again!

    Plugin Author helgatheviking


    I haven’t touched it in months and it still seems to be working fine, so here’s hoping that it will continue to do so. There really isn’t a lot going on in the plugin so it shouldn’t break terribly unless WP radically alters the User Query class, but at the moment I have every intention of keeping it functioning in case it does.

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