plugin-icon

Nyasro Nepali Date Converter

Nyasro Nepali Date Converter allows to convert A.D. (English Date) to B.S. (Nepali Date) and Vice Versa.
평가
5
최근 업데이트일
July 5, 2020
버전
2.0.1
활성화된 설치 항목
200

Nyasro Nepali Date Converter is plugin with widget which convert Nepali Date to English Date and English Date to Nepali Date. You can use following shortcode either to display today’s nepali date or to convert english-nepali date, anywhere in the post or pages.

  • Use [ny_dateconvert] to show today nepali date.
  • Use [ny_dateconvert date='{date}'] to convert nepali date to english date.
  • Use [ny_dateconvert date='{date}' convert='{type}'] to convert nepali to english date or english to nepali date.

Where,

  • {date} format is YYYY-MM-DD [YYYY : four digit year, MM : one or tow digits month, DD : one or digits day]
  • {type} format is eng_to_nep or nep_to_eng

This plugin have special widget which allows user interface to convert english-nepali date or vice versa. You can use following shortcode to display nyasro nepali date converter widget.

  • Use [ny_datewidget] to show date converter widget anywhere in your post or pages.

Not only that but also it has date converter widget for theme widgets named Nyasro Nepali Date Converter, which you can use to show date converter from Dashboard > Appearance > Widgets section in your theme sidebar.

If you are a developer then use following PHP code for date converter.

  • To show today’s nepali date :

    <?php if(function_exists('_Nyasro_todayDate')) _Nyasro_todayDate(); ?>
  • To convert english-nepali date or vice versa:

    <?php if(function_exists('_Nyasro_NepaliDateConverter')) _Nyasro_NepaliDateConverter( $date, $conversion); ?>

where $date = YYYY-MM-DD and $conversion = eng_to_nep | nep_to_eng.

  • To show date converter widget or box:

    <?php if(function_exists('_Nyasro_NepaliDateConverterWidget')) _Nyasro_NepaliDateConverterWidget(); ?>
무료Creator 요금제에서
활성화된 설치 항목
200
테스트된 버전
5.4.16
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.