Write some Software

Completed Posted May 3, 2016 Paid on delivery
Completed Paid on delivery

I am trying to help develop a WordPress site for a charity committed to saving endangered species. They want to link to a resource on a site called Arkive that provides images of various species and who provide an API to access the images.

I have generated the required code using the API wizard. This is a JavaScript / HTML function which calls an external JS file. The function passes the user key and image parameters to the JS file and displays the image at an appropriate position on the page.

Using a non-WordPress page created using WebPlus the image displays correctly and without problem.

Transferring the code to a WP page doesn't work. I have installed the 'Code Embed' plugin which should facilitate correct embedding of JavaScript into WordPress but it still refuses to work. From the Chrome debugger it would appear that the callback function is failing but it is not clear why. My understanding is that WP has issues with embedded JavaScript.

I have attached the calling function and remote JS file codes. I have obscured the actual ID Key which will be provided to the successful Freelancer. The instructions for the API are included in a PDF.

I just need to know how to correctly embed the JavaScript call on a WP Post or Project page so that it displays the required image.

HTML5 JavaScript WordPress

Project ID: #10398637

About the project

4 proposals Remote project Active May 3, 2016

Awarded to:

anupamjain7

11 years experience in software engineering (with 6+ years at IBM Research). I work in the social impact space, so am happy to work on this (since you are doing this for social impact also). I have built a wordpress si More

£13 GBP in 3 days
(2 Reviews)
4.1

4 freelancers are bidding on average £17 for this job

yogeshssanwal

Hi there - My name is Yogesh. I’ve read your brief..My team has 4 years experience designing and developing mobile apps and Websites.I would approach your project by starting with wireframes and getting the site comple More

£18 GBP in 1 day
(222 Reviews)
6.9
BespokeDMedia

Hello Sir I have completely understood your requirement and willing to do this job for you. I am having strong command over wordpress and hence will do this job in an exceptional way. I am having expert team of d More

£17 GBP in 1 day
(1 Review)
0.0