=== EasyWP Custom Login Status ===
Contributors: life8882
Author URI: https://life8882.com
Plugin URI: https://life8882.com/plugins/easywp-custom-login-status/
Tags: login status, user login, front-end user, responsive design, wordpress login, user profile
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display user login status at the top of your WordPress front-end. Show login/register links for guests and username/profile/logout for logged-in users, with responsive design support.

== Description ==
EasyWP Custom Login Status is a lightweight and practical WordPress plugin that adds an elegant login status bar to the top of your website's front-end. It dynamically switches content based on the user's login status, requiring no complex configuration—just activate and use.

### Core Features
1. **Dynamic Login Status Display**
   - For guests: Shows "Login" and "Register" shortcuts that link directly to WordPress default login/registration pages
   - For logged-in users: Displays "Hello, [Username]" (username links to profile edit page) + "Logout" link (redirects to homepage after logout)
2. **Elegant Responsive Design**
   - Built-in gray background style with bottom border accent, content adapts to center/right alignment
   - Mobile optimization (screen ≤ 768px): Automatically adjusts font size, padding, and centers content
   - Hover effects: Highlight for login/register links, darker background for logout button on hover
3. **Lightweight & Non-Redundant**
   - Class-based architecture to avoid global variable pollution
   - Loads via WordPress native hooks without consuming extra server resources
   - No additional database operations—activates instantly with zero manual setup

== Installation ==
1. Download the plugin zip file
2. Log in to your WordPress admin dashboard, go to "Plugins" → "Add New" → "Upload Plugin", select the downloaded zip file
3. After upload completes, click "Activate Plugin"
4. The plugin takes effect immediately—check the top of your website's front-end for the login status bar

== Usage ==
1. Once activated, the login status bar is automatically rendered at the top of the front-end
2. Guest users can click "Login" or "Register" to access the corresponding pages
3. Logged-in users can click their username to enter the profile edit page, and click "Logout" to exit and return to the homepage
4. No manual code modifications required—built-in styles are compatible with most themes

== Frequently Asked Questions ==
Q: What if the plugin style conflicts with my theme?
A: The plugin's styles are loaded via built-in CSS. If conflicts occur, you can override the corresponding style classes (.custom-login-status-bar, .login-status-container, etc.) in your theme's custom CSS.

Q: Can I modify the destination of login/register links?
A: Currently, the plugin links to WordPress native login/registration pages by default. To customize the links, modify the login/registration URLs in the plugin code.

Q: How to hide the status bar?
A: Simply deactivate the plugin in WordPress admin "Plugins" section.

== Changelog ==
= 1.0 =
- Initial release
- Implemented dynamic front-end login status display
- Built-in responsive styles for desktop and mobile devices
- Class-based design with WordPress native hook integration