Skip to content

Re-Enable Removed WPBakery Elements

By default the Total theme has removed several WPBakery Elements we didn’t like or found a bit buggy. However, we’ve included a filter in the theme so you can easily re-add them if you must. Below is an example code you can add to your child theme’s functions.php file showing how to re-add a couple elements:

/**
 * Re-Enable Removed WPBakery Elements.
 *
 * @link https://totalwptheme.com/docs/re-enable-vc-modules/
 */
add_filter( 'wpex_vc_remove_elements', function( $elements ) {
    unset( $elements['vc_posts_grid'] ); // Re-enable the Posts Grid
    unset( $elements['vc_carousel'] ); // Re-enable the Carousel
    return $elements;
} );
Back To Top