@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!