這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Features

  • 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.

Translations

  • Arabic
  • English

螢幕擷圖

  • 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.