1. Home
  2. Team Manager
  3. How to Change the Order of Team Members in WordPress

How to Change the Order of Team Members in WordPress

By default WP Team Manager shows members in the order set by the layout you use. If you want a fixed order (for example the CEO first, then the directors, then everyone else), give each member an order number and tell the layout to sort by that number.

This guide covers three things: giving each member an order number, telling your layout to use it (shortcode, Gutenberg block or Elementor), and the other ways to sort.

Step 1: Give each member an order number

  1. Go to Team in the WordPress dashboard and open the member you want to move.
  2. In the editor sidebar, open the Page Attributes panel and find the Order field. The Team post type supports page attributes, so this is the standard WordPress order field.
  3. Type a number. Lower numbers show first: 1 comes before 2, and 2 comes before 10.
  4. Click Update.
  5. Repeat for the other members.

Tip: number in steps of 10 (10, 20, 30). Later you can slot someone between two people (25) without renumbering everyone.

Give every member their own number. If two members share a number, WordPress decides between them.

Step 2: Tell your layout to sort by that number

Setting the number does nothing until the layout is told to sort by it. The setting is called Custom Order or Menu order, depending on where you are. It uses the order numbers from step 1.

If you use the Team Generator (shortcode)

  1. Go to Team > Team Generator and open your layout (or create one).
  2. Find Sort By and choose Custom Order (Drag & Drop). This sorts by the order numbers you set on each member.
  3. Under Sort Direction choose Ascending (the default). This puts the lowest number first.
  4. Save, and keep using the same shortcode on your page.

If you write the team_manager shortcode by hand, add orderby="menu_order". This is also its default value:

[team_manager orderby="menu_order"]

Other values for orderby are title, date, modified, rand and ID.

If you use the Gutenberg block

The Team block sorts by menu order by default, so members follow the numbers from step 1. If the order looks wrong, open the block settings and check that its order setting has not been changed to something else.

If you use the Elementor widget

  1. Edit the page with Elementor and click the Team Layouts widget. The filterable version is called Team Isotope Layout and is part of Pro.
  2. In the Content tab, open the Query section.
  3. Set Order By to Menu order.
  4. Set Order to ASC. The widget’s default is DESC, which would put the highest number first.
  5. Click Update.

The Elementor widget’s default is Date, newest first, so a new member appears first until you change this.

Other ways to sort

You wantOrder By settingDirection
Your own orderMenu order / Custom OrderAscending
Alphabetical by name (A to Z)TitleAscending
Newest member firstDateDescending
Recently edited firstModified / Last modified dateDescending
A different order on each visitRandom (shortcode and Team Generator)not used

Alphabetical sorting uses the member’s title, which is the name field, so it sorts by the whole name as typed. “Anna Smith” comes before “Bob Adams” even if you want to sort by last name. The plugin has no sort-by-last-name setting. To get that order, give each member an order number instead.

Common problems

I set the numbers but nothing changed. Check that the layout is set to sort by Menu order (or Custom Order). Then clear the cache of your cache plugin and of Elementor (Elementor > Tools > Regenerate CSS & Data).

The newest member always appears first. The layout is sorting by Date. Change the sort setting to Menu order.

The order is reversed. Change the direction to Ascending, so the lowest number comes first.

Related guides

How can we help?