

Admin: Settings tab (localization, date pattern, wrapper class)
This plugin converts Gregorian (AD) dates into Bikram Sambat (BS) so you can display Nepali dates on posts, pages, widgets, or anywhere in your theme.
Handy if you run a Nepali news site, a blog, or any WordPress site that needs BS dates for the publish date, modified date, or just today’s date.
What it does:
format and lang attributes.format and lang attributes.lang attribute.year, month, and lang attributes. Prev / next arrows navigate between months.Primary names (introduced in 3.0.0):
indesign_nepali_post_date_get( $datetime ): Convert a date string or timestamp into a formatted BS string.indesign_nepali_post_date_today(): Return today’s date in BS.indesign_nepali_post_date_convert( $number ): Convert a number to Nepali glyphs.indnpd_get_date( $timestamp, $format, $lang ): Same idea, with format and language you can pass in.Legacy aliases (kept for backward compatibility, still work exactly the same):
id_nepali_post_date_get( $datetime )id_nepali_post_date_today()id_nepali_post_date_convert( $number )\IndesignMedia\NPD\Manager::convert( $timestamp, $format, $lang ): Static method if you’d rather not use the global function.indesign_nepali_post_date_output filter: Wrap or modify the HTML before it’s returned.d – Day numberm – Month numberM – Month name (e.g. असार)y – 2-digit yearY – 4-digit yearl – Weekday name (e.g. मंगलबार)Four tabs: Settings, Shortcodes, Post Calendar, Developer.
<span class="your-class"> so you can style it.Built and maintained by Indesign Media (https://indesignmedia.net).
Need help, a custom tweak, or integration work? Head to the plugin page or drop us a line.