Description
Easily Convert English to Nepali Date and Vice Versa and Post Date to Nepali Date. Also supports for today date.
The newly added feature is converting Post Date to Nepali Date. You can find the setting on `Admin => Setting => General`
Nepali Date Converter is a plugin with widgets and shortcodes which convert Nepali Date to English Date and English Date to Nepali Date.
You can also show either today Nepali date or today English date or both.
Now you can also change the Post Date to Nepali Date.
Main Features
- Show Post Date to Nepali
- Nepali Human Time Diff (Eg: ३ सेकेन्ड अगाडि)
- Widget: Nepali Date Converter
- Widget: Nepali Today Date
- Shortcode:Nepali Date Converter=> [nepali-date-converter]
- Shortcode:Nepali Today Date=> [ndc-today-date]
- Various Custom function to convert English Date to Nepali and Nepali Date to English
Show Post Date to Nepali
From the Dashboard go to Setting => General
and scroll to the bottom
Available Widgets
You will find the following widgets with advanced options:
- NDC: Nepali Date Converter
- NDC: Today Date
Available Shortcodes
You can use following shortcodes either to display Nepali Date Converter or Today Date anywhere in the posts or pages:
- Use
[nepali-date-converter]
to show Nepali Date Converter - Use
[ndc-today-date]
to show Today Date
Again the shortcode [nepali-date-converter]
comes with the following options:
- ‘before’ => Use anything to show before Nepali Date Converter eg:
<div class="ndc-wrapper">
, - ‘after’ => Use anything to show after Nepali Date Converter eg:
</div>
, - ‘before_title’ => Use anything to show before Title eg:
<div class="ndc-title">
, - ‘after_title’ => Use anything to show after title eg:
</div>
, - ‘title’ => Write something for title
Nepali Date Converter
, - ‘disable_ndc_convert_nep_to_eng’ => Write
1
for disable convert Nepali Date to English Date, - ‘disable_ndc_convert_eng_to_nep’ => Write
1
for disable convert English Date to Nepali Date, - ‘nep_to_eng_button_text’ => Write text for button for Nepali to English eg:
Nepali to English
, - ‘eng_to_nep_button_text’ => Write text for button for Nepali to English eg:
English to Nepali
, - ‘result_format’ => You can use any date format for result display in the frontend. See date format here Formatting Date. eg: ‘D, F j, Y’.
Please note that “S The English suffix for the day of the month” is not supported for version 1.0, - ‘nepali_date_lang’ => By default Nepali date language is
nep_char
that means date display like thisशुक्रबार, अशोज ८, २०७२
,
You can also use ‘eng_char’ to display date like thisSukrabar, Ashwin 8, 2072
- Example shortcodes:
[nepali-date-converter]
,[nepali-date-converter title="Nepali date"]
,[nepali-date-converter title="Nepali date" result_format ="l, F j, Y"]
Please visit Nepali Date Converter for more information about another shortcode [ndc-today-date]
and for all available functions.
Screenshots
Installation
- Login to admin panel, Go to Plugins => Add New.
- Search for “Nepali Date Converter” and install it.
- Once you install it, activate it
- Go to Appearance => Widgets, NDC: Nepali Date Converter and NDC: Today Date is waiting for you 🙂 And also available shortcodes and functions.
Or
- Put the plug-in folder
nepali-date-converter
into [wordpress_dir]/wp-content/plugins/ - Go into the WordPress admin interface and activate the plugin
- Go to Appearance => Widgets, NDC: Nepali Date Converter and NDC: Today Date is waiting for you 🙂 And also available shortcodes and functions.
Have fun!!!
FAQ
-
What does this plugin do?
-
- You can show Post Date to Nepali
- Convert Nepali Date to English Date and English Date to Nepali Date.
- You can also show either today Nepali date or today English date or both.
- Custom functions are available
-
What are date formats that I can use with this plugin?
-
Please note that “S The English suffix for the day of the month” is not supported for version 1.0. Other than that you can use any date format Formatting Date.
-
How can I display Nepali Date Converter or Today Date in any post/page content?
-
You can use following shortcodes either to display Nepali Date Converter or Today Date anywhere in the posts or pages:
- Use
[nepali-date-converter]
to show Nepali Date Converter - Use
[ndc-today-date]
to show Today Date
- Use
-
Is there any functions available in this
-
Yes, you can use the following functions
- ndc_eng_to_nep_date
- ndc_convert_eng_to_nep
- ndc_nep_to_eng_date
- ndc_convert_nep_to_eng
For showing whole Nepali date converter or today Nepali date you can use do_shortcode function
echo do_shortcode('[nepali-date-converter]')
echo do_shortcode('[ndc-today-date]')
-
Still have some questions ?
-
Please use support support forum
Reviews
Contributors & Developers
“Nepali Date Converter” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Nepali Date Converter” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.5 – 2022-02-25
- Fixed: Post Date Array notice in some cases
2.0.4 – 2022-02-04
- Updated: WordPress version
2.0.3 – 2022-01-05
- Added: Post Type Support
2.0.2 – 2021-04-21
- Updated: WordPress version
2.0.1 – 2020-06-11
- Added: New Feature => Nepali Human Time Diff
- Updated: NDC_Nepali_Calendar
2.0.0 – 2020-06-10
- Added: New Feature => Show Post Date to Nepali
- Updated : Code Review
- Updated : Prefix
1.0.1 – 2020-05-03
- Updated : Latest version test
- Added: Contributor
1.0
Initial version