[WordPress] 外掛分享: WP Qu’ran

首頁外掛目錄 › WP Qu'ran
WordPress 外掛 WP Qu'ran 的封面圖片
20+
安裝啟用
★★★★★
5/5 分(1 則評價)
1943 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.6+ v0.2.0 上架:2020-10-29

內容簡介

WP Qu’ran 外掛可讓您嵌入任何句子,包括《古蘭經》中的任何詩句。不再需要費心地複製粘貼句子,也不再出現詩句號碼或章節名稱錯誤的問題,同時還可以顯示多種語言翻譯以及詩句的原文及錄音。

您可以在前端網頁上看到相同的輸出,將詩句顯示為另一種語言,例如法語,再顯示原文及其詩號和章節名稱可供參考。

《古蘭經》版本和詩句數據都可以在公共 API 的https://alquran.cloud/api下找到。

此外掛僅使用此數據,讓您可以在 WordPress 網站中嵌入該數據之一。
在您撰寫文章時,為了在前端網頁上獲得正確的輸出,此外掛僅在後台調用不同的 API 端點,並沒有在前端網頁上進行 API 調用。
您在編輯器中看到的區塊輸出在前端網頁上會完全相同(這個內容保存在 wp_posts 表的 post_content 欄位中,就像普通的 WordPress 網站一樣),除非您有某些自定義的 CSS 規則。

您可以查看API 使用條款。感謝穆斯林社區允許我們使用這個令人驚嘆的 API,讓您在網站上顯示任何《古蘭經》詩句。

非常歡迎您提供任何反饋來改善此外掛程式。

您可以在Github 存儲庫中貢獻程式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon