wp-parsidate
Last commit date
assets
3 days ago
inc
3 days ago
languages
3 days ago
types
3 days ago
vendor
3 days ago
composer.json
3 days ago
composer.lock
3 days ago
readme.txt
3 days ago
wp-parsidate.php
3 days ago
readme.txt
376 lines
| 1 | === پارسی دیت – Parsi Date === |
| 2 | Contributors: lord_viper, man4toman, parselearn, yazdaniwp, saeedfard, iehsanir, wordpress-parsi |
| 3 | Donate link: https://wp-parsi.com/support/ |
| 4 | Tags: Shamsi, Persian, Jalali, WooCommerce, ووکا� |
| 5 | رس |
| 6 | Requires at least: 5.3 |
| 7 | Tested up to: 7.1 |
| 8 | Stable tag: 6.3 |
| 9 | Requires PHP: 7.4 |
| 10 | License: GPLv3 |
| 11 | |
| 12 | Persian date support for WordPress and WooCommerce |
| 13 | |
| 14 | == Description == |
| 15 | |
| 16 | ParsiDate is a powerful plugin developed by Persian contributors to enhance the WordPress experience for Farsi users. It provides full support for the Shamsi (Jalali) calendar across the WordPress dashboard and front-end, fixes character display issues, and improves Right-to-Left (RTL) compatibility. With seamless integration into core features and popular plugins like WooCommerce and Gravity Forms, ParsiDate makes managing Persian websites easier and more professional. |
| 17 | |
| 18 | = Key Features: = |
| 19 | |
| 20 | = Date & Calendar Functionality = |
| 21 | * Shamsi (ش� |
| 22 | سی) Calendar - Complete Solar Hijri calendar support |
| 23 | * Date Conversion - Automatic conversion throughout WordPress |
| 24 | * Archive Widgets - Shamsi date-based post archives |
| 25 | * Calendar Widget - Interactive Persian calendar widget |
| 26 | * Permalink Support - Shamsi dates in custom permalinks |
| 27 | |
| 28 | = Editor & Admin Integration = |
| 29 | * Gutenberg Support - Shamsi date picker in Block Editor |
| 30 | * ACF Integration - Persian date field type for Advanced Custom Fields |
| 31 | * Admin Dates - Shamsi dates throughout WordPress admin dashboard |
| 32 | * Content Dates - Automatic Persian dates in posts, pages, comments, and archives |
| 33 | |
| 34 | = Commerce & E-commerce = |
| 35 | * WooCommerce Ready - Full WooCommerce (ووکا� |
| 36 | رس) compatibility with Persian dates |
| 37 | * Product Support - Persian dates for orders, products, and customer data |
| 38 | * Support for Iranian payment gateways with [ParsiGate](https://wordpress.org/plugins/parsigate/) addon |
| 39 | - Bank gateways: Mellat, Parsian, Pasargad, Sadaad, Melli, Behpardakht, Asan Pardakht, Saman, Saderat, Eghtesad Novin, Iran Kish, Sepehr |
| 40 | - Installment gateways: SnappPay, Tara, Digipay, Azki |
| 41 | - Intermediary gateways: Zibal, Zarinpal, PayPing, Aghayepardakht |
| 42 | - Test gateway for simulating purchases without a bank account |
| 43 | |
| 44 | = Text & Character Processing = |
| 45 | * Arabic to Persian - Automatic character conversion (ي/ك to ی/ک) |
| 46 | * Number Localization - Convert Eastern Arabic and Latin numerals |
| 47 | * Full RTL Support - Complete right-to-left text direction optimization |
| 48 | * TinyMCE Adjustments - RTL-optimized WordPress editor |
| 49 | |
| 50 | = Performance = |
| 51 | * Lightweight - Minimal resource usage and fast performance |
| 52 | * Efficient - Optimized code for production environments |
| 53 | * WP-Planet Widget - Integration with [WP-Planet.ir](https://wp-planet.ir) |
| 54 | |
| 55 | == Installation == |
| 56 | |
| 57 | 1. Upload plugin folder to the `/wp-content/plugins/` directory |
| 58 | 2. Activate the plugin through the 'Plugins' menu in WordPress |
| 59 | 3. To use the archives widget, go to 'Widgets' and choose 'بایگانی تاریخ خورشیدی' |
| 60 | 4. To use the calendar widget, go to 'Widgets' and choose 'گاهش� |
| 61 | ار تاریخ خورشیدی' |
| 62 | |
| 63 | == Screenshots == |
| 64 | |
| 65 | 1. Dashboard tab |
| 66 | 2. Core settings |
| 67 | 3. Conversions settings |
| 68 | 4. Tools settings |
| 69 | 5. Integration and addon settings |
| 70 | 6. Addon tab |
| 71 | 7. WooCommerce settings |
| 72 | |
| 73 | == Changelog == |
| 74 | |
| 75 | = 6.3 = |
| 76 | * This version of the plugin is released in memory of **Mobin Ghasempoor**. Developer of the ParsiDate plugin. Rest in peace **Mobin**. |
| 77 | * Add: New Gutenberg editor Jalali datepicker. |
| 78 | * Add: Archive and Calendar block widgets for Gutenberg editor. |
| 79 | * Add: JetEngine date/datetime datepicker for Jalali date. |
| 80 | * Add: WooCommerce analytics Jalali date converter. |
| 81 | * Add: WooCommerce checkout block city selector for Iran cities. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/285) |
| 82 | * Add: WooCommerce new option for convert numbers in email content. |
| 83 | * Fix: Archive and Calendar classic widgets. |
| 84 | * Fix: WooCommerce order date problem when saving. [#WP topic](https://wordpress.org/support/topic/%d9%85%d8%b4%da%a9%d9%84-%d8%a8%d8%a7-%d9%88%d9%88%da%a9%d8%a7%d9%85%d8%b1%d8%b3-%d9%88-%d8%ac%d8%aa-%d8%a7%d9%86%d8%ac%db%8c%d9%86/) |
| 85 | * fix: WooCommerce declare feature compatibility unconditionally [PR](https://github.com/wordpress-parsi/wp-parsidate/pull/327) |
| 86 | * Fixed some bugs |
| 87 | |
| 88 | = 6.2.1 = |
| 89 | * Fix: WooCommerce legacy report datepicker. [#WP topic](https://wordpress.org/support/topic/%d8%ae%d8%aa%d9%84%d8%a7%d9%84-%da%af%d8%b2%d8%a7%d8%b1%d8%b4%d9%87%d8%a7%db%8c-%d9%88%d9%88%da%a9%d8%a7%d9%85%d8%b1%d8%b3-%d8%a8%d8%b9%d8%af-%d8%a7%d8%b2-%d8%a2%d9%be%d8%af%db%8c%d8%aa-parsi/) |
| 90 | * Fix: Admin font (Vazirmatn) forced to front. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/320) |
| 91 | |
| 92 | = 6.2 = |
| 93 | * Add: Jet Engine addon. [#WP topic](https://wordpress.org/support/topic/%d9%86%d8%ad%d9%88%d9%87-%d8%b3%d8%a7%d8%b2%da%af%d8%a7%d8%b1%db%8c-%d9%be%d8%a7%d8%b1%d8%b3%db%8c-%d8%af%db%8c%d8%aa-%d8%a8%d8%a7-%d9%85%d8%aa%d8%a7%d8%a8%d8%a7%da%a9%d8%b3-%d8%ac%d8%aa-%d8%a7%d9%86/) |
| 94 | * Add: Ultimate Member addon. [#WP topic](https://wordpress.org/support/topic/%d8%aa%d8%af%d8%a7%d8%ae%d9%84-%d8%a8%d8%a7-%d8%a7%d9%81%d8%b2%d9%88%d9%86%d9%87-ultimate-memner/) |
| 95 | * Add: MonsterInsights addon. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/189) |
| 96 | * Fix: Hyphen convert to raw HTML entity in post title. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/317) |
| 97 | * Fix: Convert Gregorian date to Jalali/Shamsi based on timezone in wp_date function. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/289) |
| 98 | * Fixed some bugs |
| 99 | |
| 100 | = 6.1 = |
| 101 | * Add: Limit Login Attempts Security addon. [#WP topic](https://wordpress.org/support/topic/plugin-conflict-454/) |
| 102 | * Add: Bulky (Bulk Edit Products for WooCommerce) addon. [#WP topic](https://wordpress.org/support/topic/%d9%85%d8%b4%da%a9%d9%84-%d8%a8%d8%a7-%d8%a7%d9%81%d8%b2%d9%88%d9%86%d9%87-bulky-bulk-edit-products-for-woocommerce/) |
| 103 | * Add: Schema Pro addon. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/291) |
| 104 | * Add: Dual date feature. [#PR](https://github.com/wordpress-parsi/wp-parsidate/pull/304) |
| 105 | * Fix: Implicitly nullable parameter declarations deprecated in PHP 8.4. [#PR](https://github.com/wordpress-parsi/wp-parsidate/pull/307) |
| 106 | * Fix: Resolve decimal number conversion issue in Persian text. [#PR](https://github.com/wordpress-parsi/wp-parsidate/pull/303) |
| 107 | * Fix: Validate phone number in block type checkout (WooCommerce V11.0+). [#PR](https://github.com/woocommerce/woocommerce/pull/65817) |
| 108 | * Fix: ACF repeatable date field save error |
| 109 | * Fixed some bugs |
| 110 | |
| 111 | = 6.0 = |
| 112 | * We have major update for code and UI of Parsi Date plugin |
| 113 | * We are respect to our old versions, Backward compatibility full supported. |
| 114 | * ParsiDate now supported Addon ability, You can enable addon to integration Jalali date with your plugins. |
| 115 | |
| 116 | = 5.1.8 = |
| 117 | * Improved multilingual compatibility |
| 118 | * Added compatibility with Ultimate Dashboard |
| 119 | * Major update to Rank Math compatibility |
| 120 | * Fixed an issue with the Parsian Gateway |
| 121 | * Fixed Wazir font compatibility |
| 122 | * Made general enhancements to the core and UI |
| 123 | |
| 124 | = 5.1.7 = |
| 125 | * Fix date format in ISO 8601 |
| 126 | * Update dashboard.css |
| 127 | * Fix postalCode Validate |
| 128 | * Fix editor rtl |
| 129 | * Fix show gateway logo |
| 130 | * Central Gateways Method |
| 131 | * Fix Mellat Gateway + Support Block API |
| 132 | * Add Melli Gateway + Support Block API |
| 133 | * Fixes Media view Select box and returns in Jalali Format Date |
| 134 | * Compatible with Sales Countdown Timer plugin |
| 135 | * Fix block editor datepicker wrong date |
| 136 | |
| 137 | = 5.1.6 = |
| 138 | * Some additional/unused options have been removed |
| 139 | * The sponsors widget loading mechanism has been optimized |
| 140 | |
| 141 | = 5.1.5 = |
| 142 | * Revert 'wpp_fix_post_time' and 'wpp_fix_post_date' to fix recent date time issue |
| 143 | |
| 144 | = 5.1.4 = |
| 145 | * Fix NuSoap Required file Path |
| 146 | * Fix wp_kses allowed HTML |
| 147 | * Fix the time hook |
| 148 | |
| 149 | = 5.1.3 = |
| 150 | * Fix convert order date to Gregorian in edit order screen |
| 151 | * Update fixes-dates.php |
| 152 | * Warning REQUEST Params in PHP |
| 153 | * Fix: Translations not loading |
| 154 | * Fix: The posting time of posts in the block editor |
| 155 | * Fix some reported bugs |
| 156 | |
| 157 | = 5.1.2 = |
| 158 | * Fix some reported bugs |
| 159 | * Fix security issue |
| 160 | * Fix translation problem in new version of WordPress |
| 161 | |
| 162 | = 5.1.1 = |
| 163 | * Fix Woo mails dates direction |
| 164 | * Fix Fatal error in Woo product edit screen |
| 165 | * Fix in_array() fetal error in 8.1 |
| 166 | * Remove error_log |
| 167 | |
| 168 | = 5.1.0 = |
| 169 | * HPOS compatible |
| 170 | * Block-based gateways WooCommerce |
| 171 | * Iranian cities for WooCommerce |
| 172 | * Persian datepicker in Block editor |
| 173 | * Fixed conflict with Jetpack. |
| 174 | * Resolved dashboard page warning. |
| 175 | * Addressed conflict with DATE_W3C format. |
| 176 | * Fixed date problem in comments feed. |
| 177 | * Resolved error while saving ACF fields. |
| 178 | * Fixed "Undefined index: date_i18n" notice. |
| 179 | * Addressed notice error in archive.php pages. |
| 180 | * Resolved conflicts with RevSlider. |
| 181 | * Fixed date conversion problem in WordPress 5.3. |
| 182 | * Addressed conflict with get_the_modified_date. |
| 183 | * Fixed Parsi Widget error. |
| 184 | * Resolved "Undefined index: wp_date" notice in disable.php. |
| 185 | * Fixed WooCommerce order detail issue. |
| 186 | * Addressed conflict with Polylang and WPML. |
| 187 | * Fixed duplicate activity date in the dashboard. |
| 188 | * Resolved type error in editor date picker. |
| 189 | * Fixed direction problem in the legacy editor. |
| 190 | * Corrected wrong callback in get_the_time hook. |
| 191 | * Addressed default timezone problem. |
| 192 | * Displaying "@" instead of "at" in the Jalali version. |
| 193 | * Added Persian numbers in WooCommerce prices. |
| 194 | * Improved support for Persian dates in WooCommerce. |
| 195 | * Added Persian date picker in WooCommerce. |
| 196 | * Added ACF Parsi date. |
| 197 | * Mini support for WPML and Polylang. |
| 198 | * Updated calendar widgets. |
| 199 | * Updated attachments filter dropdown. |
| 200 | * New looks and feels for the settings panel. |
| 201 | * Added Vazir font to the admin area. |
| 202 | * Fix convert order date to Gregorian in edit order screen. |
| 203 | * Compatibility with WordPress 6.5x and WooCommerce 8.7x. |
| 204 | |
| 205 | = 4.0.0 = |
| 206 | * This release contains huge bug fix: |
| 207 | - Conflict with jetpack |
| 208 | - Dashboard page warrning |
| 209 | - Conflict with DATE_W3C format |
| 210 | - Date problem in comments feed |
| 211 | - Error while save ACF fields |
| 212 | - Notice: Undefined index: date_i18n |
| 213 | - Notice error in archive.php pages |
| 214 | - RevSlider conflicts |
| 215 | - Date conversion problem in WordPress 5.3 |
| 216 | - Conflict with get_the_modified_date |
| 217 | - Parsi Widget error |
| 218 | - Notice: Undefined index: wp_date, disable.php |
| 219 | - WooCommerce order detail fix |
| 220 | - Conflict with Polylang and WPML |
| 221 | - Duplicate activity date in dashboard |
| 222 | - Type error in editor datepicker |
| 223 | - Direction problem in legacy editor |
| 224 | - Wrong callback in get_the_time hook |
| 225 | - Default timezone problem |
| 226 | * Displaying "@" instead of "at" in Jalali version |
| 227 | * Persian number in WooCommerce prices |
| 228 | * Better support of Persian date in WooCommerce |
| 229 | * Persian datepicker in WooCommerce |
| 230 | * ACF Parsi date |
| 231 | * Mini support of WMPL and Polylang |
| 232 | * Update Calendar widgets |
| 233 | * Update attachments filter dropdown |
| 234 | * New looks and feels of settings panel |
| 235 | * Add Vazir font to admin area |
| 236 | |
| 237 | = 3.0.3 = |
| 238 | * Fix widgets fatal errors |
| 239 | * Fix get_post_modified_time output |
| 240 | * Replace @ with Persian character in edit posts |
| 241 | * Fix notice in disable section |
| 242 | |
| 243 | = 3.0.2 = |
| 244 | * Now we support WordPress 5.3! |
| 245 | * Replace/add wp_date instead old function |
| 246 | * Small fix in WooCommerce dates |
| 247 | * Fix date in media files |
| 248 | * All core codes cleaned and beautified |
| 249 | |
| 250 | = 3.0.1 = |
| 251 | * The WooCommerce hook has been temporarily disabled |
| 252 | |
| 253 | = 3.0.0 = |
| 254 | * Added Shamsi (Jalali) day-picker in Block Editor (Gutenberg) |
| 255 | * Added Shamsi (Jalali) jQuery UI date-picker |
| 256 | |
| 257 | = 2.4 = |
| 258 | * Fix for admin_posts_where |
| 259 | * Added new version of planet on dashboard |
| 260 | * New fixes for dates |
| 261 | * Fix month in permalink |
| 262 | * New fix for hook disabler |
| 263 | |
| 264 | = 2.3.4 = |
| 265 | * Fix diagnosis leap year function ( WPP_ParsiDate::IsLeapYear() ) |
| 266 | |
| 267 | = 2.3.3 = |
| 268 | * Fix WooCommerce Sale Price Dates (From/To) |
| 269 | |
| 270 | = 2.3.2 = |
| 271 | * Change date based on WordPress language (Persian/Farsi) |
| 272 | * Compatible with WP Multilingual plugin (WPML) |
| 273 | |
| 274 | = Development Log |
| 275 | * Fix Wrong usage of $wp_query in posts_where filter that create "old posts" issue in WP_Query! |
| 276 | |
| 277 | = 2.3.1 = |
| 278 | * Fix date picker's month dropdown bug in admin edit post. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/5) |
| 279 | |
| 280 | = 2.3.0.2 = |
| 281 | * Fix set editor font CSS |
| 282 | |
| 283 | = 2.3 = |
| 284 | * Add [WP-Planet.ir](https://wp-planet.ir) widget |
| 285 | * Fix some bug |
| 286 | |
| 287 | = 2.2.3 = |
| 288 | * Conflict timezone with WordPress default timezone [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/1) |
| 289 | |
| 290 | = 2.2.2 = |
| 291 | * Fix error in PHP 7 |
| 292 | |
| 293 | = 2.2.1 = |
| 294 | * Compatible with WP 4.7 |
| 295 | * Fixed: Notice error in acf group page. [#issue](https://wordpress.org/support/topic/need-a-conditional-for-posts-in-wpp_fix_post_date-function/) |
| 296 | * Fixed: Undefined variable `$predate` error in admin lists-fix.php [#issue](https://wordpress.org/support/topic/undefined-variable-predate-in-admin-lists-fix-php/) |
| 297 | * Fixed by: [Mostafa Soufi](https://profiles.wordpress.org/mostafas1990/) |
| 298 | |
| 299 | = 2.2 = |
| 300 | * Fixed: Widgets bug causes Deprecated notices in WordPress >= 4.3 |
| 301 | * Fixed: the_modified_date() is now in Shamsi. [Reported by Amirhossein Habibi] |
| 302 | * New: Added EDD support to convert prices digits in Persian digits. |
| 303 | |
| 304 | = 2.1.7 = |
| 305 | * Fixed timezone bug [Reported by HANNANStd] |
| 306 | * Paragraph style returned to its previous style [Reported by WP-Parsi community] |
| 307 | |
| 308 | = 2.1.6 = |
| 309 | * Fixed assets folder issue with community. |
| 310 | |
| 311 | = 2.1.5 = |
| 312 | * Added "Droid Sans" & "Roboto" font family to back-end environment & editor by default, also an option for returning that |
| 313 | * Added an option for moving menu item to submenu |
| 314 | * Fixed timezone bug that was set to "Asia/Tehran" by default |
| 315 | * Cleaned codes and documentation |
| 316 | |
| 317 | = 2.1.2 = |
| 318 | * Admin menu problem fixed |
| 319 | |
| 320 | = 2.1.2 = |
| 321 | * Fix Broken Plugins Update Link (Farsi Locale) |
| 322 | |
| 323 | = 2.1.1 = |
| 324 | * Fix Post permalink with custom structure (%category%/%postname%/) |
| 325 | |
| 326 | = 2.1 = |
| 327 | * Post Permalink Fixed |
| 328 | * WordPress SEO OpenGraph Dates fixed |
| 329 | * WooCommerce order detail date fixed |
| 330 | * New option for set locale in plugin page settings |
| 331 | * LTR post editor text mode |
| 332 | |
| 333 | = 2.0.0-alpha = |
| 334 | * Fully recorded! |
| 335 | * WordPress languages (Persian) files removed |
| 336 | * Persian calendar widget added |
| 337 | * Performance enhanced |
| 338 | * WooCommerce prices problem fixed |
| 339 | |
| 340 | = 1.3.5 = |
| 341 | * WordPress 4.0 ready |
| 342 | * languages updated |
| 343 | |
| 344 | = 1.3.4 = |
| 345 | * Unix timestamp problems fixed |
| 346 | * languages fixed |
| 347 | * core functions improved |
| 348 | |
| 349 | = 1.3.3 = |
| 350 | * editor problems fixed |
| 351 | |
| 352 | = 1.3.2 = |
| 353 | * update language files |
| 354 | |
| 355 | = 1.3.1 = |
| 356 | * tested on WordPress 3.9 |
| 357 | * added new language files |
| 358 | |
| 359 | = 1.3 = |
| 360 | * core function enhanced |
| 361 | * some date function problem fixed |
| 362 | |
| 363 | = 1.2 = |
| 364 | * fix memory error |
| 365 | * fix post_where hook |
| 366 | |
| 367 | = 1.1 = |
| 368 | * Fix TinyMce text direction |
| 369 | * Fix sitemaps date problems |
| 370 | * New features on plugin settings |
| 371 | * Add Persian numbers on the_excerpt function |
| 372 | * Some bugfixes on core functions |
| 373 | |
| 374 | = 1.0 = |
| 375 | * Hello world... |
| 376 |