Nepali Date Converter

0

Newly Added Feature: Convert Post Dates to Nepali Dates. Access the setting under Admin => Setting => General. Nepali Date Converter is a plugin with widgets and shortcodes which

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags

Description

Newly Added Feature: Convert Post Dates to Nepali Dates. Access the setting under Admin => Setting => General.

Nepali Date Converter is a plugin with widgets and shortcodes which convert Nepali Dates to English Date and English Date to Nepali Date.
You can also show either today’s Nepali date, today’s 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 the 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 the title Nepali Date Converter,
  • ‘disable_ndc_convert_nep_to_eng’ => Write 1 to disable converting Nepali Date to English Date,
  • ‘disable_ndc_convert_eng_to_nep’ => Write 1 to disable converting 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 the result display in the front end. 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 dates like this Sukrabar, 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.