Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've already read the suggestion to use google forms to conduct a survey, however google will not allow me to have images as answers to select in the survey. Based on my satisfaction with KwikSurvey.com I decided to stick with them. They provide an html code to embed the survey into another site which looks like this

<iframe src="http://linktosurvey.com" style="border:1px  solid;" name="Online Survey" scrolling="auto" frameborder="yes" align="center" height = "600px" width="800px"></iframe><span id="take-survey" style="display:none;"></span></div>

I paste this into 'html' on my WordPress page in which I'd like the survey to appear, but all it does is throw up the 800x600 border with a transparent fill. I'm an html rookie, but I believe there should be a "< div >" at the front of the iframe code, but that didn't seem to help.

Any help is much appreciated. While I'm at it, I might as well ask if anybody has a good way of using a google form in which answer choices are just images, which I mentioned before I couldn't figure out how to do. If I can do that, that'd eliminate the need for KwikSurvey.com altogether.

share|improve this question
close-voted as too localized – Eugene Manuilov May 22 '12 at 14:01
Close-voted because the problem was the fault of the third-party service and the OP hasn't answered/closed the question. – developdaly Nov 30 '12 at 22:12
@developdaly You cannot cast close votes. – toscho Nov 30 '12 at 22:17
Down-voted and close-flagged. – developdaly Nov 30 '12 at 22:21

closed as too localized by toscho Nov 30 '12 at 22:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

WordPress can handle any content you throw at it.

In this case, you probably should just create a custom Page template to contain the survey embed code. e.g.:

<?php
/**
 * Template Name: KwikSurvey
 */

?>

<iframe src="http://linktosurvey.com" style="border:1px  solid;" name="Online Survey" scrolling="auto" frameborder="yes" align="center" height = "600px" width="800px"></iframe><span id="take-survey" style="display:none;"></span></div>

Just name the file template-kwiksurvey.php, and place it in your Theme's root directory.

Then, create a new static Page, and choose the "KwikSurvey" template under "Page Attributes". Publish the page, and you're done.

share|improve this answer
Belated thanks for the advice @Chip! Turns out that the issues I was encountering were actually on Kwik Survey's end--their survey wasn't cooperating with the iframe, but somehow now's it's fixed! Plus, their code was missing a < div >. Oops. – dirtychamois Jun 1 '12 at 3:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.