Anybody?
Our custom field is club_company.
I have tried putting that in place of last_name,first_name in the code I found on this page: https://www.paidmembershipspro.com/customize-default-member-directory-sort-order/ but it generates an error “No matching profiles found”.
function pmpro_custom_directory_sql_parts( $parts ) {
$parts['ORDER'] = ' ORDER BY last_name,first_name ASC ';
return $parts;
}
add_filter( 'pmpro_member_directory_sql_parts', 'pmpro_custom_directory_sql_parts', 10, 1 );
I have also tried to change the standard shortcode via some of the items found on this page: https://www.paidmembershipspro.com/add-ons/member-directory/ so my shortcode has order="ASC" order_by="club_company" in it but that too generates the same error “No matching profiles found”.
Thank you for reaching out to Paid Memberships Pro.
We are not allowed to support non WordPress.org plugins/premium products on this support channel as it goes against the support guidelines – https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products
Please can you open a ticket on our website for assistance – https://www.paidmembershipspro.com/support
Thank you for understanding.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Good reply. And Andrew rightly said:
For pro or commercial product support please contact the developer directly on their site. This includes any pre-sales topics as well.
https://www.paidmembershipspro.com/support
As the developer is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.
Thanks for the response, I have submitted a ticket on the Paid Memberships Pro website.