Shortcode reference
Every MasjidOS shortcode with its attributes and defaults.
On this page
- Prayer times and calendar
- [masjidos_prayer_times]
- [masjidos_monthly_prayer_times]
- [masjidos_islamic_calendar]
- Jumuah and Minbar
- [masjidos_jumuah]
- [masjidos_khatib_this_week]
- [masjidos_upcoming_khutbah]
- [masjidos_khutbah_archive]
- [masjidos_khutbah_search]
- Notices and events
- [masjidos_announcements]
- [masjidos_events]
- Learning
- [masjidos_duas_azkar]
- [masjidos_quran_verse]
- [masjidos_hadith]
- [masjidos_allah_names]
- [masjidos_audio_quran]
- [masjidos_articles]
- [masjidos_ask_imam] and [masjidos_imam_answers]
- 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, compactqibla,meta,iqamah,hijri: yes or nocompact: yes or no
[masjidos_prayer_times design="compact" language="bn" qibla="no"]
[masjidos_monthly_prayer_times]
design: table, compactmonthandyear: a fixed month. Leave empty for the current month.iqamah: yes or nonavigation: yes or no (month and year controls)extras: yes or no (adds Ishraq and Zawal columns)
[masjidos_islamic_calendar]
monthandyear: a fixed monthnavigation: yes or no
Jumuah and Minbar
[masjidos_jumuah]
design: classic, compactmeta: 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: 12category: a category to filter by
[masjidos_khutbah_search]
limit: 6
Notices and events
[masjidos_announcements]
design: list, ticker, banner, popuptype: all, general, urgent, jumuahlimit: 5show_date: yes or no
[masjidos_events]
design: listlimit: 5
Learning
[masjidos_duas_azkar]
category: all, or a dua category such as morninglimit: 4design: cardssource,counter,share,audio: yes or no
[masjidos_quran_verse]
design: classicshare,tafsir: yes or no
[masjidos_hadith]
design: classicshare: yes or no
[masjidos_allah_names]
design: gridlimit: 99
[masjidos_audio_quran]
design: classic
[masjidos_articles]
category: filter by article categorylimit: 6excerpt: yes or nodesign: 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.