[url removed, login to view] has published a sample encoding for displaying the Quran with a translation. See here: [url removed, login to view]
Basically, it uses three files: one UTF-8 text file for the Quran in Arabic; one UTF-8 text file for the translation; and an XML metada file. In the UTF-8 text files, each line corresponds to a single verse of the Qruan. So the encoding reads the three files and displays the Arabic text of Quran with its Translation, verse by verse.
I would like to adapt this to my WordPress template ([url removed, login to view]) with some modifications.
In the original [url removed, login to view] code, there is only 1 text submit button; where the user enters the number of the Surah (chapter) of Quran he wants to read, and then it displays the requested Surah beneath. The English translation version is also coded as “default” in this sample code.
I want to bring 2 modifications in the coding:
1) I want to have 3 options to submit (instead of only one that we have right now which is a Text submit). I want to have one Select Menu Button for selecting a translation file/version (FYI, I will have two Translations, both in Persian); one Select Menu Button to select the Surah of Quran you want to read; and one Select Menu Button to select the Juz (chapter of Quran, but different from Surah) you want to read. Basically the last two are inter-changeable; meaning either the user wants to display a Surah with the selected translation, OR he wants to display a Juz with the selected translation. So we could perhaps have 2 submit buttons, one for “translation+surah” value and one for “translation+Juz” value.
2) Change the PHP encoding to adapt it to the WordPress codex environment. You may need to introduce the wordpress shortcodes, change the codes that “echo” to “return”, etc. Basically, I want the coding to perfectly work in my wordpress. I prefer that we put the PHP codes in a template file ([url removed, login to view]) and depend less on plugins to the extent possible. (I have used EXEC-PHP plugin, it looks helpful.)
No further web-designing etc. is needed. You just need to hand over the modified coding to me and I will put it in my server. BUT THE PROJECT WILL NOT BE CONSIDERED AS DELIVERED IF IT DOESN’T WORK ON MY WORDPRESS. I will only make the payment if it is tested and works in my wordpress.
Please don’t bid if you are not familiar with the Quran structure.
5 freelancers are bidding on average €50 for this job
Hi, I have experience and talent. I can start right away. There are more than tons website i have made. Please let me know how to discuss and proceed further. Thanks Prerna