Random Hadith WordPress 1.5 Plugin (Not tested on 1.2 – tester required)
Download the plug-in (ZIP) and extract. Open your Sidebar.php or any template file and add the to where you want the Hadith to show. To decorate the script just add the < ul> and tags (or any other appropriate tags you want). An example of the code you can insert into the sidebar: After this upload
- 01Download the plug-in (ZIP) and extract.
- 02Open your Sidebar.php or any template file and add the to where you want the Hadith to show.
- 03To decorate the script just add the
<
ul> and
tags (or any other appropriate tags you want).
- 04An example of the code you can insert into the sidebar:
After this upload the plug-in to your wp-content/plugins directory and activate it in the admin panel. Your Random Hadith should then show up depending on where you have initiated the script.
The advantage of using this plug-in is that you can put the anywhere on the website! You can even have it after every post.
Special thanks to Kemas Yunus Antonius for the Random Hadith Script, and Jamie Talbot for helping with the Plugin Programming!
Usayd Younis