Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Change default sort order to "Last Name: Ascending" in eMember Profile Extended

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Change default sort order to "Last Name: Ascending" in eMember Profile Extended

Tagged: directory

  • This topic has 12 replies, 4 voices, and was last updated 4 years, 5 months ago by ADFP.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • October 23, 2015 at 6:25 pm #13204
    Linda Bell
    Participant

    How can I change the default sort order on our Membership Directory page to Last Name (ascending)?

    This is my shortcode: [emember_extended_summary_list fields=”last_name,first_name,phone,website”]

    October 23, 2015 at 6:34 pm #71708
    Linda Bell
    Participant

    Also, when someone clicks DETAILS is there a way to hide the Membership Directory when it opens on a (new) page so you don’t have to scroll all the way to the bottom of the page to see their information? It would be nice if it showed that Member’s info only.

    October 24, 2015 at 1:36 am #71709
    admin
    Keymaster

    You can create a link like the following which will sort the list by last name.

    [http://example.com/member-directory/?orderby=last_name&order=asc]

    When users click on this link to go to this page, they will see the sorted list.

    The details page should open in a NEW Page (not the same page). You have a listing page and then you have a details page (they are 2 different pages). So I am not sure what you are talking about regarding the scrolling.

    October 24, 2015 at 4:00 pm #71710
    Linda Bell
    Participant

    That workaround solution (using a link) would work if the Details page only displayed the Member’s details. However…

    The Details page displays the names in the original sort order again (based on the order in which their accounts were created, rather than by last name) and you must scroll to the bottom of that page to see the member’s details.

    October 24, 2015 at 10:51 pm #71711
    admin
    Keymaster

    The details page shows the details of ONE member only (the one you are viewing) so I am not sure how that can happen.

    Let me check your pages.

    1) Share the URL of the member list page (the page you created according to step 7).

    2) Share the URL Of the details page (the page you created according to step 1).

    October 25, 2015 at 4:25 pm #71712
    Linda Bell
    Participant

    Thank you for your assistance!

    I’m not sure what you mean by step 7 and step 1…

    Here’s the Member list page: [http://www.asmac.org/membership-directory/]

    Here’s the Member list page, sorted by last name, ascending: [http://www.asmac.org/membership-directory/?orderby=last_name&order=asc]

    When you click on a member’s “Details” it displays the entire directory again – on a new page, in the default sort order – and the member’s detail is at the bottom of the page.

    Did I configure something incorrectly? Is there a way to show just the member’s details on the Details page?

    FYI: I am using the eMember Form Builder and eMembers Profile Extended addons together to create this directory.

    October 25, 2015 at 11:30 pm #71713
    admin
    Keymaster

    That’s wrong setup which is why you are having this problem.

    What is the first thing you see when you go to the profile extended admin menu? You will see a section called “Usage Instruction”. It has 8 steps. Please follow those steps to setup the addon correctly.

    The same steps are outlined in the documentation of this addon also:

    https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-profile-display-extended-addon-599

    October 27, 2015 at 4:04 am #71714
    Linda Bell
    Participant

    Aha! I had both shortcodes (Member List and Member Details) on the same page. Thank you for the assistance!

    January 13, 2021 at 8:39 am #82280
    ADFP

    I know this is old, but I did not want to open the same question as a new topic. I read this answer:

    You can create a link like the following which will sort the list by last name.

    [http://example.com/member-directory/?orderby=last_name&order=asc]

    When users click on this link to go to this page, they will see the sorted list.

    I need this as a menu item not just a link. I have tried adding the link to my menu as a custom link, but it is not working. How can I do this as a menu item? I want the directory listed in ascending order by last name.

    January 13, 2021 at 5:11 pm #82282
    wzp
    Moderator

    What theme or menu plugin are you using?

    January 13, 2021 at 6:34 pm #82292
    admin
    Keymaster

    A custom link in your menu item should work fine. It is just a URL. What happens when you click on that link in the menu?

    January 13, 2021 at 6:46 pm #82294
    ADFP

    I am using Astra Theme. When I click on the link in the menu the URL has turned to this: https://divorcefinancialplanner.org/member-directory-2/orderby=last_name&order=asc/ Notice that the ? in front of “orderby” is removed.

    January 14, 2021 at 7:32 am #82295
    ADFP

    Looks like I got it to work with a redirect to the right URL.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ