=== Custom Name Cursor Badge ===
Contributors: ridhwanahsann
Author: ridhwanahsann
Tags: cursor, badge, mouse, animation, custom cursor
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight, modern WordPress plugin that adds a custom live cursor badge effect to your website.

== Description ==

Custom Name Cursor Badge allows you to add a floating badge that follows the mouse cursor smoothly. It's fully customizable from the WordPress admin panel and uses high-performance SVG and JavaScript.

= Features =
* Smooth cursor-follow animation using requestAnimationFrame.
* Modern pill-shaped SVG design with customizable colors and text.
* Live preview in the admin settings panel.
* Lightweight and performance-oriented (no jQuery dependency on frontend).
* Mobile-friendly (automatically disabled on small screens).

== Installation ==

1. Upload the `custom-name-cursor-badge` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure settings under 'Cursor Badge' in the admin menu.

== Frequently Asked Questions ==

= Does it affect site performance? =
No, it uses optimized JavaScript and CSS transforms to ensure smooth performance without blocking the main thread.

= Can I disable it on mobile? =
Yes, it is automatically hidden on mobile devices to ensure a clean user experience.

== Changelog ==

= 1.0.2 =
* Fixed cursor badge alignment to follow the mouse pointer more accurately.
* Fixed live preview positioning issue after page reload.
* Improved pointer hotspot positioning in both frontend and admin preview.
* Refreshed asset versions for cache busting.

= 1.0.1 =
* Fixed cursor positioning issue - badge now follows mouse cursor closely.
* Improved offset calculation for better alignment.
* Fixed admin preview positioning - badge now follows mouse instantly in preview.
* Restored smooth animation with easing effect.
* Fixed bug with undefined variable.

= 1.0.0 =
* Initial release.
