This documentation is part of the Ultimate Member Widgets for Elementor plugin.
How to Use the User Directory Grid Widget

Pre-requisites
- WordPress 6.0+
- Elementor (Free or Pro)
- Ultimate Member
- Ultimate Member Widgets for Elementor
The User Directory Grid Widget is an Elementor widget designed to display Ultimate Member users in a customizable, responsive grid. It supports filters, AJAX search, pagination, custom meta fields, and extensive styling, ideal for member directories, team showcases, and community listings.
Key Features
- Responsive Grid Layout: Displays users in customizable grid columns (1-6)
- Advanced Filtering: Filter users by role, meta fields, and custom criteria
- Live Search: Real-time search functionality across user data
- Pagination: Multiple pagination styles (Numbers, Load More, Infinite Scroll)
- Custom Meta Fields: Display any Ultimate Member custom field
- AJAX Support: Dynamic content loading without page refresh
How to Add the User Directory Grid Widget
- Open Elementor editor. (Edit the page where you want to display the user directory.)
- In Elementor’s widget panel, search for “User Directory Grid.”
- Drag the widget into your page layout.
- Configure the Settings

Displaying Users with Advanced Meta Filters
- Open Elementor editor
- Search for “User Directory Grid”
- Go to the Advanced Filters tab
- Set Yes to Enable Advanced Filters
- Click on Add Item to select which custom field(s) to use as filters (e.g., department, city, skills)
This feature is ideal for creating searchable directories like job boards, community member lists, or service provider directories.

Displaying User Meta Fields
- Open Elementor editor
- Search for “User Directory Grid”
- Click on the User Fields tab
- Click on ‘Add Item’ to add the user meta fields from the fields dropdown.
You can reorder fields, change labels, and control visibility for a polished directory layout.

Technical Implementation (For Developers)
PHP Classes
- UM_ELEMENTOR_LIST_MODULE: Base widget controller
- UM_User_Meta_Renderer: Meta field renderer
- UM_User_Query_Builder: Query logic with filters
Key PHP Methods
- render(): Full HTML render logic
- get_filtered_users_with_pagination()
- render_user_grid()
- render_user_item()
CSS Classes
- .um-user-list-container,- .um-item-user,- .um-widget-member-holder
- .user-layout-spaced,- .um-custom-field-container
JavaScript
- File: assets/js/user-list.js
- Classes:
- UMUserList: Master controller
- StateManager,- AjaxManager,- FilterManager,- PaginationManager
 
- Handles live search, filter interaction, AJAX pagination
