Title: Visual composer
Last modified: November 16, 2018

---

# Visual composer

 *  Resolved [lofesa](https://wordpress.org/support/users/lofesa/)
 * (@lofesa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/visual-composer-74/)
 * I have posted this on github too.
    The Visual Composer integration does not work
   since version 4.8 of VC. The `_wpb_vc_js_status` don´t exist more. I have tried
   this:
 *     ```
       function remove_visual_composer_shortcodes( $content ) {
   
               global $post;
               if ( $post && preg_match( '/vc_row/', $post->post_content )) {
               $content = preg_replace('/\[\/?vc_.*?\]/', '', $content);
               }
   
           return $content;
       }
       ```
   

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

 *  Plugin Author [Hesham Zebida](https://wordpress.org/support/users/hishaman/)
 * (@hishaman)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/visual-composer-74/#post-10896818)
 * Strange! I’ve just checked VC version 5.5.5, the Schema seems to be working as
   expected, and I still can see that `_wpb_vc_js_status` post meta field still 
   exists.
 * Another thing; in the latest version of Schema 1.7.2, we’ve added a check to 
   remove all shortcodes, which should work for VC as well, without the need for
   that specific function to run.
 * I would like you to try something, try saving the plugin settings once, then 
   check again one of your VC pages.
 *  Thread Starter [lofesa](https://wordpress.org/support/users/lofesa/)
 * (@lofesa)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/visual-composer-74/#post-10898364)
 * Hi
    You are rigth. I have comented the `require_once SCHEMAWP_PLUGIN_DIR . 'includes/
   integrations/visual-composer.php';` line at `schema.php` , saved the schema plugin
   settings and tested structured data in pages with visual composer and is ok. 
   Seems I have old post with schema saved with shortcodes. Relative to the `_wpb_vc_js_status`
   I read [this](https://stackoverflow.com/questions/29312067/detect-visual-composer)
   and see that VC plugin uses some like this to test if VC is in the post and thus
   load their assets.
 *  Plugin Author [Hesham Zebida](https://wordpress.org/support/users/hishaman/)
 * (@hishaman)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/visual-composer-74/#post-10901141)
 * Glad to hear that.

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

The topic ‘Visual composer’ is closed to new replies.

 * ![](https://ps.w.org/schema/assets/icon-256x256.png?rev=1750173)
 * [Schema](https://wordpress.org/plugins/schema/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema/)
 * [Active Topics](https://wordpress.org/support/plugin/schema/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema/reviews/)

## Tags

 * [vc](https://wordpress.org/support/topic-tag/vc/)
 * [visual composer](https://wordpress.org/support/topic-tag/visual-composer/)

 * 3 replies
 * 2 participants
 * Last reply from: [Hesham Zebida](https://wordpress.org/support/users/hishaman/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/visual-composer-74/#post-10901141)
 * Status: resolved