{"id":336846,"date":"2026-07-10T17:42:46","date_gmt":"2026-07-10T17:42:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/curs-bnr-convertor-valutar\/"},"modified":"2026-07-11T10:57:04","modified_gmt":"2026-07-11T10:57:04","slug":"curs-bnr-convertor-valutar","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/curs-bnr-convertor-valutar\/","author":23442036,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.0.1","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Onu Exchange Rates and Converter for BNR","header_author":"Constantin Onu","header_description":"Exchange rates from the National Bank of Romania (BNR), auto-updated daily, currency converter, widget, shortcode, Gutenberg block, and Elementor widget.","assets_banners_color":"49799c","last_updated":"2026-07-11 10:57:04","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/constantinonu","header_plugin_uri":"https:\/\/buymeacoffee.com\/constantinonu","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":85,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"constantinonu","date":"2026-07-10 17:42:25"},"1.0.2":{"tag":"1.0.2","author":"constantinonu","date":"2026-07-11 10:23:46"},"1.0.3":{"tag":"1.0.3","author":"constantinonu","date":"2026-07-11 10:57:04"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3603831,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3603831,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3603831,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3603831,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"curs-bnr-convertor-valutar\/convertor-valutar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"curs-bnr-convertor-valutar\/convertor-valutar","title":"BNR Currency Converter","category":"widgets","icon":"exchange","description":"Interactive currency conversion form based on BNR exchange rates.","keywords":["bnr","currency converter","exchange"],"textdomain":"curs-bnr-convertor-valutar","supports":{"html":false},"attributes":{"de_la":{"type":"string","default":"EUR"},"catre":{"type":"string","default":"RON"},"tema":{"type":"string","default":"implicit"},"densitate":{"type":"string","default":"implicit"}},"editorScript":"file:..\/..\/build\/index.js","style":"onuexra-style"},"curs-bnr-convertor-valutar\/curs-valutar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"curs-bnr-convertor-valutar\/curs-valutar","title":"BNR Exchange Rates","category":"widgets","icon":"money-alt","description":"Display BNR exchange rates on your page as a table, cards, or inline.","keywords":["bnr","exchange rates","currency"],"textdomain":"curs-bnr-convertor-valutar","supports":{"html":false,"align":["wide","full"]},"attributes":{"valute":{"type":"string","default":""},"stil":{"type":"string","default":"tabel"},"arata_variatie":{"type":"boolean","default":true},"tema":{"type":"string","default":"implicit"},"densitate":{"type":"string","default":"implicit"}},"editorScript":"file:..\/..\/build\/index.js","style":"onuexra-style"}},"tagged_versions":["1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3603255,"resolution":"1","location":"assets","locale":"","width":3176,"height":2724},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3603255,"resolution":"2","location":"assets","locale":"","width":3176,"height":2724},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3603255,"resolution":"3","location":"assets","locale":"","width":3176,"height":2724},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3603255,"resolution":"4","location":"assets","locale":"","width":3176,"height":2724}},"screenshots":{"1":"Preview \u00een pagin\u0103 \u2013 shortcode afi\u0219at pe o pagin\u0103","2":"Panoul de set\u0103ri administrative","3":"Tabel cu ratele valutare \u0219i sincronizare manual\u0103","4":"Gutenberg block preview \u00een editor"}},"plugin_section":[],"plugin_tags":[20247,12584,76538,21292,151844],"plugin_category":[],"plugin_contributors":[255646],"plugin_business_model":[],"class_list":["post-336846","plugin","type-plugin","status-publish","hentry","plugin_tags-bnr","plugin_tags-currency-converter","plugin_tags-elementor","plugin_tags-exchange-rates","plugin_tags-gutenberg-block","plugin_contributors-constantinonu","plugin_committers-constantinonu"],"banners":{"banner":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/banner-772x250.png?rev=3603831","banner_2x":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/banner-1544x500.png?rev=3603831","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/icon-128x128.png?rev=3603831","icon_2x":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/icon-256x256.png?rev=3603831","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/screenshot-1.png?rev=3603255","caption":"Preview \u00een pagin\u0103 \u2013 shortcode afi\u0219at pe o pagin\u0103"},{"src":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/screenshot-2.png?rev=3603255","caption":"Panoul de set\u0103ri administrative"},{"src":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/screenshot-3.png?rev=3603255","caption":"Tabel cu ratele valutare \u0219i sincronizare manual\u0103"},{"src":"https:\/\/ps.w.org\/curs-bnr-convertor-valutar\/assets\/screenshot-4.png?rev=3603255","caption":"Gutenberg block preview \u00een editor"}],"raw_content":"<!--section=description-->\n<p><strong>Onu Exchange Rates and Converter for BNR<\/strong> 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.<\/p>\n\n<p>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.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Automatic daily fetch of BNR exchange rates (WordPress Cron)<\/li>\n<li>Complete historical exchange rate entries saved in a custom database table<\/li>\n<li>Interactive currency converter calculator widget (RON is the pivot currency)<\/li>\n<li><code>[onuexra_curs]<\/code> shortcode for displaying selected rates<\/li>\n<li><code>[onuexra_convertor]<\/code> shortcode for rendering the conversion calculator<\/li>\n<li>Classic sidebar and footer widgets<\/li>\n<li>Native Gutenberg block with live preview in the editor<\/li>\n<li>Elementor page builder widget integration (loaded conditionally)<\/li>\n<li>Daily rate trend variations (increases\/decreases marked by color-coded badges)<\/li>\n<\/ul>\n\n<h4>Gutenberg Block Source Code<\/h4>\n\n<p>This plugin contains compiled production Javascript assets inside the <code>build\/<\/code> directory for Gutenberg blocks. The original, uncompiled, and fully human-readable source code is bundled inside the plugin package in the <code>blocks\/curs-valutar\/src\/<\/code> and <code>blocks\/convertor-valutar\/src\/<\/code> directories.\nTo build or modify the block assets yourself, you can run:\n1. Install dependencies: <code>npm install<\/code>\n2. Build the assets: <code>npm run build<\/code><\/p>\n\n<h4>External Services<\/h4>\n\n<p>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:\n- <code>https:\/\/www.bnr.ro\/nbrfxrates.xml<\/code> (daily rates)\n- <code>https:\/\/bnr.ro\/files\/xml\/years\/nbrfxrates%d.xml<\/code> (historical annual rates)<\/p>\n\n<p>No personal data, user information, or site data is transmitted to this external service. Only the exchange rate XML files are downloaded.<\/p>\n\n<p>This service is provided by Banca Na\u021bional\u0103 a Rom\u00e2niei (BNR):\n- Website: https:\/\/www.bnr.ro\/\n- Terms of Service: https:\/\/www.bnr.ro\/Terms-and-conditions-12110.aspx\n- Privacy Policy: https:\/\/www.bnr.ro\/Privacy-policy-12496.aspx<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install directly from Plugins -&gt; Add New.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to Settings -&gt; Onu Exchange Rates to select active currencies and schedule the daily update time.<\/li>\n<li>Use the shortcode <code>[onuexra_curs]<\/code>, Gutenberg block, Elementor widget, or Classic widget to display the rates.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20does%20the%20data%20come%20from%3F\"><h3>Where does the data come from?<\/h3><\/dt>\n<dd><p>Directly from the official BNR XML feed (bnr.ro), without intermediaries.<\/p><\/dd>\n<dt id=\"how%20often%20is%20the%20rate%20updated%3F\"><h3>How often is the rate updated?<\/h3><\/dt>\n<dd><p>Once a day, automatically, at your configured settings hour (defaults to 13:15, Romanian time, which is when BNR publishes the rates).<\/p><\/dd>\n<dt id=\"does%20it%20work%20without%20elementor%3F\"><h3>Does it work without Elementor?<\/h3><\/dt>\n<dd><p>Yes. The Elementor widget is loaded only if the Elementor plugin is active. Shortcodes, Gutenberg blocks, and classic widgets work independently.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Ad\u0103ugat op\u021biunea de a comuta \u00eentre tema Light \u0219i tema Dark (at\u00e2t global din set\u0103ri, c\u00e2t \u0219i local per shortcode \/ bloc).<\/li>\n<li>Ad\u0103ugat 3 stiluri de densitate pentru layout (Compact, Normal \u0219i Spa\u021bios).<\/li>\n<li>Integrat controale de selectare a temei \u0219i a densit\u0103\u021bii \u00een panourile laterale pentru ambele blocuri Gutenberg.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Ad\u0103ugat branding vizual oficial (logo, iconi\u021be \u0219i bannere personalizate pentru WordPress.org).<\/li>\n<li>Optimizat structura pachetului prin mutarea capturilor de ecran \u00een directorul de active externe (reduc\u00e2nd considerabil dimensiunea fi\u0219ierului ZIP).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Resolved manual review feedback: renamed prefixes to prevent conflicts, added uncompiled block source to packaged ZIP, and enhanced option sanitization.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Daily automated BNR exchange rates, currency converter calculator, Gutenberg block, and Elementor widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/336846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=336846"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/constantinonu"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=336846"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=336846"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=336846"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=336846"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=336846"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=336846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}