该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP-Hijri

描述

This plugin Allows you to display dates in Hijri, Gregorian or both your site. You can display the both Hijri and Gregorian dates in single format. You can Also remain using Gregorian Date Without need to inactivate the plugin. The plugin Allows you to change URLs to Hijri. And Contains Hijri Calendar and Archive widgets fully equivalent to original WordPress widgets.

产品特点

  • Displays dates in posts and pages in Hijri, Gregorian or both (Hijri and Gregorian) by changing the date format.
  • You can Also remain using Gregorian Date Without need to inactivate the plugin.
  • Custom formats for (Hijri and Gregorian) dates.
  • Allows you to force all dates in WordPress to return Hijri dates
  • Allows you to adjust the start of Hijri month to sync with crescent sighting and the adjustments saved to database.
  • Allows to use Hijri Calendar in URLs.
  • Outputs the Hijri date in 20 international languages.
  • Has Two algorithms for calculting the Hijri Date: ( Um Al Qura algorithm and Tabular algorithm ).
  • Widget : Hijri Calendar
    fully equivalent to original WordPress Calendar widget. This widget can work togather with the original WordPress Calendar widget without any conflicts.
  • Widget : Hijri Archives.
    fully equivalent to original WordPress Archives widget. This widget can work togather with the original WordPress Archives widget without any conflicts.
  • Shortcode : [wp_hijri_date]
    This shortcode helps to add it in posts, pages or any post type to make it easy to convert the Gregorian date to custom format.
    Ex.: [wp_hijri_date date=”2019-06-03″ lang=”en” custom_format=”D _d-_m-_Y (d-m-Y)”]
  • Multisite support.

翻译

  • Arabic
  • 英文

屏幕截图

  • Settings Page.
  • Test Hijri date.
  • Custom widgets in sidebar for Hijri date.
  • Test all widgets for Hijri date.
  • Test for force all dates to return Hijri dates.
  • Add all formats Hijri date to general settings.

安装

Installation Automatically

  1. Click Plugins in the menu dashboard.
  2. Click Add New.
  3. Upload and choose “WP-Hijri.zip” file and activate directly.
  4. After activated plugin you can see sub page of settings inside “Settings” menu.

Installation Manually

  1. Download the plugin to your computer.
  2. Unzip the file and upload it to the “/wp-content/plugins/” by using FTP or Cpanel.
  3. Activate the plugin through the “Plugins” menu in WordPress dashboard.
  4. After activated plugin you can see sub page of settings inside “Settings” menu.

评价

2020 年 6 月 22 日
Salam, Great plugin, but it stopped working when updating to php 7.3 Any new updates?
2016 年 9 月 3 日
شكرا جزيلا لكم على اﻹضافة الرائعة، نرجو منكم المزيد من اﻹضافات اﻹسلامية وشكرا لكم.
2016 年 9 月 3 日
شكراً لكما محمد عكفي وسعيد حبيشان على هذه الاضافة الرائعة التي تثري المحتوى العربي والاسلامي على الانترنت. تعجز الكلمات عن الوفاء لكما لقاء ما بذلتموه. أتمنى لكم التوفيق في جميع أعمالمكم إبراهيم الشريف
2016 年 9 月 3 日
السلام عليكم ياسلام عليكم يامبدعين، شغل نظيف وإضافة أنيقة تعمل بسهولة وواضحة، والخيارات موزونة جربتها مع قالبنا والنتيجة ممتازة صديقي محمد عكفي والأخ سعيد حبيشان، أسأل المولى أن ييسر لكم كل خير ويبارك في جهودكم
阅读所有8条评价

贡献者及开发者

“WP-Hijri” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「WP-Hijri」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“WP-Hijri”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.5.2

  • Some minor fixes.
  • uses new HijriDateLib v2.3.2.
  • Tested with WP 6.2.X

1.5.1

  • Some minor fixes.
  • Tested with WP 5.9

1.5.0

  • Multisite support.
  • Fix TimeZone with wp_date() function.
  • Fix shortcode with TimeZone
  • Throw shortcode lang parameter. Now the shortcode return formatted date with WP-Hijri language option for Hijri and with WP language for Gregorian.
  • Some minor fixes.
  • Tested with WP 5.5.1

1.4.0

  • Tested with WP 5.3.X
  • Handle new wp_date() function with handle_date_i18n()

1.3.1

  • Some minor fixes.

1.3.0

  • Tested with WP 5.X.X
  • Added new shortcode that called [wp_hijri_date].
  • Added custom format date in possible starts section.
  • Some minor fixes.

1.2.0

  • uses new HijriDateLib v2.3.0.
  • fix bug when change WP language to un supported language while WP-Hijri language set to System Language.
  • fix bug handling Hijri archive URL using M query var.
  • some language corrections.

1.1.2

  • Some incompatible syntaxes with php 5.3 were fixed.

1.1.1

  • Some incompatible syntaxes with php 5.3 were fixed.
  • Use HijriDateLib ver 2.2.1.

1.1.0

  • Add a filter for new WP 4.4 title function.
  • Calendar widget now send to Hijri Date URL.
  • Some minor fixes.

1.0.0

  • First released version.