Title: Quran in Text and Audio
Author: Maidul
Published: <strong>June 11, 2023</strong>
Last modified: November 21, 2026

---

Search plugins

![](https://ps.w.org/quran-in-text-and-audio/assets/banner-772x250.jpg?rev=2924432)

![](https://ps.w.org/quran-in-text-and-audio/assets/icon-256x256.png?rev=2924427)

# Quran in Text and Audio

 By [Maidul](https://profiles.wordpress.org/maidulcu/)

[Download](https://downloads.wordpress.org/plugin/quran-in-text-and-audio.1.1.1.zip)

 * [Details](https://wordpress.org/plugins/quran-in-text-and-audio/#description)
 * [Reviews](https://wordpress.org/plugins/quran-in-text-and-audio/#reviews)
 *  [Installation](https://wordpress.org/plugins/quran-in-text-and-audio/#installation)
 * [Development](https://wordpress.org/plugins/quran-in-text-and-audio/#developers)

 [Support](https://wordpress.org/support/plugin/quran-in-text-and-audio/)

## Description

Quran in Text and Audio shows the Quran on a WordPress page: the Arabic text with
an English translation, and audio for every verse. Put a shortcode in a page or 
post and visitors can read, listen and follow along. It suits mosque, school and
community sites, and personal blogs.

The Arabic text and the English translation (Muhammad Asad) are loaded from the 
AlQuran.cloud API. Audio is the recitation of Mishary Alafasy (128 kbps) from the
Islamic Network audio CDN. Other translations and reciters are not available yet.
The plugin has no settings page; everything is controlled by the shortcodes below.

#### What you get

 * The full Quran with a side list of all 114 surahs, or a single surah.
 * Arabic text with clear ayah numbering, and the English translation under each
   verse.
 * A play button on every verse in the full Quran and single-surah views, and a 
   sticky audio player at the bottom of the screen that moves on to the next verse.
 * Bookmarks for favourite verses. They are kept in the visitor’s browser only.
 * A single ayah by number, or a random surah or ayah.
 * Responsive layout for phones and tablets.

### Shortcodes

Full Quran:

    ```
    [quran_full]
    ```

One surah (replace `1` with a surah number from 1 to 114):

    ```
    [quran_surah surah=1]
    ```

A random surah on each load of an uncached page:

    ```
    [quran_surah random=true]
    ```

One ayah, by its number in the whole Quran (1 to 6236, counted from the first verse
of the Quran; it is not a “surah and verse” pair):

    ```
    [quran_ayah ayah=1]
    ```

A random ayah:

    ```
    [quran_ayah random=true]
    ```

The single-ayah shortcode shows the text and the translation. It has no play button
or bookmark.

Note: if a page cache is active, a random surah or ayah is chosen when the page 
is cached and stays the same until the cache is cleared.

### External services

This plugin loads its content from two outside services. The calls are made by the
visitor’s browser when a page with a Quran shortcode is opened, so these services
receive the visitor’s IP address and the usual request headers. The plugin sends
no personal data of its own and stores nothing on your server.

#### AlQuran.cloud API

Provides the Arabic text, the English translation and the list of surahs, from https://
api.alquran.cloud/v1. Service: https://alquran.cloud. Terms: https://alquran.cloud/
terms-and-conditions.

#### Islamic Network audio CDN

Provides the verse recitation audio (Mishary Alafasy, 128 kbps) from https://cdn.
islamic.network/quran/audio/. Service: https://islamic.network. No separate terms
or privacy page was confirmed for this host; see the service’s own site.

#### Data stored in the visitor’s browser

Bookmarks and recently loaded surahs are saved in the browser’s localStorage. They
stay on the visitor’s device.

## Installation

INSTALL WITHIN WORDPRESS

 1. Visit the plugins page within your dashboard and select ‘Add New’
 2. Search for “Quran in Text and Audio”
 3. Activate “Quran in Text and Audio” from your Plugins page

INSTALL MANUALLY

 1. Upload `quran-in-text-and-audio` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### Which translations are included?

One: the English translation by Muhammad Asad. Other languages are not available
yet.

### Can I change the reciter?

Not yet. Audio is the recitation by Mishary Alafasy at 128 kbps.

### Where do the text and audio come from?

The text and translation come from the AlQuran.cloud API (https://alquran.cloud).
The audio files come from the Islamic Network CDN (https://cdn.islamic.network).
Both are requested by the visitor’s browser, not by your server.

### Does the plugin work if those services are down?

No. If the API or the audio host cannot be reached, the text or audio does not load.

### How do I show one verse?

Use `[quran_ayah ayah=N]`, where N is the verse number counted from the start of
the Quran (1 to 6236). The shortcode does not take a surah and verse pair.

### Where are bookmarks saved?

In the visitor’s own browser (localStorage). They are not stored on your site or
sent anywhere, and they do not follow the visitor to another device.

### Does it add a setting page or a block?

No. It uses shortcodes only.

## Reviews

![](https://secure.gravatar.com/avatar/f8a0e2f4a6a9a45856ac078d5785a7b1f8aa492b4078847f86f192ed41de1947?
s=60&d=retro&r=g)

### 󠀁[The Book ”HOLY Quran”](https://wordpress.org/support/topic/the-book-holy-quran/)󠁿

 [atif4238](https://profiles.wordpress.org/atif4238/) October 17, 2025 1 reply

The Holy Quran is the divine book of Allah, revealed as a complete guidance, mercy,
and light for all of humanity. It provides peace, direction, and the principles 
of success for every aspect of life. Every verse of the Quran is filled with blessings,
and reciting it brings immense reward. Among its chapters, Surah Yaseen is known
as the “heart of the Quran.” The Prophet Muhammad (peace be upon him) said, “Yaseen
is the heart of the Quran; whoever recites it seeking Allah’s pleasure, his sins
are forgiven.” Reciting Surah Yaseen brings peace to the heart, ease in difficulties,
and blessings in one’s life. Therefore, believers are encouraged to make its recitation
a daily habit.

 [ Read all 1 review ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/)

## Contributors & Developers

“Quran in Text and Audio” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Maidul ](https://profiles.wordpress.org/maidulcu/)

[Translate “Quran in Text and Audio” into your language.](https://translate.wordpress.org/projects/wp-plugins/quran-in-text-and-audio)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/quran-in-text-and-audio/),
check out the [SVN repository](https://plugins.svn.wordpress.org/quran-in-text-and-audio/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/quran-in-text-and-audio/)
by [RSS](https://plugins.trac.wordpress.org/log/quran-in-text-and-audio/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Compatibility: tested with WordPress 7.1.

#### 1.1.0

 * Security: Fixed attribute escaping in shortcodes (use esc_attr() for data attributes)
 * Security: Added input validation for shortcode parameters (surah: 1-114, ayah:
   1-6236)
 * Improved: Better error messaging for invalid shortcode parameters
 * Tested up to: 6.8.2

#### 1.0.9

 * Improved Surah sidebar UI layout with new design
 * Added Arabic Surah names to list
 * Enhanced typography and alignment for better readability
 * Fixed layout issue with long English Surah titles

#### 1.0.8

 * Updated css for ayat

#### 1.0.7

 * Added bookmark feature for individual ayahs with persistent storage in localStorage
 * Improved CSS styling for ayah number and bookmark icons for better visual alignment
 * Applied Arabic font to ayah numbers for consistent typography
 * Cleaned up JavaScript code for improved maintainability and performance
 * Removed inline CSS and moved styles to external stylesheet
 * Enhanced mobile responsiveness and spacing for better user experience

#### 1.0.6

 * Improve Audio play button, its go next one now
 * Added Sticky footer player bar

#### 1.0.5

 * Added quota-safe localStorage caching with TTL for surahs and ayahs
 * Implemented background prefetching of nearby surahs for faster navigation
 * Prefetches initial surahs in idle time after surah list load
 * Falls back gracefully if localStorage quota is exceeded
 * Optimized caching logic to reduce API calls while keeping content fresh
 * Maintained compatibility with existing API endpoints and frontend behavior

#### 1.0.4

 * Improved frontend JS: added fetch retry with timeout and graceful error messages
 * Escaped all dynamic HTML from API for XSS protection
 * Added ARIA labels and keyboard navigation for accessibility
 * Enhanced click handling to support nested elements inside buttons
 * Added loading indicators for ayahs and surahs
 * Maintained backwards compatibility with previous HTML structure

#### 1.0.3

 * Fix surah scroll bug
 * On select surah close sidebar menu

#### 1.0.2

 * Tested upto 6.6.2
 * Conditionally load css

#### 1.0.1

 * Update text domain
 * Conditionally load css
 * Small css color fix
 * Replace native php function with wordpress one

#### 1.0.0

 * Initial Release

## Meta

 *  Version **1.1.1**
 *  Last updated **4 days ago**
 *  Active installations **40+**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.0 or higher **
 * Tags
 * [Ayah](https://wordpress.org/plugins/tags/ayah/)[Islam](https://wordpress.org/plugins/tags/islam/)
   [Quran](https://wordpress.org/plugins/tags/quran/)[quran audio](https://wordpress.org/plugins/tags/quran-audio/)
   [surah](https://wordpress.org/plugins/tags/surah/)
 *  [Advanced View](https://wordpress.org/plugins/quran-in-text-and-audio/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/quran-in-text-and-audio/reviews/)

## Contributors

 *   [ Maidul ](https://profiles.wordpress.org/maidulcu/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/quran-in-text-and-audio/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://dynamicweblab.com)