Viewing 15 replies - 46 through 60 (of 87 total)
  • Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @rrackow – I haven’t forgotten about you! I’m still trying to figure out what the problem is here… This one is stumping me pretty good ??

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @rrackow – I had a thought.

    If you’re going to include the quiz in your sidebar, then it’s going to be on every page. RIght?

    The line that I had you modify previously, where the problem seems to be, is intended to check if a SlickQuiz shortcode is in the post / page / text widget and then add the JavaScript / CSS resources ONLY if the shortcode is found. This ensures that we’re not loading resources and slowing down the page load time if we don’t have to.

    But, like I said, if you’re putting the quiz in the sidebar and it will indeed show up on every page, then that check isn’t absolutely necessary. You will need the resources regardless. So here’s what you can do, at least in the meantime –

    With the plugin editor in WP, change lines 39-40 of /php/slickquiz-front.php from:


    preg_match( '/\[\s*slickquiz[^\]]*\]/is', $content, $matches );
    if ( !count( $matches) ) return $content;

    to


    // preg_match( '/\[\s*slickquiz[^\]]*\]/is', $content, $matches );
    // if ( !count( $matches) ) return $content;

    That will disable the check and should allow the scripts to load on every page.

    Keep in mind that if you update the plugin, these changes will be lost – so if you do decide to update, you will need to apply that change again.

    Hopefully this will fix the issue for you, and hopefully I’ll be able to find a more permanent solution! Thanks for your patience!

    Great! Looks like it’s going to work. Last question. If I select Publish Quiz now, but put it in a post that’s scheduled to go live next week, will the Quiz override the WordPress option to delay posting?

    I think I read that if I click Publish Now it will publish immediately.

    Thanks for the speedy reply! You guys/gals are awesome.

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @reason100 – no the quiz will not override WP post publishing setting. If you had the quiz on multiple posts, for example, and one of them was published – the quizzes “publish” setting would effect that one, but not a post that isn’t yet published. Hope that makes sense.

    Glad to hear you got it working!

    makes perfect sense, thanks!

    Hi,
    I’m also having problems with getting my quiz to appear. I published the quiz and then put the code into the post but all I get is ‘Get Started’in green and no quiz when I click on those words. Can someone please advise?
    Thanks,
    The Word

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @the Word – Hmm, could you send me your page source code via pastebin.com? I’ll have to see what’s going on in order to get you a fix. It sounds like there might be a conflict with another plugin or the theme. Thanks!

    Hi Jewlofthelotus,
    Thanks for your prompt response.
    Please excuse my ignorance, but how do I find then paste the source code via pastebin?
    Thanks in advance,
    The Word

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @the Word – no problem, I should’ve been more detailed to begin with.

    You can get the source code by:

    loading the page that isn’t working ->
    right clicking on the page ->
    selecting “View Source” (or something similar depending on the browser) ->
    copying all the code that shows up on the page that opens ->
    going to pastebin.com ->
    pasting all the code you just copied into the big text box ->
    clicking submit ->
    copying the link that pastebin provides and then posting that here for me

    Let me know if you have any trouble with that!

    Hi Jewlofthelotus,
    Again, thanks for your speedy response and clear instructions.

    Here is the pastebin link: https://pastebin.com/mRMGPtfs

    Thanks in advance for your help.

    Regards,
    The Word

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @the Word – hmmm, unfortunately that doesn’t look like all the code of the page. Do you have the page with the broken quiz on it published right now? If so, you could send me the link to the page.

    It’s saved as a draft. I can’t publish it because it will interfere with our publishing schedule.

    I’ll try again in a moment.

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    @the Word – no problem, just be sure that the page you load in my instructions above is the Preview page for that draft. Copy the source of that and we should be good.

    Hi again,
    What I pasted was from the edit page. I hope this is right: https://pastebin.com/Q13ApFWh

    Again thanks for your help

    Plugin Author jewlofthelotus

    (@jewlofthelotus)

    Hmmm, that’s still not quite right. It still looks like that is only a small part of the page….

    Are you at all able to place the quiz code on a new published page that can’t be seen by your users and send me the link to that?

    Otherwise, make sure that when you copy and paste the source code that you’re copying all of it. You could also send me the URL of the source code page, just so I can make sure it looks like the right page.

Viewing 15 replies - 46 through 60 (of 87 total)
  • The topic ‘[Plugin: SlickQuiz] Quiz Not Showing in Post’ is closed to new replies.