wordpressvisual-composer

WP Bakery Page Builder loses settings in Role Manager


We are using WP Bakery Page Builder on for a client website. The plugin works fine, but sometimes the settings in Role Manager, for what post types the composer should be on just resets.

We are researching the possibility to hack the settings programmatically to set it to On be default.

Just wanted to check if anyone else have noticed this issue.


Solution

  • Just found this on another thread, which recommended adding this to your theme's custom code:

    <script>$vc_list = array( ‘page’, ‘post’ ); vc_editor_set_post_types( $vc_list );
    </script>