Parsi Date

Description

This package is made by Persian developers to bring so much better experience of Persian WordPress. It includes Shamsi (Jalali) calendar, character issues fixes and Right-To-Left fix for WordPress back-end environment.

List of some features:

  • WP-Planet.ir Widget
  • Shamsi (Jalali) date in Posts, comments, pages, archives, search, categories
  • Shamsi (Jalali) date in Permalinks
  • Shamsi (Jalali) date in admin sections such as posts lists, comments lists, pages lists
  • Shamsi (Jalali) date in post quick edit, comment quick edit, page quick edit of admin panel
  • Shamsi (Jalali) calender widget
  • Shamsi (Jalali) archive widget
  • RTL and fixed tinymce editor
  • Poweful and fast function for fixing Arabic (ي , ك) to Persian (ی , ک)
  • Poweful and fast function for Persian numbers
  • Low resources usage

Screenshots

  • Plugin configuration page
  • 'Jalali Date Archives' Widget
  • 'Jalali Date Calender' Widget
  • 'Jalali Date Calender' in action

Installation

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To use the archives widget, go to ‘Widgets’ and choose ‘بایگانی تاریخ خورشیدی’
  4. To use the calender widget, go to ‘Widgets’ and choose ‘گاه‌شمار تاریخ خورشیدی’

FAQ

Installation Instructions
  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To use the archives widget, go to ‘Widgets’ and choose ‘بایگانی تاریخ خورشیدی’
  4. To use the calender widget, go to ‘Widgets’ and choose ‘گاه‌شمار تاریخ خورشیدی’

Reviews

مشکل با پارالکس قالب

متاسفانه بعد از نصب افزونه و فعال کردن گزینه تغییر زبان سایت، عکس‌های قسمت پارالکس قالب نمایش داده نمی‌شوند.
مثلا این صفحه (آخر صفحه عکس پارالکس داره)
http://barbadpiano.com/brands/cordoba/
کسی می‌تونه کمک کنه؟

اضافه کردن تبلیغات پاپ-آپ

توی آپدیت جدید متوجه شدم که برای کاربران که لاگین نکرده اند به صورت خودکار پاپ-آپ باز میشه

بعد از کلی تحقیق فهمیدم دوستان برنامه نویس این افزونه تبلیغات پاپ آپ گذاشتند.

واقعا خیلی زشته
متاسفم براشون
من که دیگه از این افزونه استفاده نمیکنم

Great plugin. Has one issue though.

The plugin does its job well. Nice work.

There is one issue though. When I enable ajax submissions on a Gravity Form, I get a SyntaxError: Invalid or unexpected token because it adds a <script> to the post content and you’re replacing the numbers in JS with Persian numbers, which breaks the JS.

I did a quick fix for myself for now, but it should be fixed in the plugin.

Below is the fix I wrote, in case someone else is having the same issue:


function fix_english_number($content)
{
  return 
    str_replace(
      array('۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'),
      range(0, 9),
      $content[0]
    );
}
function fix_parsi_numbers_in_scripts($content) {
  return preg_replace_callback(
    '/<script.*(?!<\/script>).*<\/script>/i', 'fix_english_number', $content
  );  
}
add_filter('the_content', 'fix_parsi_numbers_in_scripts', 1001);

عدم پشتیبانی از the_modified_date

با سلام و عرض ادب
افزونه خیلی خوب و ضروری برای فارسی زبانهاست و تشکر می کنم از نویسندگان این افزونه.
وقتی بررسی کردم دیدم یک کمبود داره و انم این هست که از وقتی از تابع the_modified_date برای نمایش تاریخ آخرین به روزرسانی مطلب استفاده می کنیم تاریخ به شمسی تبدیل نمیشه.
این تابع رو هم هوک کنید خیلی عالی میشه.
با تشکر هم صدا

مشکل در تبدیل تاریخ فارسی و ثبت در گوگل

سلام
بنده از اخرین نسخه استفاده میکنم
افزونه پس از سال جدید دچار مشکل شده و تاریخ فارسی را بصورت اشتباه به میلادی تبدیل میکند
و در هنگام ثبت مطالب در گوگل نیز این مشکل دیده می شود
تصویر:
تاریخ ثبت مطلب را در گوگل ببینید :
http://s9.picofile.com/file/8292775168/444444d.jpg

که پس از غیر فعال کردن بخش تبدیل تاریخ در افزونه این مشکل رفع شده اما خب تاریخ ها همگی میلادی شدند

چاره چیست ؟

Read all 85 reviews

Contributors & Developers

“Parsi Date” is open source software. The following people have contributed to this plugin.

Contributors

“Parsi Date” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Parsi Date” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.3.4

  • Fix diagnosis leap year function ( bn_parsidate::IsLeapYear() )

2.3.3

  • Fix WooCommerce Sale Price Dates (From/To)

2.3.2

  • Change date based on WordPress language (Persian/Farsi)
  • Compatible with WP Multilingual plugin (WPML)

2.3.1

  • Fix date picker’s month dropdown bug in admin edit post. #issue

2.3.0.2

  • Fix set editor font css

2.3

2.2.3

  • Conflict timezone with wordpress default timezone #issue

2.2.2

  • Fix error in PHP 7

2.2.1

  • Compatible with WP 4.7
  • Fixed: Notice error in acf group page. #issue
  • Fixed: Undefined variable $predate error in admin lists-fix.php #issue
  • Fixed by: Mostafa Soufi

2.2

  • Fixed: Widgets bug causes Deprecated notices in WordPress >= 4.3
  • Fixed: the_modified_date() is now in Shamsi. [Reported by Amirhossein Habibi]
  • New: Added EDD support to convert prices digits in Persian digits.

2.1.7

  • Fixed timezone bug [Reported by HANNANStd]
  • Paragraph style returned to its previous style [Reported by WP-Parsi community]

2.1.6

  • Fixed assets folder issue with community.

2.1.5

  • Added “Droid Sans” & “Roboto” font family to back-end environment & editor by default, also an option for returning that
  • Added an option for moving menu item to submenu
  • Fixed timezone bug that was set to “Asia/Tehran” by default
  • Cleaned codes and documentation

2.1.2

  • Admin menu problem fixed

2.1.2

  • Fix Broken Plugins Update Link (Farsi Locale)

2.1.1

  • Fix Post permalink with custom structure (%category%/%postname%/)

2.1

  • Post Permalink Fixed
  • WordPress SEO OpenGraph Dates fixed
  • WooCommerce order detail date fixed
  • New option for set locale in plugin page settings
  • LTR post editor text mode

2.0.0-alpha

  • Fully recorded!
  • WordPress languages (Persian) files removed
  • Persian calendar widget added
  • Performance enhanced
  • Woocommerce prices problem fixed

1.3.5

  • WordPress 4.0 ready
  • languages updated

1.3.4

  • unix timstamp problems fixed
  • languages fixed
  • core functions improved

1.3.3

  • editor problems fixed

1.3.2

  • update language files

1.3.1

  • tested on wordpress 3.9
  • added new language files

1.3

  • core function enhanced
  • some date function problem fixed

1.2

  • fix memory error
  • fix post_where hook

1.1

  • Fix TinyMce text direction
  • Fix sitemaps date problems
  • New features on plugin settings
  • Add persian numbers on the_excerpt function
  • Some bugfixs on core functions

1.0

  • Hello world…