Create WordPress login form in the frontend with ThemeMyLogin

Many WordPress installations are no longer only used for blogs, but for complex web offers such as online shops, membership pages or communities with bbPress forum.

The commonality of such websites is that in addition to the operator of the website, numerous other users have a WordPress account. However, the WordPress login is quite ugly away from the actual page and not integrated in the theme. Furthermore, the users should not necessarily get to see the WordPress backend and should only stay in the frontend of the page.

Here it is advisable to create an extra login page in the frontend and also to provide functions such as registration and forgetting the password. On OneTheme.com, I use the My Login theme plugin, which works extremely well and which I would like to briefly introduce here.

Installation and initial configuration of the plugin

The plugin theme My Login is available for download in the WordPress.org plugin directory. After installation and activation, the plugin independently provides several static pages for logging in, forgetting the password function and registering.

This means that the plugin in its basic function works immediately and is ready for use. For the registration page it must be noted that the user registration is also activated in the general WordPress settings.

As a result, we get a nice login form directly in the frontend without any configuration.

themezee login page

Own styling with CSS

In order to be able to adapt the forms to the styling of the theme even more precisely, the option Enable “theme-my-login.css” can be selected in the plugin settings. With this a new file theme-my-login.css can be created in the theme directory, which contains all CSS styles for the forms of the plugin. Theme My Login then automatically integrates this CSS file on all required pages.

Integration of the forms via shortcode

If you don't like the automatically created pages, you can delete them and create your own pages instead. The login, password and registration forms can be easily integrated into the page using a shortcode.

The [theme-my-login] shortcode supports numerous parameters and, with its flexibility, leaves nothing to be desired. An overview of all parameters can be found in the documentation for Theme My Login .

Extend functionality with modules

While Theme My Login scores with its simple installation and configuration and works practically immediately after activation, additional functionalities can be activated with the help of modules.

This combination of simplicity and flexibility makes the plugin just awesome for me. The settings remain minimal, and additional settings and features are only added by activating a module.

tml-modules

For example, form checking with AJAX, custom email templates, forwarding to certain pages after login / logout, security modules such as Captcha spam protection and much more can be added as required.

Documentation of Theme My Login

The detailed documentation of Theme My Login , which even provides instructions for web developers on expanding the plug-in, is also exemplary.

Conclusion from Theme My Login

After years of use without any major problems, I can recommend the plugin without reservation. It works without a large configuration and is nevertheless powerful and flexible in use thanks to the many modules.