=== Geneh Egypt Rates ===
Contributors: genehapp
Tags: egypt, exchange rate, dollar, gold price, currency
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Egypt's dollar, currency, gold and silver prices on your site. Every bank compared, updated all day.

== Description ==

Show today's prices in Egypt with a shortcode, a widget or a block:

* Rate card: the cheapest place to buy and the best place to sell a currency, with the Central Bank rate.
* Ticker: one line of currencies, gold and silver for a header or a news bar.
* Gold and silver: every karat and purity, per gram.
* Bank table: every bank's buy and sell for a currency, sortable.
* Chart: a week, a month or a year of the Central Bank rate or the gold price.

Widgets follow your site's language (Arabic or English) and the visitor's light or dark mode, and they refresh themselves while the page is open.

= Shortcodes =

`[geneh type="rate" currency="usd"]`
`[geneh type="ticker" currencies="usd,eur,sar,gold21"]`
`[geneh type="gold"]`
`[geneh type="table" currency="eur" rows="10"]`
`[geneh type="chart" currency="gold21" range="1y"]`

Options: `lang` (ar or en), `theme` (auto, light or dark), `font` (inherit to use your theme's font), `height` (table height in pixels), `basis` (cbe to show the Central Bank rate in the ticker).

== External services ==

The widgets load the Geneh widget script from https://geneh.app/embed/v1.js and read prices from https://data.geneh.app. Once per page load the script also tells https://api.geneh.app that a widget was shown, so Geneh knows how many pages use the widgets; the server counts each visitor once a day and keeps only the day's total for each site that shows a widget. No personal data is kept and no cookies are set. Terms: https://geneh.app/en/terms. Privacy: https://geneh.app/en/privacy.

== Installation ==

1. Install the plugin from Plugins, Add New, or upload the zip.
2. Activate it.
3. Add the Geneh rates block, the Geneh rates widget, or a `[geneh]` shortcode.

== Frequently Asked Questions ==

= Does it cost anything? =

No. The widgets are free.

= Which currencies are there? =

US dollar, euro, Saudi riyal, British pound, UAE dirham, Kuwaiti dinar, Qatari riyal, Omani rial, Bahraini dinar, Jordanian dinar, Swiss franc, Canadian dollar, Australian dollar, Japanese yen, Chinese yuan and the Nordic currencies.

== Changelog ==

= 1.0.0 =
* First release with the rate card, ticker, gold, silver, bank table and chart.
