-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorting Team Members in Overview? #8
Comments
Hi @leeniu! Thanks for request, if you mean custom ordering for team members in listing - this feature is planned for one of next releases. Currently you can sort it by default WordPress order parameters. Just add 'orderby' attribute into shortcode. Possible values for this attribute you can find here - https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters |
I tried to edit some of the "order" values by using quick edit and entering numbers: 1,2,3,4,... and then tried to add orderby="menu_order" to the end of the sort code. |
I didn't get the order working too. I added the 'orderby' and the 'order' attributes like so: [cherry_team columns="2" columns_laptop="2" columns_tablet="2" columns_phone="1" posts_per_page="25" excerpt_length="20" more="false" more_url="#" ajax_more="true" pagination="false" show_name="true" show_photo="true" show_desc="true" show_position="true" show_social="true" show_filters="false" image_size="medium_large" template="default" use_space="true" use_rows_space="true" orderby="title" order="ASC"] |
Seems to be a good workaround here, until it's included in the shortcode. Worked for me so hope it helps others looking for similar solution. |
@MjHead, do we know what the status is on this and when this will be released? The "orderby" and "order" is not currently working. The workaround is decent, but will be erased if there is ever a plugin update. |
I am trying to hook into this query to make modifications to the order without directly editing the plugin. Does anyone have a solution for my problem outlined here? |
Hey guys, is there a way to sort the team members in an overview?
Here is the shortcode I am using to display all team members on one single page. We want to sort them:
[cherry_team columns="3" columns_laptop="2" columns_tablet="2" columns_phone="1" posts_per_page="100" excerpt_length="20" more="true" more_text="More" more_url="#" ajax_more="true" pagination="false" show_name="true" show_photo="true" show_desc="true" show_position="true" show_social="true" show_filters="false" image_size="450x450" template="default" use_space="true" use_rows_space="true"]
If not, take this as a feature request :)
Thanks and cheers
The text was updated successfully, but these errors were encountered: