Profile Tabs Setup

This document provides instructions on how to configure and use the extension Profile tabs that adds custom tabs to the profile.

Installing & activating #

To add the Profile Tabs extension to your site please do the following:

  1. Download the plugin zip folder from here.
  2. Install the plugin by uploading it to your site by going to wp-admin > Plugins > Add new > Upload plugin.
  3. On the upload plugin page click on the “choose file” button and select the Profile Tabs zip folder from your computer.
  4. Once the file um-profile-tabs.zip appears on the screen click the “Install now” button to install the plugin.
  5. Wait until the “Plugin installed successfully” message appears.
  6. Click the “Activate plugin” link to complete the activation.

Custom profile tabs#

Profile Tabs list #

Navigate to the page wp-admin > Ultimate Member > Profile Tabs to see existing custom profile tabs.

Image - The Profile Tabs table

Create custom profile tab #

Click the Add New button on wp-admin > Ultimate Member > Profile Tabs to create a new profile tab.

Profile tab settings #

When creating or editing tabs, you have the opportunity to change the following settings:

  • Title - Set the title of the custom tab (profile menu item).
  • Content - Set the content of the custom tab. You can put here text, HTML, and shortcodes (except account shortcode).
  • Display Settings:
    • Show on these roles profiles - Select user roles, in whose profiles you want to display the tab. If empty, the tab is visible for all roles in their profiles.
    • Show on these profiles forms - Select the profile forms in which you want to display the tab. If empty, the tab is visible for all profiles.
  • Customize this tab:
    • Icon - Allows you to change the tab icon.
    • Link type - Allows you to set an external link for the profile tab. There are two types of tab links:
      • Internal with a slug (classic case) 
      • External with a link with target="_blank" attribute and Remote Link option to specify the external link.
    • Slug - Allows you to customize the internal profile tab slug.
  • Pre-defined content:
    • Custom Profile Form - This allows you to display additional profile forms in the tab.

Slug #

The Slug setting defines what you'll see in the profiletab parameter of the tab URL.

Custom Profile Form #

The Custom Profile Form setting can be used to embed additional profile form to the tab. See also Profile tab with a form inside.

Image - How to create profile tab with embedded additional form.

Profile Tab Content #

You can use placeholders to show dynamic content at the User Profile custom tab.

  • {profile_id} - User Profile ID
  • {first_name} - First Name
  • {last_name} - Last Name
  • {user_email} - User Email
  • {display_name} - Display Name

Customize tabs visibility, display order, titles #

The extension adds visibility settings for custom profile tabs and the Profile Tabs Order tool to the screen wp-admin > Ultimate Member > Settings > Appearance > Profile Menu.

You can customize the custom tabs visibility. You can set the custom tab as the default tab.

You can use the Profile Tabs Order tool to edit the tabs display order and change predefined profile tabs titles. Custom profile tabs titles are defined by the Title field in the tab settings and can't be changed.

Image - Settings on the screen wp-admin > Ultimate Member > Settings > Appearance > Profile Menu

The Profile Tabs Order tool overrides predefined tab titles. This may be undesirable when using multilingual. Use a code snippet below to disable this feature and use titles from language files. Just add this code to the functions.php file in the active theme.

if ( defined( 'um_profile_tabs_version' ) ) {
	remove_filter( 'um_user_profile_tabs', array( UM()->Profile_Tabs()->profile(), 'profile_tabs_titles' ), 9999999 );
}