PrayerTime Live – Salah & Namaz Times, Vaktija

Description

Show today’s prayer times on your mosque, community, school or news website. Pick a city and a look once — the times change by themselves every day, with a live countdown to the next prayer.

Four layouts

  • Wide – the countdown to the next prayer on the left, the day’s six times on the right
  • Tall – the countdown above, the times below, for a sidebar or a phone
  • Thin bar – city, countdown and all times in one row, for a header or a footer
  • Monthly – the whole month as a table with the Hijri dates, today highlighted, Fridays marked

The layouts adapt to the space they get: the wide one turns tall on a phone.

Themes from the PrayerTime Live app

  • Live sky – the colour of the time of day: dawn, day, sunset and night
  • Sepia, Silver, Midnight and Slate – calm colour sets, with your own accent colour if you like
  • Transparent – takes the colours of your theme

Made for real websites

  • Over 7,000 cities in every country, found by typing a few letters
  • The method used in each country: Umm al-Qura, Diyanet, ISNA, Muslim World League, Egyptian, Karachi, Tehran, Kemenag, JAKIM, MUIS, Gulf Region — or any of them by choice
  • For Bosnia and Herzegovina, Sandžak and Montenegro: the official vaktija of the Islamic Community
  • 10 languages: English, Bosnian, German, French, Turkish, Indonesian, Arabic, Urdu, Persian and Bengali — Arabic, Urdu and Persian right to left
  • Hijri date, sunrise, Hanafi Asr, the calculation method, 12- or 24-hour clock
  • A live preview in the settings: see every change before you save it
  • Plain HTML on your own page: fast, readable by search engines, no iframe, no cookies, no ads
  • Works with page caches: the next days come with the page, so a cached page still shows the right day

Three ways to add it

  • The Prayer Times block in the block editor
  • The [prayertime_live] shortcode anywhere, e.g. [prayertime_live city="ba/sarajevo" format="month" theme="sepia"]
  • The Prayer Times widget in a sidebar

The same prayer times as on PrayerTime Live, where you can also find the Qibla direction, the Holy Qur’an with audio and monthly timetables.

External services

This plugin gets the prayer times from the PrayerTime Live service (https://prayertime.live/), run by the authors of the plugin. Without it the plugin cannot show any times.

  • What is sent and when: when a page with the prayer times is shown and the times are not in the site’s cache yet (about twice a day per city and month), your server asks https://prayertime.live/api/wp.php for the month’s times of the chosen city, with the chosen calculation method and language. When you search for a city in the settings, the block or the widget form, the letters you type are sent to the same address. Like every request WordPress makes, it carries your site’s address in the User-Agent header; we use it only to count the sites that use the plugin.
  • What is not sent: nothing about your visitors. Visitors’ browsers never contact PrayerTime Live; the times are part of your own page. The plugin sets no cookies.
  • Terms of use: https://prayertime.live/terms-of-use — Privacy policy: https://prayertime.live/privacy-policy

Credits

  • Fonts: Space Grotesk (Florian Karsten) and Inter (Rasmus Andersson), both under the SIL Open Font License 1.1 (see assets/fonts/OFL.txt).

Screenshots

Blocks

This plugin provides 1 block.

  • Prayer Times Today’s prayer times of a city with a live countdown to the next prayer – wide, tall or as a thin bar – or the whole month as a table.

Installation

  1. Install the plugin from Plugins Add New, or upload the prayertime-live folder to /wp-content/plugins/.
  2. Activate it.
  3. Go to Settings PrayerTime Live, choose your city and the look.
  4. Add the Prayer Times block, the [prayertime_live] shortcode or the Prayer Times widget.

FAQ

Is it free?

Yes, completely: no ads, no account, no limits.

Where do the prayer times come from?

From the same calculation as the city pages of PrayerTime Live: the method used in each country, and for Bosnia and Herzegovina the official vaktija of the Islamic Community.

Do I have to update the times?

No. The times of the current day are shown and switch to the next day by themselves at midnight in the chosen city.

Does it add a link to my site?

Only if you want it. In Settings PrayerTime Live you can turn on a small link to the city’s prayer times on PrayerTime Live. It is off by default.

Which shortcode attributes are there?

city (e.g. ba/sarajevo, as in the settings), format (wide, tall, bar, month), theme (sky, sepia, silver, midnight, slate, clear, clearw), method (method id), lang (en, bs, de, fr, tr, id, ar, ur, fa, bn), options (letters: n city, d date, h hijri, c countdown, s sunrise, i icons, m method, a Hanafi Asr), accent (a colour such as #0f8f68), radius (0–28) and h12 (1 for AM/PM, 0 for 24 hours). Everything left out comes from the settings.

The times did not appear

The first time a city is shown, your server needs to reach https://prayertime.live. If your host blocks outgoing requests, ask them to allow it. Logged-in editors see a short note when the times cannot be loaded.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“PrayerTime Live – Salah & Namaz Times, Vaktija” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.2

  • The shortcode is now [prayertime_live].
  • Translations come from translate.wordpress.org.

1.1.1

  • The prayer times look the same in every theme: the theme’s styles for paragraphs, links, lists and tables no longer change them.
  • Finer alignment of the city, the date and the separator; the time left now sits under the name of the next prayer, so the time never touches the edge.

1.1.0

  • New look from the PrayerTime Live app: wide and tall layouts with a large countdown, a progress bar between the prayers and the day’s list.
  • New themes: Live sky (changes with the time of day), Sepia, Silver, Midnight and Slate.
  • The thin bar and the monthly timetable redesigned; the monthly table shows the Hijri dates.
  • A live preview in the settings, before saving.
  • 12- or 24-hour clock in the settings, the block and the widget.
  • The calculation method can be shown under the times.
  • Fonts are part of the plugin: nothing is loaded from other sites.

1.0.0

  • First version: card, bar, mini and monthly formats, the Prayer Times block, the shortcode and the widget, 10 languages.