Home Forums Plugin Support WP User Frontend Pro User Listing

This topic is: not resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  towhid 3 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39586

    Jakob Poulsen
    Member
    Post count: 1

    Hi

    I'm trying to use the User Listen plugin as a contact list of registred users.
    …and I'm not very experienced in PHP code.

    But I can't figure out how to change the order of entries.
    I need to sort the list after the profiles first names.
    How can i do that?

    I can't see any settings to change the order.
    And i couldn't find anything usefull in the code.

    How can I change the order of the profiles first names to allways go from A to Z?

    Thanx
    Jakob :o)

    #39644

    towhid
    Participant
    Post count: 4505

    Hello Jakob,

    I can see the user listing add-on displaying the user list an ascending order(A to Z). Whatever if you want to customize anything the user-listing please open wedevs-wpuf-profile-field/userlisting.php and find wpuf_user_listing_init this function. This function manages user listing. Please check that code. Hope that will help you.

    Thank you 🙂

    #39671

    Jakob Poulsen
    Member
    Post count: 1

    Thanks :o)

    I will look in to it soon at give you some feedback.
    I hope it can give my an idéa what to do.

    You don't have a script that i could add to the code secure that the sorting is A-Z by the first name?

    Jakob :o)

    #39676

    towhid
    Participant
    Post count: 4505

    Hello Jakob,

    I have given you file name and function name and please look into the code and try to understand how to customize based on your requirements. If you do not know how to code please hire a developer.

    Please let me know the result when done.

    Thank you 🙂

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

The topic ‘User Listing’ is closed to new replies.