“Nepali Date Utilities” plugin is developed in order to provide necessary dates conversion from English to Nepali dates. The plugin contains post dates and today’s date shortcode to help sites display Nepali dates.
Snippets, shortcodes and usages
<?php echo ndu_today_date();?>to print today’s date.
<?php echo do_shortcode('२०८० जेष्ठ २५');?>to print today’s date using shortcode.
Help [Date format has the following options]
- y – बर्ष ( E.g. २०७५ )
- m – महिना ( E.g. बैशाख)
- d – गते (अंकमा)
- l – दिन (E.g. आइतबार)
- H / h – घण्टा ( H – 24 hour format / h – 12 hour format)
- i – मिनेट
Home page date format can be altered to default, time ago and hide options.
Here are some of the screenshots of the plugin
July 17, 2020 at 11:53 am
I have a problem, I publish the post just a few minutes ago but it’s showing 6 hrs ago. I change the time zone from UTC to Kathmandu in WordPress but still not working. Do you have any solution?