Skip to content

Shortcode reference

Every MasjidOS shortcode with its attributes and defaults.

On this page
  1. Prayer times and calendar
  2. [masjidos_prayer_times]
  3. [masjidos_monthly_prayer_times]
  4. [masjidos_islamic_calendar]
  5. Jumuah and Minbar
  6. [masjidos_jumuah]
  7. [masjidos_khatib_this_week]
  8. [masjidos_upcoming_khutbah]
  9. [masjidos_khutbah_archive]
  10. [masjidos_khutbah_search]
  11. Notices and events
  12. [masjidos_announcements]
  13. [masjidos_events]
  14. Learning
  15. [masjidos_duas_azkar]
  16. [masjidos_quran_verse]
  17. [masjidos_hadith]
  18. [masjidos_allah_names]
  19. [masjidos_audio_quran]
  20. [masjidos_articles]
  21. [masjidos_ask_imam] and [masjidos_imam_answers]
  22. Pro shortcodes

Every free shortcode below accepts title and, unless noted, language (en, bn or ar). When you leave language out, the widget follows the language chosen in MasjidOS settings. Values in bold are the defaults. MasjidOS → Docs in the admin has the same list plus generators.

Prayer times and calendar

[masjidos_prayer_times]

  • design: classic, compact
  • qibla, meta, iqamah, hijri: yes or no
  • compact: yes or no
[masjidos_prayer_times design="compact" language="bn" qibla="no"]

[masjidos_monthly_prayer_times]

  • design: table, compact
  • month and year: a fixed month. Leave empty for the current month.
  • iqamah: yes or no
  • navigation: yes or no (month and year controls)
  • extras: yes or no (adds Ishraq and Zawal columns)

[masjidos_islamic_calendar]

  • month and year: a fixed month
  • navigation: yes or no

Jumuah and Minbar

[masjidos_jumuah]

  • design: classic, compact
  • meta: yes or no (khatib, topic and language)

[masjidos_khatib_this_week]

Next Friday’s khatib from the Minbar roster. No other attributes.

[masjidos_upcoming_khutbah]

  • limit: 5

[masjidos_khutbah_archive]

  • limit: 12
  • category: a category to filter by
  • limit: 6

Notices and events

[masjidos_announcements]

  • design: list, ticker, banner, popup
  • type: all, general, urgent, jumuah
  • limit: 5
  • show_date: yes or no

[masjidos_events]

  • design: list
  • limit: 5

Learning

[masjidos_duas_azkar]

  • category: all, or a dua category such as morning
  • limit: 4
  • design: cards
  • source, counter, share, audio: yes or no

[masjidos_quran_verse]

  • design: classic
  • share, tafsir: yes or no

[masjidos_hadith]

  • design: classic
  • share: yes or no

[masjidos_allah_names]

  • design: grid
  • limit: 99

[masjidos_audio_quran]

  • design: classic

[masjidos_articles]

  • category: filter by article category
  • limit: 6
  • excerpt: yes or no
  • design: grid

[masjidos_ask_imam] and [masjidos_imam_answers]

The first shows a question form. The second lists answered questions: limit (10) and category.

Pro shortcodes

MasjidOS Pro adds [masjidos_donation_form], [masjidos_campaign], [masjidos_financials], [masjidos_collections], [masjidos_transparency_report], [masjidos_members], [masjidos_facility_booking], [masjidos_classes] and [masjidos_volunteers]. See the Pro guides.

Find your product