Title: Plugin not working with themeforest theme
Last modified: August 20, 2016

---

# Plugin not working with themeforest theme

 *  Resolved [Christopher Herrick](https://wordpress.org/support/users/christopher-herrick/)
 * (@christopher-herrick)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/)
 * I’m using the [Mercor ](http://themeforest.net/item/mercor-responsive-wordpress-woocommerce-theme/3037680)
   on WP 3.5 and the plugin isn’t working.
 * It displays the video at full res, ignoring the width parameter in settings and
   doesn’t display the thumbnails properly.
 * view here:
 * [http://www.02.avalonlink.com/train-test/](http://www.02.avalonlink.com/train-test/)
 * any ideas? looks like a great plugin and I’d love to use it. Thanks!
 * [http://wordpress.org/extend/plugins/vimeography/](http://wordpress.org/extend/plugins/vimeography/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Dave Kiss](https://wordpress.org/support/users/iamdavekiss/)
 * (@iamdavekiss)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3321936)
 * See this thread:
 * [http://wordpress.org/support/topic/bugsauce-thumbnails-not-showing](http://wordpress.org/support/topic/bugsauce-thumbnails-not-showing)
 *  Thread Starter [Christopher Herrick](https://wordpress.org/support/users/christopher-herrick/)
 * (@christopher-herrick)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3321939)
 * i had tried the raw tags, didn’t have any effect
 *  Plugin Contributor [Dave Kiss](https://wordpress.org/support/users/iamdavekiss/)
 * (@iamdavekiss)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3321987)
 * Your theme has altered the normal ordering of the WordPress filters such that
   the wpautop filter is run after shortcodes are parsed. The result is that extra
   
   tags are printed all over the form including the JavaScript, which can cause 
   extra spacing, break the JavaScript and preventing the form showing if you have
   conditional logic. Some themes have a workaround – wrap the form shortcode in
   raw tags. If that doesn’t work – see below.
 * The solution is to move the wpautop filter so that it’s run before the do_shortcode
   filter. Your theme possibly has the code shown below somewhere, a good place 
   to start looking is the functions.php file then any shortcode related file, find
   this code and remove it.
 *     ```
       remove_filter( ‘the_content’, ‘wpautop’ );
       add_filter( ‘the_content’, ‘wpautop’ , 99 );
       add_filter( ‘the_content’, ‘shortcode_unautop’, 100 );
       ```
   
 * If you can’t find it, the author of your theme will be able to tell you how to
   do this or provide a workaround.
 * You can email the author of the Mercor theme at [support@premiumcoding.com](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/support@premiumcoding.com?output_format=md)
 *  [lineceline](https://wordpress.org/support/users/lineceline/)
 * (@lineceline)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3322004)
 * Hi,
 * For the size of the video, I just imported the vimeography css in my theme.
 * But I still have an issue with the javascript, it won’t load.
    I deleted this
   line in my shortcodes.php file, in my theme folder : remove_filter(‘the_content’,‘
   wpautop’); (it was remove filter and not add filter…, which is weird because 
   if I take a look at your solution, I wouldn’t have encountered any issue with
   this code).
 * Do you have any idea of what else it could be?
 * Here is the concerned website : [http://pigup.fr/?page_id=452](http://pigup.fr/?page_id=452)
 * Thanks guys!
 *  Thread Starter [Christopher Herrick](https://wordpress.org/support/users/christopher-herrick/)
 * (@christopher-herrick)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3322011)
 * I was able to fix this by commenting out lines 384-392 in mercor’s functions.
   php:
 *     ```
       function pmc_formatter($content) {
   
           $new_content = wptexturize(wpautop($content));
   
           return $new_content;
       }
   
       add_filter('the_content', 'pmc_formatter', 99);
       ```
   
 * The plugin now appears to work:
 * [http://www.02.avalonlink.com/train/](http://www.02.avalonlink.com/train/)
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

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

 * ![](https://ps.w.org/vimeography/assets/icon-256x256.png?rev=2625829)
 * [Vimeography: Vimeo Video Gallery WordPress Plugin](https://wordpress.org/plugins/vimeography/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vimeography/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vimeography/)
 * [Active Topics](https://wordpress.org/support/plugin/vimeography/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vimeography/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vimeography/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Christopher Herrick](https://wordpress.org/support/users/christopher-herrick/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-themeforest-theme/#post-3322011)
 * Status: resolved