=== LR Feedback ===
Contributors: logicrays, priteshm
Tags: feedback, popup, contact form, form shortcode
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a fixed feedback button that opens a popup and renders any form shortcode.

== Description ==

LR Feedback helps you collect user feedback using a simple popup UI.

Use your existing form plugin shortcode (for example Contact Form 7) and display it inside a popup that can be positioned on the left or right side of the screen.

= Features =

* Easy admin settings page.
* Add custom feedback title.
* Use any valid shortcode as popup content.
* Left or right fixed button position.
* Display anywhere with the `[LR_FEEDBACK]` shortcode.

== Installation ==

1. Upload the `lr-feedback` folder to the `/wp-content/plugins/` directory, or install the plugin through WordPress admin.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Feedback** in the admin menu.
4. Configure:
   * Feedback title
   * Form shortcode
   * Form position (left/right)
5. Add `[LR_FEEDBACK]` to any page or post where you want the popup button.

== Frequently Asked Questions ==

= Can I use this with Contact Form 7 or other form plugins? =

Yes. Add the form shortcode in plugin settings and LR Feedback will render it in the popup.

= How do I show the popup in a template file? =

Use this code in your theme template:
`<?php echo do_shortcode( '[LR_FEEDBACK]' ); ?>`

= Why is the popup not showing any form? =

Make sure you saved a valid shortcode in **Feedback > Form Shortcode**.

== Screenshots ==

1. Plugin settings screen.
2. Feedback button on frontend.
3. Popup with form shortcode output.

== Changelog ==

= 1.1.0 =
* Refactored plugin to OOP structure.
* Improved WordPress coding standards usage.
* Added safer sanitization and output escaping.
* Updated readme content and usage instructions.

== Upgrade Notice ==

= 1.1.0 =
This release includes an internal OOP refactor and standards improvements. Re-save plugin settings after upgrade if needed.
