In Progress

Customize SlickQuiz plugin

I am creating a quiz created with SlickQuiz, and wish to conditionally display a different SVG file (created with MapSVG) for each question and on the results page of the quiz.

The SVG files need to be displayed on a page using a shortcode, which can't (as far as I could determine) be inserted into the SlickQuiz plugin.

So I think the solution is to conditionally display the SVG on a page by putting the following PHP in a custom page template, above the shortcode that inserts the quiz:

<?php

$q = $question_number;

// load the svg for the next question - question 2

if ($q == 1) {

echo do_shortcode('[mapsvg id="467" title="My Q2 SVG"]');

// quesion 2 is the last question so load the svg for the results page

} elseif ($q == 2) {

echo do_shortcode('[mapsvg id="475" title="My results page SVG"]');

// no question number received so load the svg for q1

} else {

echo do_shortcode('[mapsvg id="475" title="My Q1 SVG"]');

}

?>

I have tested the above, by manually setting the $q variable, and it does indeed display the different SVG files above the quiz.

So what I need is someone who can write the javascript (AJAX call?) from the SlickQuiz plugin (possibly the js/[url removed, login to view] file) to send the current question number variable to be picked up by the php, each time the "Next >>" button or "Get Your Score>>" button is clicked.

If you think there is better approach to achieve this you should also suggest it before starting the work.

Note that you should develop and test on your own development environment as I cannot provide admin access to my live site.

Skills: AJAX, Javascript, PHP, WordPress

See more: plugin developers demand a better security release process after wordpress 4.2 3 breaks thousands of websites wordpress tavern w, customize profile page wordpress plugin, cforms plugin customize forms, audio player plugin customize html, software write mq4, customize email received godaddy formmailer, software write chip epson, customize similarity plugin, wordpress plugin ecommerce customize team, useful software write book, google calendar plugin blogger customize, customize commerce wordpress plugin, ecommercr plugin customize, software write web specs, customize eshop plugin, customize commerce plugin, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book

About the Employer:
( 2 reviews ) Rozelle, Australia

Project ID: #11919958

Awarded to:

picaro3535

Solution: Let's add a custom field in slick quiz plugin to add id of mapsvg. Then modify the SlickQuiz plugin to render svg for each quiz. This can be done in 2 ways: either modifying the SlickQuiz plugin or develop an More

$55 USD in 3 days
(5 Reviews)
3.8

10 freelancers are bidding on average $100 for this job

rajeshsonisl

Hello! With 98% to 99% completion rate, 900+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page [url removed, login to view] !!)... y More

$157 USD in 2 days
(772 Reviews)
8.2
A2Design

Hi, Nice project you have there, let us help you with it! Our team is Russian-Canadian. We code in PHP. Check our recent projects here [url removed, login to view] Here’s a little video about our team too! ht More

$100 USD in 1 day
(84 Reviews)
8.5
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$195 USD in 8 days
(348 Reviews)
8.1
danil2021

Hello , I have 5 years experience in php(mysql+html5,css3),wordpress(theme customization,plugin development,plugin integration,API integration) and E-commerce(payment integration,add to cart). [url removed, login to view] More

$83 USD in 10 days
(9 Reviews)
4.1
allWebDesignPro

A proposal has not yet been provided

$77 USD in 3 days
(5 Reviews)
3.4
bhaveshjnariya

Dear Hiring Manager, Greetings of the Day! I am professional website developer/designer. I have 4+ years of experience in this field. I'm very energized to provide my solutions for your job. Please you can get in More

$77 USD in 2 days
(11 Reviews)
3.4
debtonu1982

Hello, Plugin developer here. I can fill the gap of your Quiz plugin. I can register shortcode and complete the project. Ready to start NOW! Regards Tonu

$66 USD in 1 day
(2 Reviews)
2.3
IBITOL2016

Hi, I have read your description, I have few questions about the project. please initiate chat to discuss more about the project. Thanks and Regards, iBitol

$83 USD in 10 days
(6 Reviews)
2.1
hirok87

Hello, WordPress based developer here. I can develop/customize plugin. I can register shortcode for your, so that your target can be achieve. Ready to start. Regards Hirok

$111 USD in 1 day
(1 Review)
0.4
lomonxx

A proposal has not yet been provided

$77 USD in 5 days
(0 Reviews)
0.0
$66 USD in 6 days
(0 Reviews)
0.0