• Resolved mpemburn

    (@mpemburn)


    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)
  • Plugin Support Michelle D.

    (@devmich)

    Hi @mpemburn,

    Thanks for reaching out. I’m sorry for the trouble here.

    If you are logged into your WordPress site as an Administrator, your UserFeedback survey will appear hidden when you browse your site, but it will load for all of your site visitors without issue.

    If you would like to double check this, first make sure the survey has been published. Then try logging out of your WordPress site or try visiting your website in an incognito or private browsing window to see your survey in action.

    I hope this helps, but let me know if you have further questions ??

    Thanks!

    Thread Starter mpemburn

    (@mpemburn)

    Thanks @devmich—that was what I needed to know!

    Plugin Support Michelle D.

    (@devmich)

    Hi @mpemburn,?

    I’m glad to hear! I’ll go ahead and mark this post as resolved, but if you’d like more help with using UserFeedback Lite, please feel free to reach out again.

    Thanks!

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.