
內容簡介
Nepali Date Converter 外掛簡化了英語(公曆)與尼泊爾語(比克拉姆曆)日期之間的轉換。無論是建立尼泊爾語網站或顯示當前的尼泊爾日期,此外掛都能滿足需求。
【主要功能】
• 英語與尼泊爾日期轉換
• 顯示文章發佈日期的尼泊爾日期
• 尼泊爾人類時間差顯示
• 小工具:日期轉換器與今日日期
• 短代碼:[nepali-date-converter]、[ndc-today-date]
• 開發者函數:ndc_eng_to_nep_date、ndc_nep_to_eng_date
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Nepali Date Converter makes converting dates between English (Gregorian) and Nepali (Bikram Sambat) formats easy. Whether you’re building a Nepali-language WordPress site or just need to display today’s Nepali date, this plugin has you covered.
For the best experience with Nepali Date Converter, check out the free CosmosWP theme.
View Demo → See Nepali Date Converter in action with real-world implementations.
Includes:
– Post Date to Nepali conversion
– Today’s Nepali date display
– Nepali human time differences (e.g., “३ सेकेन्ड अगाडि”)
– Shortcodes and widgets
– Custom functions for developers
Fully rewritten for version 3.0.0, this release modernizes the plugin from the ground up, improves accuracy, and ensures better compatibility.
Key Features
🔁 Convert English ↔ Nepali dates
🗓️ Show Nepali date for post publish dates
⏳ Nepali human time differences (e.g., ३ मिनेट अगाडि)
🧩 Widgets: Date Converter and Today’s Date
🧪 Shortcodes: [nepali-date-converter], [ndc-today-date]
🔧 Developer functions: ndc_eng_to_nep_date, ndc_nep_to_eng_date, and more
📅 Supports Bikram Sambat years 2000 to 2099 BS
🔒 Security improvements and code hardening
Shortcodes
1. [nepali-date-converter]
Display a Nepali date converter form.
Attributes:
– title: Custom title (default: Nepali Date Converter)
– result_format: Format for output (e.g., l, F j, Y)
– disable_ndc_convert_eng_to_nep: 1 to disable English to Nepali conversion
– disable_ndc_convert_nep_to_eng: 1 to disable Nepali to English conversion
– nepali_date_lang: nep_char (e.g., शुक्रबार, अशोज ८, २०७२) or eng_char
Examples:
[nepali-date-converter]
[nepali-date-converter title="Nepali Date"]
[nepali-date-converter title="Nepali date" result_format="l, F j, Y"]
2. [ndc-today-date]
Displays today’s Nepali date.
Widgets
NDC: Nepali Date Converter – Date converter widget
NDC: Today Date – Show today’s Nepali date
Developer Functions
ndc_eng_to_nep_date() – Convert English to Nepali
ndc_convert_eng_to_nep() – Convert using formatted string
ndc_nep_to_eng_date() – Convert Nepali to English
ndc_convert_nep_to_eng() – Convert using formatted string
Use in code:
echo do_shortcode(‘[nepali-date-converter]’);
echo do_shortcode(‘[ndc-today-date]’);
`
Please visit Nepali Date Converter for more information about another shortcode [ndc-today-date] and for all available functions.
