=== Social Proof Generator ===
Contributors: mdendipurwanto
Tags: social proof, popup, notification, marketing, engagement
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.4.1
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

A simple plugin to display social proof pop-ups on your WordPress site.

== Description ==
Social Proof Generator allows you to display customizable social proof pop-ups on your WordPress site. Boost conversions and engage visitors by showing real-time purchase notifications! You can configure the position, duration, animation, names, products, background color, and even add a product image to your pop-ups.

== Installation ==
1. Upload the `social-proof-generator` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to 'Social Proof' in the WordPress admin menu to configure the settings.

== Frequently Asked Questions ==
= Does the plugin leave any data after uninstall? =
No, the plugin will automatically remove all its data (settings and per-page options) when you delete it via the WordPress dashboard.

= Can I customize the pop-up appearance? =
Yes, you can customize the position, duration, animation, background color, and even add a product image through the settings page.

= Does this plugin work with all themes? =
Yes, Social Proof Generator is designed to work with most WordPress themes. If you encounter any issues, please contact support.

== Screenshots ==
1. Admin settings page for Social Proof Generator. (admin-settings.png)
2. Additional admin settings view. (admin-settings2.png)
3. Example of a social proof pop-up on the frontend. (popup-example.png)
4. Edit page with social proof options. (edit-page.png)

== Changelog ==
= 1.4 =
* Added uninstall.php to clean up plugin data on deletion.
* Fixed missing assets folder in ZIP distribution.
* Fixed PHPCS errors for output escaping and input sanitization.
* Added option to enable/disable social proof pop-up per page.
* Optimized script/style loading to only enqueue when pop-up is displayed.
* Removed load_plugin_textdomain() as it’s not needed for WordPress.org.
* Updated prefix from 'spg' to 'socproofgen_' to meet WordPress.org guidelines.
* Used wp_enqueue_script() and wp_enqueue_style() for JS and CSS.
* Fixed pop-up display, image upload, and form inputs to use textarea.

= 1.4.1 =
Improved performance, added per-page popup options, and fixed compatibility issues for a better user experience.
