Changeset 3179443
- Timestamp:
- 10/31/2024 12:54:58 PM (17 months ago)
- Location:
- nepali-date-converter
- Files:
-
- 28 added
- 3 edited
-
tags/2.0.8 (added)
-
tags/2.0.8/inc (added)
-
tags/2.0.8/inc/class (added)
-
tags/2.0.8/inc/class/ndc-frontend.php (added)
-
tags/2.0.8/inc/class/ndc-post-date.php (added)
-
tags/2.0.8/inc/frameworks (added)
-
tags/2.0.8/inc/frameworks/nepali-calendar (added)
-
tags/2.0.8/inc/frameworks/nepali-calendar/nepali_calendar.php (added)
-
tags/2.0.8/inc/functions (added)
-
tags/2.0.8/inc/functions/functions.php (added)
-
tags/2.0.8/inc/hooks (added)
-
tags/2.0.8/inc/hooks/enqueue-scripts.php (added)
-
tags/2.0.8/inc/hooks/wp-ajax.php (added)
-
tags/2.0.8/inc/hooks/wp-footer.php (added)
-
tags/2.0.8/inc/init.php (added)
-
tags/2.0.8/inc/shortcode (added)
-
tags/2.0.8/inc/shortcode/shortcode-nepali-date-converter.php (added)
-
tags/2.0.8/inc/shortcode/shortcode-today-date.php (added)
-
tags/2.0.8/inc/widgets (added)
-
tags/2.0.8/inc/widgets/widget-nepali-date-converter.php (added)
-
tags/2.0.8/inc/widgets/widget-today-date.php (added)
-
tags/2.0.8/index.php (added)
-
tags/2.0.8/languages (added)
-
tags/2.0.8/languages/index.php (added)
-
tags/2.0.8/languages/nepali-date-converter.pot (added)
-
tags/2.0.8/nepali-date-converter.php (added)
-
tags/2.0.8/readme.txt (added)
-
trunk/inc/shortcode/shortcode-today-date.php (modified) (1 diff)
-
trunk/languages/nepali-date-converter.pot (added)
-
trunk/nepali-date-converter.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nepali-date-converter/trunk/inc/shortcode/shortcode-today-date.php
r2321572 r3179443 1 1 <?php 2 add_shortcode( 'ndc-today-date','ndc_today_shortcode');2 add_shortcode( 'ndc-today-date', 'ndc_today_shortcode' ); 3 3 if ( ! function_exists( 'ndc_today_shortcode' ) ) : 4 4 5 function ndc_today_shortcode($atts){5 function ndc_today_shortcode( $atts ) { 6 6 7 extract(shortcode_atts(array( 8 'before' => '', 9 'after' => '', 10 'before_title' => '', 11 'after_title' => '', 12 'title' => __( 'Date', 'nepali-date-converter' ), 13 'disable_today_nep_date' =>'', 14 'disable_today_eng_date' =>'', 15 'nepali_date_lang' => 'nep_char', 16 'result_format' => 'D, F j, Y' 17 ), $atts)); 18 ob_start(); 7 extract( 8 shortcode_atts( 9 array( 10 'before' => '', 11 'after' => '', 12 'before_title' => '', 13 'after_title' => '', 14 'title' => __( 'Date', 'nepali-date-converter' ), 15 'disable_today_nep_date' => '', 16 'disable_today_eng_date' => '', 17 'nepali_date_lang' => 'nep_char', 18 'result_format' => 'D, F j, Y', 19 ), 20 $atts 21 ) 22 ); 23 ob_start(); 19 24 20 $front_date_converter = ndc_frontend(); 21 $front_date_converter->today_date(array( 22 'before'=> $before, 23 'after'=> $after, 24 'before_title'=> $before_title, 25 'after_title'=> $after_title, 26 'title'=> $title, 27 'disable_today_nep_date'=> $disable_today_nep_date, 28 'disable_today_eng_date'=> $disable_today_eng_date, 29 'nepali_date_lang'=> $nepali_date_lang, 30 'result_format'=> $result_format 31 )); 32 $content = ob_get_contents(); 33 ob_end_clean(); 34 return $content; 35 } 25 $front_date_converter = ndc_frontend(); 26 $front_date_converter->today_date( 27 array( 28 'before' => $before, 29 'after' => $after, 30 'before_title' => $before_title, 31 'after_title' => $after_title, 32 'title' => $title, 33 'disable_today_nep_date' => $disable_today_nep_date, 34 'disable_today_eng_date' => $disable_today_eng_date, 35 'nepali_date_lang' => $nepali_date_lang, 36 'result_format' => $result_format, 37 ) 38 ); 39 $content = ob_get_contents(); 40 ob_end_clean(); 41 return $content; 42 } 36 43 37 44 endif; -
nepali-date-converter/trunk/nepali-date-converter.php
r3103095 r3179443 4 4 Plugin URI: https://www.addonspress.com/wordpress-plugins/nepali-date-converter/ 5 5 Description: Convert English to Nepali Date and Vice Versa and Post Date to Nepali Date. 6 Version: 2.0. 76 Version: 2.0.8 7 7 Author: addonspress 8 8 Author URI: https://www.addonspress.com/ … … 17 17 } 18 18 /*Define Constants for this plugin*/ 19 define( 'NEPALI_DATE_CONVERTER_VERSION', '2.0. 7' );19 define( 'NEPALI_DATE_CONVERTER_VERSION', '2.0.8' ); 20 20 define( 'NEPALI_DATE_CONVERTER_PATH', plugin_dir_path( __FILE__ ) ); 21 21 define( 'NEPALI_DATE_CONVERTER_URL', plugin_dir_url( __FILE__ ) ); -
nepali-date-converter/trunk/readme.txt
r3103095 r3179443 4 4 Tags: Nepali post date, Nepali date converter, today Nepali date, English to Nepali date converter, Nepali to English date converter 5 5 Requires at least: 4.9 6 Tested up to: 6. 57 Stable tag: 2.0. 76 Tested up to: 6.7 7 Stable tag: 2.0.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 140 140 == Changelog == 141 141 142 = 2.0.8 - 2024-10-31 = 143 * Added: WordPress latest compatibility 144 * Added: Language folder 145 142 146 = 2.0.7 - 2024-06-15 = 143 147 * Fixed : [Date issue](https://wordpress.org/support/topic/jestha-32-is-not-showing/)
Note: See TracChangeset
for help on using the changeset viewer.