Title: Plugin not working
Last modified: August 22, 2016

---

# Plugin not working

 *  Resolved [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/)
 * Hi, I’m excited about this plugin but can’t seem to get it to work on the blog
   post nor on my website in general.
 * Here’s a test page [http://www.parlate.ca/test-quiz/#](http://www.parlate.ca/test-quiz/#)
 * I’ve read through the thread to find the solution, added the footer code (my 
   theme is “Suffussion”) but nothing seems to get it to work.
 * Help! 🙂
 * Thank you.
 * [https://wordpress.org/plugins/slickquiz/](https://wordpress.org/plugins/slickquiz/)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-206/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-206/page/2/?output_format=md)

 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211326)
 * Hey [@gioconda](https://wordpress.org/support/users/gioconda/),
 * If you’re positive the footer code is present, try resetting the W3 Total Cache.
   Sometimes adding code to the theme isn’t enough to clear it out, but from what
   I can tell the lack of the footer code is the problem.
 * Let me know if clearing the cache doesn’t resolve it!
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211330)
 * Hi [@jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)!
    Thanks
   for your quick reply!
 * I do actually need to reset the W3 Total Cache.
    Do you know if it’s risky and
   should back up before I do it?
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211331)
 * [@gioconda](https://wordpress.org/support/users/gioconda/) No, it’s not risky–
   you shouldn’t need to worry about backing anything up.
 * As an alternative, you could try just editing the quiz page – as in adding anything
   at all to the content area, saving it, and refreshing the page. That _might_ 
   trigger a cache refresh. But if that doesn’t work, just resetting the whole cache
   won’t break anything, it will just slow down page loads the very first time a
   page is loaded – not a big deal.
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211333)
 * Phew! Done, but still not working.
 * This is what my Suffusion:footer.php looks like
    suffusion_document_footer();
   wp_footer(); ?> </body> </html>
 * I had added this <?php wp_footer(); ?> but it gave me an error message so I removed
   it.
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211335)
 * Hmmm… can you paste in here exactly what you have in your page’s content area?
   Be sure to use the `code` button above to ensure that whitespace is maintained(
   paste between the ticks) .
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211341)
 * I’m not sure if this what you were asking.
    Probably not. Where do I see my page’s
   content area? I’m so sorry!
 *     ```
       <?php
       /**
        * Footer template, invoked when get_footer() is called
        *
        * @package Suffusion
        * @subpackage Templates
        */
   
       global $suf_footer_layout_style;
   
       // Invoke hook - this creates the bottom widget area, the right sidebars etc.
       suffusion_before_end_container();
       ?>
       	</div><!-- /container -->
   
       <?php
       suffusion_after_end_container();
       if ($suf_footer_layout_style == 'in-align') {
       	suffusion_page_footer();
       }
       ?>
       </div><!--/wrapper -->
       <?php
       if ($suf_footer_layout_style != 'in-align') {
       	suffusion_page_footer();
       }
       suffusion_document_footer();
       wp_footer(); ?>
       </body>
       </html>
       ```
   
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211505)
 * I tried a few more things, but it’s still not working.The preview seems to work
   except for the ranking and social sharing buttons.
    It might have something to
   do with my theme Suffusion?
 * I was planning on adding the quiz to the blog post that I’m publishing tomorrow.
   Let me know if you can help and I could create a temporary admin account for 
   you. Thank you!
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211530)
 * [@gioconda](https://wordpress.org/support/users/gioconda/) – What I meant by 
   the page content area is the place where you added the shortcode to display the
   quiz. It would either be a page or a post. I’m just trying to see if maybe there
   is an extras space in the shortcode that might be breaking things.
 * If you could paste me the shortcode you entered and all the content surrounding
   it that might give some insight.
 * You might also try temporarily switching your theme to see if it works with another
   one, then that would definitely point the finger at an issue in Suffusion.
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211531)
 * This the shortcode
    [slickquiz id=1]
 * Here’s a test page with the shortcode
    [http://www.parlate.ca/test-quiz/#](http://www.parlate.ca/test-quiz/#)
   The quiz looks the same as in the blogpost
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211532)
 * Yeah, so everything is loading on the page except for the actual script and stylesheet
   that make the quiz work. They should be loading because of the `wp_footer` method
   we checked for but they are not.
 * I have an idea of what might be causing the problem, but you’d need to make an
   edit to the plugin.
    - Go to **Plugins > Editor**
    - Select **SlickQuiz** from the dropdown on the right side, then click **Select**
      to the right of the dropdown
    - Click on **slickquiz/php/slickquiz-front.php** in the list below the select
      field
    - In the file editor on the left, look for the following code:
    -     ```
          // Only load resources when a shortcode is on the page
          if ( strpos( $content, '[slickquiz' ) === false ) {
              return $content;
          }
          ```
      
    - and place **`//`** before each line to disable them.
    - Click **Update File** below the edit box
    - Reset WP Total Cache
    - Reload your test page and see if the quiz works
 * Let me know if that works and then I’ll have an idea of how to fix this bug for
   other users!
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211533)
 * Is this what it should look like?
    When I try to update file it gives me an error
   message.
 *     ```
       {
                   // Only load resources when a shortcode is on the page
                   // if ( strpos( $content, '[slickquiz' ) === false ) {
                   //    return $content;
                   }
       ```
   
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211534)
 * Close! You’ll need to add the `//` before that last `}` as well.
 *     ```
       // Only load resources when a shortcode is on the page
       // if ( strpos( $content, '[slickquiz' ) === false ) {
       //    return $content;
       // }
       ```
   
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211535)
 * I did still get the error message.
 *  Plugin Author [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * (@jewlofthelotus)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211536)
 * Can you paste the error in here?
 *  Thread Starter [gioconda](https://wordpress.org/support/users/gioconda/)
 * (@gioconda)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/#post-5211537)
 * `Parse error: syntax error, unexpected '$mainPluginFile' (T_VARIABLE), expecting
   function (T_FUNCTION) in /home4/miry/public_html/parlate.ca/wp-content/plugins/
   slickquiz/php/slickquiz-front.php on line 43`
 * I’m stuck. Could you paste the entire code of slickquiz/php/slickquiz-front.php
   for me?

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/plugin-not-working-206/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-not-working-206/page/2/?output_format=md)

The topic ‘Plugin not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slickquiz_ebf6fc.svg)
 * [SlickQuiz](https://wordpress.org/plugins/slickquiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slickquiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slickquiz/)
 * [Active Topics](https://wordpress.org/support/plugin/slickquiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slickquiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slickquiz/reviews/)

 * 22 replies
 * 2 participants
 * Last reply from: [jewlofthelotus](https://wordpress.org/support/users/jewlofthelotus/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-working-206/page/2/#post-5211545)
 * Status: resolved