Template structure & Overriding templates via a theme

Overview

Ultimate Member template files contain the markup and template structure for frontend and HTML emails of your site's membership panel.

When you open these files, you will notice they all contain hooks that allow you to add/move content without needing to edit template files themselves. This method protects against upgrade issues, as the template files can be left completely untouched.

Template files can be found within the ultimate-member/templates directory:

How to Edit Files

Edit files in an  upgrade-safe way using overrides. Copy the template into a directory within your theme named /ultimate-member keeping the same file structure but removing the /templates/ subdirectory.

Example: To override the member directory base template, copy: wp-content/plugins/ultimate-member/templates/members.php to wp-content/themes/yourtheme/ultimate-member/members.php

The copied file will now override the Ultimate Member default template file.

Warning: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

Note: We recommend using child-theme, which hasn't dependencies with official themes repo and all your custom files cannot be rewritten after a theme upgrade.

Templates Map

Plugin Path Template File
Ultimate Member core wp-content/themes/{active_theme}/ultimate-member/ members-header.php
members-pagination.php
members-grid.php
members-list.php
members.php
login-to-view.php
searchform.php
profile/post-single.php
profile/comments-single.php
profile/posts.php
profile/comments.php
bbPress wp-content/themes/{active_theme}/ultimate-member/um-bbpress favorites.php
replies.php
replies-single.php
subscriptions.php
topics.php
topics-single.php
Followers wp-content/themes/{active_theme}/ultimate-member/um-followers email/new_follower.php
followers.php
followers-mini.php
following.php
following-mini.php
Friends wp-content/themes/{active_theme}/ultimate-member/um-friends email/new_friend.php
email/new_friend_request.php
account-notifications.php
friends.php
friends-bar.php
friends-mini.php
Groups wp-content/themes/{active_theme}/ultimate-member/um-groups/directory directory.php
directory_confirm.php
directory_search.php
directory_tabs.php
wp-content/themes/{active_theme}/ultimate-member/um-groups/discussion/html new-follow.php
new-gform.php
new-gform-submission.php
new-group.php
new-post.php
new-product.php
new-topic.php
new-user.php
wp-content/themes/{active_theme}/ultimate-member/um-groups/discussion clone.php
comment.php
comment-reply.php
comments.php
likes.php
new.php
trending.php
user-wall.php
wp-content/themes/{active_theme}/ultimate-member/um-groups/email groups_approve_member.php
groups_invite_member.php
groups_join_request.php
groups_new_comment.php
groups_new_post.php
wp-content/themes/{active_theme}/ultimate-member/um-groups/tabs avatar.php
blocked.php
create.php
delete.php
discussions.php
invites.php
members.php
requests.php
single-group-tabs.php
wp-content/themes/{active_theme}/ultimate-member/um-groups create-group-form.php
groups-list.php
invite-list.php
latest_comments.php
list.php
list-users.php
list-users-search-form.php
own.php
single.php
Instagram wp-content/themes/{active_theme}/ultimate-member/um-instagram field-edit.php
field-view.php
nav.php
paginate.php
user-details.php
user-photos.php
MailChimp wp-content/themes/{active_theme}/ultimate-member/um-mailchimp account_email_newsletters.php
Private Messages wp-content/themes/{active_theme}/ultimate-member/um-messaging email/new_message.php
email/new_message_reminder.php
account_notification.php
account_privacy.php
button.php
conversation.php
conversations.php
emoji.php
message.php
myCRED wp-content/themes/{active_theme}/ultimate-member/um-mycred account_points.php
badges.php
rank_bar.php
Notices wp-content/themes/{active_theme}/ultimate-member/um-notices notice.php
shortcode.php
Real-Time Notifications wp-content/themes/{active_theme}/ultimate-member/um-notifications account_webnotifications.php
feed.php
no-notifications.php
notifications.php
notifications-list.php
notifications_button.php
Online Users wp-content/themes/{active_theme}/ultimate-member/um-online nobody.php
online.php
online-marker.php
online-text.php
Profile Completeness wp-content/themes/{active_theme}/ultimate-member/um-profile-completeness completeness-bar.php
completeness-popup.php
widget.php
Google Recaptcha wp-content/themes/{active_theme}/ultimate-member/um-recaptcha captcha.php
captcha_v3.php
User Reviews wp-content/themes/{active_theme}/ultimate-member/um-reviews email/review_notice.php
member-rating.php
reply-add.php
reply-edit.php
reply-front-actions.php
reply-list.php
review-add.php
review-detail.php
review-edit.php
review-front-actions.php
review-list.php
review-my.php
review-none.php
review-overview.php
review-widget.php
Social Activity wp-content/themes/{active_theme}/ultimate-member/um-social-activity/html new-follow.php
new-gform.php
new-gform-submission.php
new-group.php
new-post.php
new-product.php
new-topic.php
new-user.php
wp-content/themes/{active_theme}/ultimate-member/um-social-activity clone.php
comment.php
comment-reply.php
comments.php
edit-post.php
likes.php
new.php
trending.php
user-wall.php
Social Login wp-content/themes/{active_theme}/ultimate-member/um-social-login buttons.php
form.php
pre-loader-form.php
Terms & Conditions wp-content/themes/{active_theme}/ultimate-member/um-terms-conditions um-terms-conditions-public-display.php
Unsplash wp-content/themes/{active_theme}/ultimate-member/um-unsplash modal.php
photo_attribution.php
User Bookmarks wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/buttons add.php
remove.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/profile/edit-folder form.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/profile/folder-view/folder folder-info.php
title.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/profile/folder-view add-folder.php
folder.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/profile/single-folder bookmark-item.php
dropdown.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks/profile bookmarks.php
edit-folder.php
folder-view.php
single-folder.php
wp-content/themes/{active_theme}/ultimate-member/um-user-bookmarks modal.php
select-folder.php
User Photos wp-content/themes/{active_theme}/ultimate-member/um-user-photos/email new_album.php
wp-content/themes/{active_theme}/ultimate-member/um-user-photos/modal add-album.php
delete-album.php
delete-comment.php
edit-album.php
edit-comment.php
edit-image.php
likes.php
modal.php
wp-content/themes/{active_theme}/ultimate-member/um-user-photos/social-activity new-album.php
wp-content/themes/{active_theme}/ultimate-member/um-user-photos album-block.php
album-head.php
caption.php
comment.php
comment-form.php
comments.php
gallery.php
gallery-head.php
photos.php
single-album.php
User Tags wp-content/themes/{active_theme}/ultimate-member/um-user-tags tags.php
tags-widget.php
Verified Users wp-content/themes/{active_theme}/ultimate-member/um-verified-users/email verification_request.php
verified_account.php
wp-content/themes/{active_theme}/ultimate-member/um-verified-users account_info.php
profile_info.php
verified-account.php
Woocommerce wp-content/themes/{active_theme}/ultimate-member/um-woocommerce my-purchases.php
order-popup.php
orders.php
product-reviews.php
subscription.php