• Resolved nikkismith

    (@nikkismith)


    Hello, is it possible to turn off the pagination in this plugin and display ALL users on the same page? We have about 80 users that we want to display in a simple list of names, all visible at once, but it currently gets broken out into multiple pages.

    Is there a custom function I can add or a setting I can change that will accomplish this?

    Bonus question, we would like to break the list into three columns, if possible.

    Thank you for your assistance!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nikkismith

    (@nikkismith)

    UPDATE: I have resolved the second question, breaking the list into three responsive columns.

    I still need help displaying ALL of the users on the same page without breaking it into multiple pages.

    Thread Starter nikkismith

    (@nikkismith)

    UPDATE: It looks like the paging is based on the setting in the WordPress Dashboard’s “Reading > Blog pages show at most” field. I can temporarily set this to a high value for now, but ideally I’d like to turn off the pagination just for this plugin/shortcode and not for the blog posts, etc., elsewhere in WordPress.

    Thanks for any assistance/guidance you can provide…

    Plugin Author HelgaTheViking

    (@helgatheviking)

    The reading setting is the default for when no “number” parameter is passed in the shortcode.

    You need to use [userlist number="-1"] (or perhaps [userlist number="0"] I don’t quite remember).

    Please see this section of the FAQ for the parameters supported. Also the documentation on WP_User_Query may be useful since SUL is built on top of WP_User_Query and uses all the same parameters.

    Thread Starter nikkismith

    (@nikkismith)

    Perfect! Thank you. I knew it was something simple I was missing.

    Yes, number=”0″ did the trick.

    Thanks!

    Thread Starter nikkismith

    (@nikkismith)

    EDIT: (For anyone reading this in the future)

    number=”0″ showed all users, AND the (unnecessary) pagination.

    number=”-1″ showed all users WITHOUT the pagination.

    This works:

    [userlist number=”-1″]

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Glad that worked. Thanks for clarifying the difference between 0 and -1.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘All users on ONE page – no pagination’ is closed to new replies.