

Preview în pagină – shortcode afișat pe o pagină
Onu Exchange Rates and Converter for BNR brings the official daily exchange rates published by the National Bank of Romania (BNR) directly to your WordPress site. It supports automatic scheduled sync (WP Cron), historical rate lookups, interactive currency conversion forms, classic widgets, a native Gutenberg block, and an Elementor widget.
This plugin performs external HTTP requests to the official BNR XML feed once a day to download current exchange rates. No personal data is sent or collected.
[onuexra_curs] shortcode for displaying selected rates[onuexra_convertor] shortcode for rendering the conversion calculatorThis plugin contains compiled production Javascript assets inside the build/ directory for Gutenberg blocks. The original, uncompiled, and fully human-readable source code is bundled inside the plugin package in the blocks/curs-valutar/src/ and blocks/convertor-valutar/src/ directories.
To build or modify the block assets yourself, you can run:
1. Install dependencies: npm install
2. Build the assets: npm run build
This plugin connects to the BNR (National Bank of Romania) XML feed to obtain official daily exchange rates. The data is retrieved once per day via HTTP request to:
– https://www.bnr.ro/nbrfxrates.xml (daily rates)
– https://bnr.ro/files/xml/years/nbrfxrates%d.xml (historical annual rates)
No personal data, user information, or site data is transmitted to this external service. Only the exchange rate XML files are downloaded.
This service is provided by Banca Națională a României (BNR):
– Website: https://www.bnr.ro/
– Terms of Service: https://www.bnr.ro/Terms-and-conditions-12110.aspx
– Privacy Policy: https://www.bnr.ro/Privacy-policy-12496.aspx