laurajnash
asked 11 years ago

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?

amylong7
replied 10 years ago

Laura, How did you end up fixing this?

Jackie Lord
replied 10 years ago

@amylong7 : Do you have any problem? We can help you solve them.

amylong7
replied 10 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!

Dominic Staff
replied 10 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″]

amylong7
replied 10 years ago

Hi Dominic,

Unfortunately, that just removes my other team members, and only leaves one and does not center it. Any advice?

Dominic Staff
replied 10 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

2 Answers
DominicStaff
answered 11 years ago

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

laurajnash
replied 11 years ago

Unfortunately, this resulted in the following error message:

laurajnash
replied 11 years ago

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

laurajnash
replied 11 years ago

The site will no longer display with this error. Any tips on revising? I already replaced the “smart quotes” with apostrophes.

DominicStaff
answered 10 years ago

Hi Laurajnash !
Currently, Our DW Page does not yet support to  change the order of people in the Team page.

hellover
replied 10 years ago

So, it was good for me!
Ordering by ID now!
Thank you so much!

Powered by DW Question & Answer Pro