NepDate-Date or Number Conversion to Nepali

NepDate-Date or Number Conversion to Nepali

NepDate
date-number-conversion-nepali
is a WordPress plugin which converts English date or number to Nepali. This plugin is specially designed for the WordPress developers who want to show Nepali date on their website. This plugin can also show current date on your website. You are just a code far to convert any published date of posts, custom posts or pages from English to Nepali. Sometimes we need Nepali dates on our website instead of English date as well as the number of views, especially in Nepali news portal sites.

This plugin has only essential features so the size is very low which will make your website loads fast in the browser. For now, you can get the date-format of “ शुक्रबार, २५ जेष्ठ, २०७५ “ only.

 

Download NepDate plugin

 

How does it work?

Download the plugin in your plugin folder and just add the following codes as your requirement in your PHP file. Now you are ready to go.

Code to use:

For Published Date of posts, custom posts or pages

<?php the_nepali_date(); ?>     instead of            <?php the_ date(); ?>

 

For Current date or today’s date (Nepali)

<?php   todayDate(); ?>

 

For changing number

<?php   change_number($arg); ?>

where $arg is English number needs to be changed to Nepali

 

This is not entirely my own code. I have searched online for my requirements and developed accordingly for our ease.  My colleague Alwin Kansakar has supported a lot to make this plugin more efficient.

This is the first version.  I am trying to provide setting parts for this plugin in the next versions.

So, if you have any feedback to give, please send it through email or comment so that I can improve it.

Facebook