=== CurrencyPal Widget ===
Contributors: currencypal
Tags: currency, exchange rates, widget, finance, embed
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed CurrencyPal currency exchange rate widgets on your WordPress site using shortcodes or Gutenberg blocks.

== Description ==

CurrencyPal Widget allows you to easily embed currency exchange rate widgets from CurrencyPal on your WordPress website.

**Features:**

* Easy shortcode integration
* Gutenberg block support
* Customizable width and height
* Responsive design
* Lightweight and fast

== Installation ==

1. Upload the `currencypal-widget` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings > CurrencyPal Widget to configure the base URL (if using a self-hosted installation)
4. Use the shortcode or Gutenberg block to embed your widgets

== Usage ==

**Shortcode:**

Basic usage:
`[currencypal id="YOUR_WIDGET_ID"]`

With custom dimensions:
`[currencypal id="YOUR_WIDGET_ID" max_width="500px" max_height="400px"]`

**Shortcode Attributes:**

* `id` (required) - Your CurrencyPal Widget ID
* `max_width` (optional) - Maximum width (default: 100%)
* `max_height` (optional) - Maximum height (default: auto)

**Gutenberg Block:**

1. In the block editor, click the "+" button to add a new block
2. Search for "CurrencyPal Widget"
3. Add the block and enter your Widget ID in the block settings panel

== Frequently Asked Questions ==

= Where do I find my Widget ID? =

Log in to your CurrencyPal dashboard, go to your widgets, and copy the Widget ID from the widget details or embed code.

= Can I use multiple widgets on one page? =

Yes, you can add as many widgets as you need using multiple shortcodes or blocks.

= How do I change the base URL for self-hosted installations? =

Go to Settings > CurrencyPal Widget and update the Base URL field.

== Changelog ==

= 1.0.2 =
* Initial release
* Shortcode support
* Gutenberg block support
* Customizable dimensions
* Admin settings page

== Upgrade Notice ==

= 1.0.2 =
Initial release of CurrencyPal Widget plugin.
