Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author jewlofthelotus

    (@jewlofthelotus)

    I just saw this problem the other day but we didn’t figure out the issue – it shouldn’t have anything to do with multi-site.

    My initial guess was that lines 39-41 in slickquiz-front.php were the cause, but that’s within the load_resources method, so that doesn’t seem like it would be the issue for you.

    https://github.com/jewlofthelotus/SlickQuiz-WordPress/blob/master/php/slickquiz-front.php#L39-L41

    Can you tell if the constructor method in slickquiz-front.php is ever getting hit?

    Thread Starter joshparry73

    (@joshparry73)

    Yes the constructor does get hit.

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    Can you send me a link to a demo page with the shortcode added to take a look at?

    Thread Starter joshparry73

    (@joshparry73)

    Sure!

    Thanks for your quick help.

    https://myriadpro.com/myriad-myrisk-quiz/

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @joshparry73 can you make sure your theme’s footer.php template contains the following code snippet – this ensures that plugins are able to add necessary code to the page. More info here

    <?php wp_footer(); ?>

    Thread Starter joshparry73

    (@joshparry73)

    Yep. We do have the wp_footer in place. Do you need the footer.php code?
    I think I’ll install it locally tomorrow and set WP to the 2014 theme and see if I can narrow it down from there.

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    Hmm.. If you do set it up locally, I’d be very interested to hear the results.

    Usually when people have issues with the plugin not working, it’s missing scripts or other broken scripts on the page blocking SlickQuiz. Still in all these cases, the shortcode still gets parsed, so you can see the quiz, it just doesn’t work.

    In your case, the shortcode isn’t even getting parsed. Is the shortcode placed in some sort of special content area? Outside of page / post content or a widget?

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @joshparry73 I’ve included a fix in the latest release that should address this issue. If you’re still using SlickQuiz – give it a try and let me know if that resolves the issue!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘slickquiz.js and css is not loading using shortcode in page’ is closed to new replies.