How to reorder languages filter in Member Directory

You can customize the order of the languages listed in the Member Directory using the code example provided in this article. 


  1. You must add the Languages predefined field to the Profile or Registration form. Go to wp-admin>Ultimate Member> Forms> Edit the Profile or Register Form. Here's a separate article on how to add fields to a form.
  2. Go to wp-admin>Ultimate Member>Member Directories> Edit your Member Directory. Scroll down to the Search Options, "Enable Search feature," by clicking on the box beside it. In the Choose filter(s) meta to enable option to choose the Languages field from the dropdown menu. To save, click the update button on the upper right side of the page.

  3.  Check the Member Directory on your site. You can now see in the search filter the Languages. 

    Note: The languages that appear in the list are the languages only selected by the users.

  4.  Add the Code Snippet below to your theme's functions.php file, or use the Code Snippets plugin to reorder the languages filter. In the code example, Dutch is at the first level:

Warning: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we need help to provide support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.