Our Team is displaying in alphabetical order, but we have some owners of the company that should be listed first. How can I change the order of the listing? Is it alphabetical by first name always, or can I alter this by changing the admin user name?
Hello Laurajnash !
You can try this solution:
– Open the file shortcodes.php / line 423
– Replace the following code:
$users = get_users();
with new code:
$users = get_users( array(
‘orderby’ => ‘login’,
‘order’ => ‘ASC’,
) );
Which:
orderby – Sort by ‘ID’, ‘login’, ‘nicename’, ’email’, ‘url’, ‘registered’, ‘display_name’, or ‘post_count’.
order – ASC (ascending) or DESC (descending).
Hope this helps!
Regards,
Dominic
Unfortunately, this resulted in the following error message:
Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/content/57/11119857/html/wp-content/themes/dw-page-solid-sta/inc/shortcodes.php on line 417
The site will no longer display with this error. Any tips on revising? I already replaced the “smart quotes” with apostrophes.
Hi Laurajnash !
Currently, Our DW Page does not yet support to change the order of people in the Team page.
So, it was good for me!
Ordering by ID now!
Thank you so much!
Please login or Register to submit your answer
replied 11 years ago
Laura, How did you end up fixing this?
replied 11 years ago
@amylong7 : Do you have any problem? We can help you solve them.
replied 11 years ago
Yes! I tried the solution below, but as Laura said, too, that did not work for me.
I also need to center the team section and the services we have listed in our “About Us” section.
Thank you!
replied 11 years ago
Currently, Our DW Page does not yet support to change the order of people in the Team page.
– To center the team section in your site, You can log in to Dashboard > Pages > open the Team page, then change the column in the shortcode: col=”3″
As our demo:
[onepage_ourteam include=”1,2,5 ” exclude=” ” col=”3″]
replied 11 years ago
Hi Dominic,
Unfortunately, that just removes my other team members, and only leaves one and does not center it. Any advice?
replied 11 years ago
I have checked your site. Please update the WP 3.8.1,
After updating the latest version of WP, You can find use the “Team / Blog / testimonials / Clients” on the Mcetoolbar.
See the screenshot: http://imgur.com/NrWRFHG