Add Images of Islamic Phrases to Your WordPress Posts using Shortcodes
// January 24th, 2012 // Blog
For those who don't follow me on Twitter, just an update that I recently released my first WordPress plugin, called Islamic Graphics. It's a very simple script that allows self-hosted WordPress bloggers to embed images of common Islamic phrases into their posts and pages via shortcodes.
- 'alayhis salam – (peace be upon him)
- rahimaha Allāh – (may Allāh have mercy upon her)
- rahimahu Allāh – (may Allāh have mercy upon him)
- rahimahum Allāh – (may Allāh have mercy upon them)
- radiallahu 'anha – (may Allāh be pleased with her)
- radiallahu 'anhu – (may Allāh be pleased with him)
- radiallahu 'anhum – (may Allāh be pleased with them)
- sallalahu 'alayhi wa salam – (peace and blessings of Allāh be upon him)
- subhanahu wa ta 'ala – (glorified and exalted be He)
A black version of each graphic is also provided, and there are also options to include text. Full preview available on my MuslimMatters post, which is also where I log plugin updates.
Download the Islamic Graphics plugin from the WordPress.org repository – don't forget to rate it. :)
Inshā’Allāh I plan to release another more complex WordPress plugin sometime soon. This development work is part of a forthcoming MuslimMatters website upgrade. It has served as a good excuse for me to learn PHP. Turns out it is similar to Perl, which reduced the learning curve alhamdulillah. :)