Advanced Tab: Override Templates
Overview
In Ultimate Member, overriding templates allow you to customize the appearance and functionality of user profiles, registration forms, and other elements without modifying the plugin's core files. When you override a template, you create a custom version of the template file in your theme or child theme, which takes precedence over the default template provided by the plugin. Go to wp-admin> Ultimate Member> Settings> Advanced Tab> Override Templates to configure its settings.
Why Override Templates?
- Maintain Compatibility: By overriding templates, you can ensure that your customizations remain compatible with future updates of Ultimate Member.
- Preserve Customizations: Customizing templates in this way helps preserve your changes during plugin updates, as your modifications are stored in your theme directory.
- Tailor User Experience: Override templates to tailor the user experience on your site, creating a unique look and feel that aligns with your brand.
Settings
Re-check Templates button
The "Re-check templates" button in override templates allows you to manually check for updates to the template files. When you click this button, the plugin will re-scan the template files and compare them to the latest version provided by the plugin. This helps you ensure that your customizations remain compatible with the latest version of Ultimate Member.
By rechecking templates manually, you can stay informed about any changes or updates to the template files and take action to update your custom templates as needed. This helps you maintain a smooth and consistent user experience on your site, even as the plugin is updated with new features and improvements.
Override Templates Table
This table provides information about the versions of certain template files used by the Ultimate Member plugin, comparing the versions in the plugin's core with the versions in your theme. It helps you track the versions of overridden template files in your theme compared to the versions in the plugin's core files, allowing you to manage compatibility and updates more effectively. Here's what each column represents:
Template
This column indicates the name or type of the template file being referenced.
Core version
This column shows the version of the template file that is included in the Ultimate Member plugin's core files.
Theme version
This column shows the version of the template file that is currently in use in your theme. This version may differ from the core version if you have overridden the template file in your theme to customize its appearance or functionality.
Status
This column provides a status update regarding the compatibility of the theme version with the core version.
For example:
- "Theme version is out of date" indicates that the version of the template file in your theme is older than the version in the plugin's core files and may need to be updated to ensure compatibility.
- "Theme version up to date" indicates that the version of the template file in your theme matches the version in the plugin's core files and is up to date.
Deprecated Articles: Older articles have been moved to the Deprecated category and may no longer be relevant due to recent updates in Ultimate Member. However, they remain available for historical reference.
For the previous version of the Advanced Tab documentation, you can view the old article here. Please note that it may contain outdated information that has since been updated.