With this plugin you can show on your nice blog a sura with certain verse of al-quran.
This plugin also display to you the image of certain sura and verse.
How To user this plugin:
- Please download Plugin:WP-Quran (wp-quran.zip)
- Extract wp-quran.zip on your plugins directory.
- There is 2 ways that can be use with this plugin
- Call it directly with in your php page.
Example code:- show_quran(114,1,'id',1);
Explaination:
- This function have 8 parameters. Yap, if we write all of parameters, it structure can be like:
- show_quran(114,1,'id',1,1,'http://ahlul.web.id/quran.css',1,1);
- Parameters identify as:
- Number of sura ( 1 - 114).
- Number of verse.
- Language (availabe: ‘id’ and ‘en’).
- Option image of verse (Set 1 to show or 0 to show verse without image)
- Navigation (Set 1 to show quran navigation or 0 if you want to hide it)
- CSS Link, set CSS of your wp-quran plugin (leave empty to use wp-quran default)
- Search Form (Set 1 to show search form for your wp-quran, set 0 to hide it)
- Credit
just for information for the other. Please dont remove
- Have to declare function with full parameters?
He2i think, if we declare function with full parameters it so difficult.
So, if you want to use default parameters, just declare:- show_quran(114,1,'id');
or
- show_quran(114,0,'en');
- Write it on your post/page with special tag.
Example Code:Explaination:
- This tag will display wp-quran on your post or page.
- The tag have 4 parameters on it devide by “:”.
- Number of sura ( 1 - 114).
- Number of verse.
- Language (availabe: id and en).
- Option image of verse (Set 1 to show or 0 to show verse without image)
-
- Call it directly with in your php page.
- How to display wp-quran with randomize?
Just set Sura number and or verse number to 0.
artikel dari http://ahlul.web.id/
Share