
內容簡介
CHP Nepali Date Converter 外掛是為了提供從英文日期到尼泊爾日期的轉換,以及從尼泊爾日期到英文日期的轉換的日期轉換外掛。此外掛可以將頁面、文章和評論日期從英文轉換為尼泊爾語或從尼泊爾語轉換為英文。此外掛還支援 Shortcode,可幫助您在網站的任何位置顯示尼泊爾日期。
主要特點
將文章、頁面、評論日期顯示為尼泊爾日期
支援 Time Diff (例如:३ सेकेन्ड अगाडि)
評論可使用 Time ago。例如: ३ माहिना पहिले
多種自訂功能可將英文日期轉換為尼泊爾日期,以及將尼泊爾日期轉換為英文日期
實時系統
可用的 Shortcodes
您可以使用以下 Shortcodes 在文章或頁面的任何位置顯示尼泊爾日期或今天日期:
使用 [CHPNPDATE date="YOUR_DATE"] 顯示尼泊爾日期轉換器
使用 [CHPNPDATE date="TODAY"] 或 [CHPNPDATE] 顯示今天日期
使用 [CHPNPDATE date="REALTIME"] 顯示實時計時器與日期
使用 [CHPNPDATE date="REALTIMEONLY"] 顯示僅實時計時器而不顯示日期
可用的函數
您可以使用以下函數來顯示尼泊爾日期或今天日期:
使用 chp_real_time 來顯示實時計時器。它接受一個布林值引數(true 或 false),決定是僅顯示時間還是顯示完整日期和時間。
使用 chp_np_to_en 將英文日期轉換為尼泊爾日期。它接受一個引數:YOUR_DATE。
使用 chp_np_date 來顯示尼泊爾日期。它接受三個引數。第一個是日期,第二個是日期格式,第三個是布林值(true 或 false),決定是否顯示計時器。
可用的小工具
目前我們的外掛支援兩個小工具。
* CHP NP Date Converter 可協助您顯示帶有或不帶有計時器的尼泊爾日期
* CHP NP Date Theme 可協助您以美觀的方式顯示日期和時間。
工作流程
此外掛在一個單一的 PHP 類中工作,可以將英文日期轉換為尼泊爾日期。https://codehelppro.com/wordpress-plugin-development/scripts/chp-nepali-date-converter。
開發者
Suresh Chand
外掛標籤
開發者團隊
原文外掛簡介
CHP Nepali Date Converter plugin is developed in order to provide dates conversion from English to Nepali dates and Vice Versa. This plugin converts pages, posts and comments date from English to Nepali or Vice Versa. This plugin also supports Shortcode that helps you to display Nepali dates anywhere in your website.
Main Features
Show Posts, Pages, Comments Date to Nepali
Supports Time Diff (Eg: ३ सेकेन्ड अगाडि)
Time ago available for comments. Such as ३ माहिना पहिले
Various Custom function to convert English Date to Nepali and Nepali Date to English
Real Timer system
AVAILABLE SHORTCODES
You can use following shortcodes to display Nepali Date or Today Date anywhere in the posts or pages:
Use [CHPNPDATE date="YOUR_DATE"] to show Nepali Date Converter
Use [CHPNPDATE date="TODAY"] or [CHPNPDATE] to show Today Date
Use [CHPNPDATE date="REALTIME"] to show Real Timer with Date
Use [CHPNPDATE date="REALTIMEONLY"] to show Real Timer without Date
AVAILABLE FUNCTIONS
You can use following functions to display Nepali Date or Today Date:
Use chp_real_time to show Real Timer. It accepts an boolean argument (true or false), whether to show time only or timer with full date
Use chp_np_to_en to convert english date to nepali date. It accepts an argument, that is YOUR_DATE
Use chp_np_date to display Nepali Date. It accepts three arguments. First is date and second is DATE FORMAT and third one is boolean(true or false) whether to show timer or not.
AVAILABLE WIDGET
Currently Our plugin supports two widgets.
* CHP NP Date Converter helps you to display nepali date with or without timer
* CHP NP Date Theme helps you to display time and date in beautiful way.
Working Flow
This plugin is working under a single PHP CLASS that converts English Date to Nepali Date. https://codehelppro.com/wordpress-plugin-development/scripts/chp-nepali-date-converter.
Developers
Suresh Chand
