Repository navigation
Releases
v1.1.0
v1.1.0: priceto.day as a second source
- priceto.day (margani/pricedb, data from tgju.org) added next to Navasan-API. Choose the rate source (priceto.day / Navasan-API / manual) and an optional backup in the settings. The backup is used only when the primary fails and its data is newer than the last healthy rate.
- Daily high/low from priceto.day itself; day change from
/v1/change. - Switching source goes through the jump guard; stale warning counts market-open hours only.
- 6 s timeouts, failed paths skipped for 30 min, versioned User-Agent.
- REST gains a
sourcefield; shortcode, script and Dynamic Tag output are unchanged. - Upgrading from 1.0.0 keeps all settings and every product price; the source does not change by itself (one-time notice explains where to choose).
Install or upgrade: upload navasan-api-wordpress-plugin-1.1.0.zip via Plugins > Add New > Upload Plugin. See CHANGELOG.md.
Data sources: priceto.day by Hossein Margani (https://github.com/margani/pricedb) and Navasan-API by Hossein (https://github.com/HosseinOdd/Navasan-API).
نسخهٔ ۱٫۱٫۰: منبع priceto.day
- منبع priceto.day کنار Navasan-API اضافه شد؛ «منبع نرخ» و «منبع پشتیبان» را در تنظیمات انتخاب کنید. پشتیبان فقط وقتی استفاده میشود که منبع اصلی شکست بخورد و دادهٔ آن جدیدتر از آخرین نرخ سالم باشد.
- بیشترین/کمترین روز از خود priceto.day؛ تغییر روز از
/v1/change. - تغییر منبع از محافظ جهش میگذرد؛ هشدار کهنگی فقط ساعتهای بازار را حساب میکند.
- ارتقا از ۱٫۰٫۰ همهٔ تنظیمات و قیمت محصولات را نگه میدارد و منبع را خودش عوض نمیکند.
نصب/ارتقا: فایل zip را از «افزونهها ← افزودن ← بارگذاری افزونه» روی نسخهٔ قبلی نصب کنید.
v1.0.0
Navasan-API plugin for WordPress v1.0.0
First release. Gold and currency rates from the open-source Navasan-API project, with gold product pricing for WooCommerce.
- Rates read from the Navasan-API JSON files, with GitHub Contents API and jsDelivr fallbacks and a per-URL connection test.
- Price formula (weight, karat, wage, profit, tax), jump and stale-data guards, rounding, currency conversion.
- Shortcode
[one_gold_price], public REST endpoint, light JS, Elementor Dynamic Tags. - Works without WooCommerce (pricing stays off).
Install: download navasan-api-wordpress-plugin-1.0.0.zip and upload it via Plugins > Add New > Upload Plugin.
Data source: Navasan-API by Hossein (https://github.com/HosseinOdd/Navasan-API).
افزونه نوسانAPI برای وردپرس، نسخه ۱.۰.۰
اولین نسخه. نرخ طلا و ارز از پروژه متنباز Navasan-API و قیمتگذاری محصولات طلا در ووکامرس.
نصب: فایل zip را دانلود کنید و از «افزونهها > افزودن > بارگذاری افزونه» نصب کنید.