Modify PHP code for WordPress: a Quran display code


[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.

Skills: Arabic, HTML5, Javascript, PHP, WordPress

See more: wordpress codex, web designing code in php, translation persian to english, translation from english to arabic text, the meaning of web designing, php code for, php 2 version need only one, persian translation to english, Persian to English translation, i want to read quran in english arabic translation, i need a menu designing, english to persian translation, designing for wordpress, codex wordpress org, codex wordpress, codes for web designing, code org 1, code for designing web, arabic trans, 8 line verse

About the Employer:
( 4 reviews ) Kabul, Afghanistan

Project ID: #7197590

Awarded to:


Hello ojoya! I've read your description and checked code from [login to view URL], please check my solution for your project. Menu button (compare with: "[login to view URL]") will consist of 2 selec More

€50 EUR in 5 days
(11 Reviews)

5 freelancers are bidding on average €50 for this job


Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! More

€68 EUR in 3 days
(89 Reviews)

Hello there, accept my greetings for your project. I saw your requirements for the project and sample that you include with this. According to your view, you need an excellent developer that has knowledge about CSS, HT More

€38 EUR in 1 day
(94 Reviews)

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

€53 EUR in 3 days
(0 Reviews)

Project Dear sir/madam I am Dhruv Patel ,I Am working In Agnide Tech, I have lots of Experience On developing websites and Software in Different language like ...............! PHP, Wordpress,Joomla,CakePHPDevlopme More

€39 EUR in 3 days
(0 Reviews)