=== Risolnet Login ===
Contributors: drisolo
Tags: login, menu, navigation, shortcode, frontend login
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a compact login form to a WordPress menu or anywhere that accepts a shortcode.

== Description ==

Risolnet Login uses the native WordPress authentication form and can:

* insert itself automatically into a menu location selected by an administrator;
* align to the right or behave like a regular menu item;
* display the full form, a single login link, or nothing on smaller screens;
* customize the field width, responsive breakpoint, labels, and destination URLs;
* work in page builders and block themes through the `[risolnet_login]` shortcode;
* display Account area and Log out links when the visitor is authenticated.

Use a custom destination after a successful login:

`[risolnet_login redirect="/members/"]`

The original `[risolnet_wp_login]` shortcode remains available for backward compatibility.

== Installation ==

1. Upload the plugin directory to `/wp-content/plugins/`, or install the ZIP from Plugins > Add New Plugin > Upload Plugin.
2. Activate Risolnet Login.
3. Open Settings > Risolnet Login.
4. Select a menu location, or disable automatic insertion and use the shortcode.

== Frequently Asked Questions ==

= Does it work with every theme? =

Automatic insertion works with themes that use classic WordPress menus. The shortcode is available for block themes and page builders. The final appearance may be affected by the active theme's styles.

= Does the plugin store passwords? =

No. The form submits credentials directly to the standard WordPress authentication system. Sites displaying a login form should use HTTPS.

= What happens if I change themes? =

Open the plugin settings again and select a menu location registered by the new theme. Alternatively, use the shortcode.

== Changelog ==

= 1.0.7 =
* Corrected the case-sensitive WordPress.org contributor username to `drisolo`.

= 1.0.6 =
* Renamed the plugin to Risolnet Login and changed its directory slug to `risolnet-login` to comply with WordPress.org naming requirements.
* Added the `[risolnet_login]` shortcode while retaining `[risolnet_wp_login]` for backward compatibility.
* Added automatic migration of settings saved by earlier versions.

= 1.0.5 =
* Prepared the plugin metadata for the WordPress.org Plugin Directory.
* Updated the WordPress.org contributor username and compatibility information.
* Relied on WordPress.org language packs for automatic translation loading.

= 1.0.4 =
* Kept the authenticated Account and Log out links on one compact horizontal row when themes force menu links to display as full-width blocks.

= 1.0.3 =
* Ensured that the Right alignment option overrides themes that force all navigation items to float left.

= 1.0.2 =
* Translated the plugin description, settings page, admin links, and default front-end labels into English.
* Added a migration for legacy Italian default labels without overwriting customized labels.

= 1.0.1 =
* Prevented theme styles from displaying the mobile login link together with the desktop form button.

= 1.0.0 =
* First public-ready version.
* Added automatic insertion into classic menus.
* Added shortcode support for page builders and block themes.
* Added layout, responsive behavior, label, and redirect settings.
