Sajilo Bikram Sambat

外掛說明

Sajilo Bikram Sambat is a lightweight, dependency-free converter for Gregorian (AD) dates to Nepali Bikram Sambat (BS). It supports dates from 1944 through 2033 AD and displays Nepali month and weekday names with Nepali numerals.

  • Display today’s date with [sajibisa_date].
  • Convert a date with [sajibisa_date date="2026-01-01"].
  • Customize output with [sajibisa_date format="d m y, l"].
  • Copy ready-to-use shortcode recipes from the Sajilo BS admin screen.
  • Preview today’s converted date before publishing.
  • Choose a default format and optionally include time.
  • Optionally convert post, modified, and comment dates automatically.
  • No remote requests, tracking, advertising, or external dependencies.

Format tokens are d (day), m (Nepali month), y (year), and l (weekday).

Developer examples: sajibisa_get_today_date() and sajibisa_get_post_date( get_the_date( 'Y-m-d' ) ).

安裝方式

  1. Upload the sajilo-bikram-sambat folder to /wp-content/plugins/, or install it from Plugins > Add New.
  2. Activate Sajilo Bikram Sambat from the Plugins screen.
  3. Add [sajibisa_date] to a post, page, or shortcode-compatible widget.
  4. Open the Sajilo BS menu to copy examples and configure display options.

常見問題集

Which dates are supported?

Gregorian dates from 1944 through 2033 AD are supported by the included dataset.

Does the plugin collect data or contact external services?

No. All conversion happens locally on the WordPress site.

Where can I get support?

Visit yubrajpandeya.com.np for help with shortcodes, date formats, or theme integration.

使用者評論

2026 年 7 月 15 日
Sajilo Bikram Sambat is a simple, lightweight, and reliable plugin for displaying Nepali Bikram Sambat dates in WordPress. It is easy to install, works smoothly, and provides accurate date conversion with flexible formatting options. The shortcode support makes integration very easy, and the plugin has no unnecessary dependencies. I highly recommend it to anyone who wants to display Nepali dates on their WordPress website.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Sajilo Bikram Sambat〉的開發相關工作。

參與者

將〈Sajilo Bikram Sambat〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.0

  • Standardized all global functions, classes, constants, hooks, settings, options, script data, and the shortcode under the unique sajibisa prefix.
  • Renamed the stored option to sajibisa_options to prevent conflicts with other plugins.
  • Renamed the public shortcode to [sajibisa_date] and updated all examples.
  • Renamed internal class files to match the common plugin prefix.

1.3.2

  • Fixed a double timezone-offset bug that could move today’s preview and shortcode output into the following day.
  • Corrected current-date and human-time calculations to use Unix timestamps with the WordPress site timezone applied exactly once.

1.3.1

  • Removed the optional Plugin URI to keep it distinct from the Author URI and satisfy directory validation.

1.3.0

  • Redesigned the Sajilo BS dashboard with clearer navigation and professional responsive styling.
  • Added a guided three-step quick start and improved shortcode library.
  • Added richer format examples and clearer automatic-conversion controls.
  • Added accessible copy confirmation and error feedback.
  • Added support and contact links to yubrajpandeya.com.np.
  • Improved mobile layout, focus states, interaction states, and reduced-motion behavior.

1.2.2

  • Escaped date-range exception messages.
  • Applied the full plugin prefix to public functions, callbacks, and the plugin filter.

1.2.1

  • Restored the original main plugin filename and added a compatibility loader for existing installations.

1.2.0

  • Added an accessible Sajilo BS admin dashboard with live output preview.
  • Added one-click shortcode copying and practical usage recipes.
  • Added global display format and time settings.
  • Added opt-in automatic conversion for post, modified, and comment dates.
  • Replaced unsafe conversion termination with exceptions.
  • Prefixed the plugin filter and normalized source line endings.

1.1.2

  • Rebuilt the installation archive with portable directory paths.

1.1.1

  • Normalized the plugin header for WordPress.org validation.

1.1.0

  • Added shortcode support.
  • Corrected plugin metadata and added WordPress.org documentation.
  • Improved timezone handling and input normalization.

1.0.0

  • Initial release.