這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Qu'ran

外掛說明

WP Qu’ran plugin allow you to embed any verse of the Qu’ran. No more hassle with bad copy pasting of verses, no mistake with the number of the verse or the name of the surah, no more issue with the translation, you can display the verse in many languages and have the arabic version next to it with the audio of the recitation as well.

You have the same output in the frontend, you can display the verse in a translated language like French and then in arabic, then you have the verse number and surah name and number for reference.

The surah, editions, and verses data are all available under the public API of https://alquran.cloud/api.

The plugin is just using this data to allow you to embed any of this data inside your WordPress website.
There is no API call done in the frontend of your website, the plugin call the different API endpoints only in the backend when you’re writing your article inside the block editor.
The output of the block you see in the editor will be exactly the same in the frontend (and this content is saved in your post_content column in wp_posts table like a normal WordPress website) except if you have some custom CSS rules.

You can see the terms of use of the API. Thanks to the Islamic Network to allow us to use this amazing API to give you the ability to display any verse of the Qu’ran on your website.

You are highly encouraged to give any feedback to improve the plugin.

You can contribute to the plugin in the github repository.

螢幕擷圖

  • How to configure a verse of the Qu'ran in the block editor
  • The output of the block in the block editor
  • The output of the block in the frontend

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • WP Qu'ran

安裝方式

Automatic Install

  1. Log into your WordPress dashboard and go to Plugins → Add New
  2. Search for “Wp Qu’ran”
  3. Click “Install Now” under the Wp Qu’ran plugin
  4. Click “Activate Now”
  5. Write a new post and search for ‘wpmuslim/wp-quran’ block.

Manual Install

  1. Download the plugin from the download button on this page
  2. Unzip the file, and upload the resulting wp-quran folder to your /wp-content/plugins directory
  3. Log into your WordPress dashboard and go to Plugins
  4. Click “Activate” under the Wp Qu’ran plugin

使用者評論

2021 年 9 月 29 日
thank you for this useful plugin. I need to this plugin but it not working with the new version of WordPress . when you update this? with the best regard. your Brother.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Qu'ran〉的開發相關工作。

參與者

將〈WP Qu'ran〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2.0 – 3rd November 2020

  • Feature: You can now play the audio recitation of the arabic verse.
  • Fix: The arabic verse is now displayed as text-align right.
  • Tweak: Improve style of the arabic verse.

0.1.0 – 25th October 2020

  • Initial version of the plugin. Please test it and provide valuable feedback to improve it.