Shortcode loads on page but does not contain survey
-
After completing the wizard for my first survey, I copied and pasted the shortcode into a block on a test page. When I view the page, nothing appears. Looking at the page source, I see this:
<div class="userfeedback-survey-shortcode" data-survey-id="1"> <div class="userfeedback-survey-container" data-id="1"></div> </div>
…which indicates that the shortcode is being sent, but it contains nothing.
I looked at the code (in UserFeedback_Shortcodes->handle_survey_shortcode()) and there nothing in the return value besides what’s shown above—i.e., only empty div’s.
Is this plugin designed to be used as a shortcode? What am I missing?
Mark Pemburn
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode loads on page but does not contain survey’ is closed to new replies.