LeDoviz – Turkish Exchange Rates is a lightweight, modern, and fully secure WordPress plugin that displays Turkish exchange rates. It works with Gutenberg blocks, Elementor widgets, classic shortcodes, and header/footer widgets. All data sources are free public APIs – no API keys required.
FinancialProduct markup.This plugin connects to external APIs to retrieve daily exchange rates and stock index values:
1. Central Bank of the Republic of Turkey (TCMB) API (https://www.tcmb.gov.tr/kurlar/today.xml) is used to obtain daily currency exchange rates against the Turkish Lira. No personal visitor data is sent or stored. Data is fetched anonymously and cached locally on your server for 1 hour.
– TCMB Terms of Use: https://www.tcmb.gov.tr/wps/wcm/connect/tr/tcmb+tr/main+menu/yasal+uyari
– TCMB Privacy Policy: https://www.tcmb.gov.tr/wps/wcm/connect/tr/tcmb+tr/main+menu/yasal+uyari
2. Bigpara (Hürriyet) API (https://bigpara.hurriyet.com.tr) is used to fetch the current BIST 100 stock index data. No personal visitor data is sent or stored. Data is cached locally on your server for 1 hour.
– Hürriyet Terms & Privacy: https://www.hurriyet.com.tr/veriler/politikamiz/
Use the following shortcodes to display exchange rates and ticker feeds anywhere on your site:
* [ledoviz_turkish_exchange_rates_exchange_rates currencies="usd,eur,gbp" layout="list"] – Displays a list or grid of currency exchange rates.
* currencies: Comma-separated ISO codes (default: usd,eur,gbp).
* layout: list, grid (default: list).
* theme: auto, light, dark (default: auto).
* [ledoviz_turkish_exchange_rates_ticker currencies="usd,eur,gbp" speed="5000"] – Displays a scrolling marquee header/footer ticker.
* currencies: Comma-separated ISO codes (default: usd,eur,gbp).
* speed: Animation duration per item in ms (default: 5000).
* [ledoviz_turkish_exchange_rates_privacy] – Outputs standard disclosure/privacy text stating that the rates are provided for informational purposes only.
The plugin includes native, high-performance editor integrations:
* Exchange Rates: Drag and drop block/widget to display selected rates as a list or grid.
* Live Ticker: Sliding marquee block/widget showing live exchange rates.
Colors can be customized in your theme stylesheet using CSS custom properties:
:root {
--ledoviz-turkish-exchange-rates-primary: #C41E3A; /* Persian Red accent color */
--ledoviz-turkish-exchange-rates-bg: #f8f9fa; /* Silver/white container background */
--ledoviz-turkish-exchange-rates-text: #212529; /* Text color */
}
ledoviz_turkish_exchange_rates_tcmb_url – Filter the TCMB XML feed URL.ledoviz_turkish_exchange_rates_enqueue_assets – Control when assets are enqueued on the frontend.aria-live="polite" so screen readers process updates gracefully.prefers-reduced-motion: reduce is enabled at the OS/browser level.