Skip to content

wordpress-parsi/wp-parsidate

Repository files navigation

Parsi Date

Version WordPress Compatible

Contributors: lord_viper, man4toman, parselearn, yazdaniwp, saeedfard, iehsanir
Donate link: https://wp-parsi.com/support/
Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, iran, iranian, parsidate, rtl, gutenberg, acf, woocommerce
Requires at least: 5.3
Tested up to: 6.6.1
Stable tag: 5.1.1

Persian date support for WordPress.

Description

This package, created by Persian developers, enhances the Persian experience on WordPress by adding Shamsi (Jalali) calendar support, character issue fixes, and RTL compatibility for the WordPress back-end.

Key Features

  • Shamsi (Jalali) day-picker in Block Editor (Gutenberg)
  • Shamsi (Jalali) jQuery UI date-picker
  • WP-Planet.ir Widget
  • Shamsi (Jalali) dates in posts, comments, pages, archives, search, categories
  • Shamsi (Jalali) dates in permalinks
  • Shamsi (Jalali) dates in admin sections
  • Shamsi (Jalali) calendar and archive widgets
  • RTL support and tinymce editor adjustments
  • Persian features in WooCommerce and ACF
  • Functions for converting Arabic characters and numbers to Persian
  • Low resource usage

Installation

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

Screenshots

  1. Plugin main settings
  2. Conversions settings
  3. Tools
  4. Other plugin compatibility
  5. Persian datepicker in WooCommerce
  6. Persian date type in ACF

Changelog

5.1.0

  • Added HPOS compatibility and block-based gateways in WooCommerce
  • Added Iranian cities for WooCommerce
  • Introduced Persian datepicker in Block Editor
  • Fixed conflicts with Jetpack and DATE_W3C format
  • Resolved warnings and errors related to ACF, comments feed, and archive pages
  • Improved Persian date support in WooCommerce
  • Updated settings panel design and added Vazir font to admin area
  • Compatibility with WordPress 6.5x and WooCommerce 8.7x

Development Log

  • Improved handling of $wp_query in posts_where filter.
  • Fixed month dropdown bug in admin edit post date picker.

License

This project is licensed under the GPLv2 License - see the LICENSE.md file for details.