WordPress.org

Ready to get started?Download WordPress

Forums

SlickQuiz
[resolved] Quiz not showing :( (12 posts)

  1. skibler
    Member
    Posted 4 months ago #

    I can see the quiz questions in preview - very nice looking! But does not show on the page where I have place the shortcode.

    I have tried the other suggestions you mentioned with no success.

    Here is the page I have loaded the quiz: http://www.wcpreventionpartners.org/test-quiz/

    Here is the error it is generating:
    Uncaught TypeError: Object #<Object> has no method 'on'
    admin-bar.min.js?ver=3.8.1:1

    Any ideas?

    https://wordpress.org/plugins/slickquiz/

  2. jewlofthelotus
    Member
    Plugin Author

    Posted 4 months ago #

    @skibier Yes! It looks like the Coin Slider plugin is adding an old version of jQuery to the page, which is overriding the built in, newer, WordPress include of jQuery. If you disable that plugin, the quiz should start working. Let me know if that does it!

  3. skibler
    Member
    Posted 4 months ago #

    That was it!!!! Thanks - and are you kidding me with the speed of that reply - amazing! Thank you for the great plugin!

  4. jewlofthelotus
    Member
    Plugin Author

    Posted 4 months ago #

    Glad to hear that did it! And thank you for using SlickQuiz! :)

  5. etiennedetec
    Member
    Posted 4 months ago #

    Hello,

    I have the same problem as skibler : I can see the preview of the quiz but it does not show on the page where I put the shortcode.
    Here is the web page :
    http://lenouveaudetective.com/quiz/
    I couldn't use the solution you gave because I'm really a beginner on wordpress and I don't know how to disable the old jQuery version (sorry!!). What's more, I'm not sure the problem's origin is the same, so I prefer asking your advice before doing anything.

  6. jewlofthelotus
    Member
    Plugin Author

    Posted 4 months ago #

    @etiennedetec 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. It looks like your theme may be missing this.

    <?php wp_footer(); ?>

  7. etiennedetec
    Member
    Posted 4 months ago #

    Thank you for your quick reply !
    The footer template didn't contain this code snippet, I added it and now the quiz works, thank you so much !
    One last thing: now, this code is visible at the bottom of my page :
    http://lenouveaudetective.com/quiz/

    Do you know how to make it invisible ?

    Here is the code of my footer template :

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content after
    *
    * @package tdtasko
    * @since tdtasko 1.0
    */
    ?>

    </div><!-- #main .site-main -->

    <footer id="colophon" class="site-footer row" role="contentinfo">
    <div id="gotop"><h6><?php _e( 'Top', 'tdtasko' ); ?></h6></div>
    <div class="site-info twelve columns">
    <?php do_action( 'tdtasko_credits' ); ?>
    <?php printf( __( 'Proudly powered by %s', 'tdtasko' ), '">WordPress' ); ?>
    <span class="sep"> | </span>
    <?php printf( __( 'Theme: %1$s by %2$s.', 'tdtasko' ), 'tdtasko', 'Taras Dashkevych' ); ?>
    </div><!-- .site-info -->
    </footer><!-- #colophon .site-footer -->
    </div><!-- #page .hfeed .site -->

    <?php wp_footer(); ?>
    <%php wp_footer(); %>

    </body>
    </html>

    mentions légales

  8. jewlofthelotus
    Member
    Plugin Author

    Posted 4 months ago #

    My bad, it should have been

    <?php wp_footer(); ?>

    rather then:

    <%php wp_footer(); %>

    So you can remove what you just added: <%php wp_footer(); %>

    But I do see you have the correct version too. So I'm not sure why adding it would have made things work all of a sudden, unless you have a caching plugin installed... Let me know if removing it breaks things again.

  9. etiennedetec
    Member
    Posted 4 months ago #

    thanks, it works !

  10. edenbraber
    Member
    Posted 3 months ago #

    Hi jewlofthelotus,

    I seem to have the same problem as Skibler, my Quiz used to work just fine. And it still works in preview mode.

    Can you see what's wrong?

    http://www.elmerdenbraber.nl/wat-weet-jij-over-de-nsb-quiz/#

    Thanks a lot!

    Regards,
    Elmer

  11. esmi
    Forum Moderator
    Posted 3 months ago #

    @edenbraber: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    This topic references an old version of WordPress.

  12. edenbraber
    Member
    Posted 3 months ago #

    @esmi thanks, posted a new topic.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.