=== Crypto Price Display ===
Contributors: vm2xkevin
Donate link: https://www.vm2x.com
Tags: CryptoCurrency, Price list
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.2
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A simple WordPress plugin for displaying real-time cryptocurrency prices on your website


## Features


-Real-time display of cryptocurrency prices (via Binance API)
-Support for customizing displayed cryptocurrencies
-Configurable price update frequency
-Price change animation effects
-Responsive design, compatible with various devices


## External Services

This plugin connects to the Binance API to obtain real-time cryptocurrency price information. This service is required to display current cryptocurrency prices and market data on your website.

**What data is sent and when:**
- Cryptocurrency symbol pairs (e.g., BTCUSDT, ETHUSDT) are sent to Binance API every time the price display is updated
- No personal user data is transmitted to Binance
- Data is sent only when the price display widget is loaded and during periodic updates based on your configured interval

**Service Provider:**
This service is provided by Binance: [Terms of Service](https://www.binance.com/en/terms), [Privacy Policy](https://www.binance.com/en/privacy)


## Installation



1.Download the plugin zip file
2.In the WordPress admin panel, go to "Plugins > Add New"
3.Click the "Upload Plugin" button
4.Select the downloaded zip file and install
5.Activate the plugin after installation



## Usage



1.In the WordPress admin panel, go to "Settings > Crypto Price" configuration page
2.Select the cryptocurrencies to display
3.Set the price update frequency (1-60 seconds)
4.Use the shortcode [vm2xkevin_crypto_price] in any page or post to display the price list



## Notes



-The plugin relies on the Binance public API; ensure your server can access api.binance.com
-It is recommended to set the update frequency to 3-5 seconds or higher to avoid excessive API requests
-If display issues occur, ensure your theme has properly loaded jQuery



## Supported Cryptocurrencies



- Bitcoin (BTC)
- Ethereum (ETH)
- Binance Coin (BNB)
- Ripple (XRP)

## License

GPL-2.0 or later

## Tested up to: 6.0

## Stable Tag: 1.0.2


== Screenshots ==

1. backend config
2. front-end display for price block style
3. front-end display for price scroll style

== Frequently Asked Questions ==



= How do I add or remove cryptocurrencies from the list?=
Go to `Settings > Crypto Price` in your WordPress admin. In the configuration page, select the cryptocurrencies you want to display and save changes.

= Why are prices not updating or I see "Too many requests"?=
Make sure your server can reach `api.binance.com`. Set the update interval to 3–5 seconds or higher to avoid rate limits. Also check if any page cache/CDN is caching the script output; if so, exclude pages using the shortcode from caching. Open the browser console to see if there are network or JavaScript errors.

= Does the plugin collect or store any personal data?=
No. The plugin only requests market price data (e.g., BTCUSDT, ETHUSDT) from the Binance public API and does not send or store personal user data.




== Upgrade Notice ==

=1.0.2=
Shortcode updated to `[vm2xkevin_crypto_price]`. Replace any older shortcode to prevent display issues.
Settings keys were renamed; after updating, visit `Settings > Crypto Price` to recheck your selections and click Save.
Removed leftover backup files from the plugin; no action required.




## Changelog

### 1.0.0
-Initial release
-Basic price display functionality
-Admin interface configuration
-Shortcode support


### 1.0.1
1. **README.md**: Added external services documentation
2. **crypto-price-display.php**:
– Added plugin constants
– Updated all function names with `crypprdi_` prefix
– Updated class name
– Updated option names
– Fixed file path references
3. **assets/js/crypto-price.js**:
– Updated variable name from `cryptoPriceData` to `crypprdiPriceData`
– Removed commented debug code



### 1.0.2
1. Not permitted files removed:
Deleted crypto-price.js.bak from assets/js/
Deleted style-bak.css from assets/css/
2. Generic function/class/define/namespace/option names updated:
Changed prefix from generic crypprdi to unique vm2xkevin_crypto_price_display
Updated all function names, class names, constants, and options to use the new prefix
Fixed the shortcode registration to be consistent with the naming pattern