Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Nepali Date Utilities

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Nepali Date Utilities

Bởi ashokbasnet
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

Nepali Date Utilities converts English (AD) dates to Nepali (BS) for posts, comments, shortcodes, blocks, and a monthly post calendar. It helps Nepali sites show Bikram Sambat dates consistently across WordPress.

Features

  • Convert post and modified dates to Nepali
  • Convert comment dates
  • Bilingual display (BS + AD)
  • Devanagari or Arabic numerals
  • Home / front page modes: default format, relative “time ago”, or hide
  • Shortcodes: [ndu_today_date], [ndu_date_ago], [ndu_convert], [ndu_post_calendar]
  • Classic “Today Date in Nepali” widget (optional format)
  • Gutenberg blocks: Nepali Today Date and Nepali Post Calendar
  • Monthly BS post calendar with navigation, dual dates, optional post links, and accent color
  • Admin converter: English ↔ Nepali
  • Live format preview and format presets in settings

Shortcodes

  • [ndu_today_date] — today’s date
  • [ndu_today_date format="y m d, l"] — custom format
  • [ndu_date_ago] — relative time for the current post
  • [ndu_convert date="2024-10-31" from="eng" format="y m d"] — AD → BS
  • [ndu_convert date="2081-07-15" from="nep"] — BS → AD
  • [ndu_post_calendar] — monthly BS calendar
  • [ndu_post_calendar year="2081" month="7" lang="english" show_post_links="1" accent="#c62828"] — calendar with options

Format tokens

  • y — year (e.g. २०८१)
  • m — month name (e.g. कार्तिक)
  • d — day number
  • l — weekday
  • H / h — hour (24h / 12h)
  • i — minute
  • s — second
  • a — period of day (बिहान / दिउँसो / साँझ / राति)

PHP helpers

ndu_today_date(), `ndu_get_date_ago()`, `ndu_format_nepali_date( $timestamp, $format )`

Supported conversion range: AD 1944–2033 / BS 2000–2099.

Ảnh màn hình

Display settings with live preview, format presets, and About
Display settings with live preview, format presets, and About
Post Calendar tab with shortcode docs and live BS calendar preview
Post Calendar tab with shortcode docs and live BS calendar preview
Instant AD ↔ BS converter
Instant AD ↔ BS converter
Help & shortcodes — format tokens and usage examples
Help & shortcodes — format tokens and usage examples
Nepali post dates on the front end
Nepali post dates on the front end

Cài đặt

  1. Upload the plugin folder to /wp-content/plugins/nepali-date-utilities, or install via Plugins → Add New.
  2. Activate Nepali Date Utilities.
  3. Go to Settings → Nepali Date Utilities to configure display options, try the converter, or preview the post calendar.

Hỏi đáp

Does this replace English dates site-wide?

When “Convert dates to Nepali” is enabled, post, modified, and comment dates use your Nepali format. You can switch to bilingual mode to show both BS and AD.

Can I convert a specific date?

Yes. Use the Converter tab in settings, or the [ndu_convert] shortcode.

How do I show a Nepali post calendar?

Use [ndu_post_calendar], or insert the Nepali Post Calendar block. Configure year, month, language, post links, and accent color. Arrows navigate between BS months.

Is there a Gutenberg block?

Yes. Insert Nepali Today Date or Nepali Post Calendar and configure options in the block sidebar.

Đánh giá

Nepali date not being updated as per the English date.

Subash Dahal 20 Tháng 7, 2020
Posts date are not being updated in Nepali according to its English date. What can be the issue behind it?

It’s Work

Santosh Devkota 17 Tháng 2, 2020
Best Nepali Date Convoter Plugin For Wordpress .

Nice Plugin

ashishcruel 11 Tháng 1, 2019
Nice to know and use about nepali date plugin . I want to mention changes in the plugins like more options , date and time format and also backend date option . Choose between nepali and universal date . keep doing awesome work .
Đọc tất cả 4 đánh giá

Người đóng góp & Lập trình viên

“Nepali Date Utilities” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • ashokbasnet

Dịch “Nepali Date Utilities” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.1.0

  • Redesigned settings UI (Settings API) with Display, Converter, Post Calendar, and Help tabs
  • Live format preview and format presets
  • Shared date formatter; safer conversion (no fatal errors on out-of-range dates)
  • Unicode Devanagari numerals; optional Arabic numerals
  • Bilingual BS + AD display mode
  • Comment date conversion
  • Home and front page date behavior
  • Improved period-of-day labels (बिहान / दिउँसो / साँझ / राति)
  • Shortcodes: format attribute on today date, [ndu_date_ago], [ndu_convert], [ndu_post_calendar]
  • Gutenberg blocks: Nepali Today Date, Nepali Post Calendar
  • BS post calendar with month navigation, dual dates, post links, accent color
  • Widget format field
  • Requires PHP 7.4+; WordPress 5.0+

1.0.16

  • Maintenance release

Meta

  • Phiên bản 1.1.0
  • Cập nhật lần cuối 1 tuần trước
  • Số lượt cài đặt 1.000+
  • Phiên bản WordPress 5.0 hoặc cao hơn
  • Đã kiểm tra lên đến 7.1.4
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    Bikram Sambatnepali calendarnepali datepost dateshortcode
  • Nâng cao

Đánh giá

4.7 trên 5 sao.
  • 2 5-star reviews 5 sao 2
  • 1 4-star review 4 sao 1
  • 0 3-star reviews 3 sao 0
  • 0 2-star reviews 2 sao 0
  • 0 1-star reviews 1 sao 0

Your review

Xem tất cả đánh giá

Những người đóng góp

  • ashokbasnet

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

tiếng Việt

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.