Skip to content

How to Re-Enable Removed WPBakery Elements in the Total Theme

By default, the Total theme removes certain WPBakery elements that we found either unnecessary or a bit buggy. However, the theme includes a filter that allows you to easily re-enable these elements if needed.

Below is a sample code snippet you can add to your child theme’s functions.php file to restore a few elements:

/**
 * Re-Enable Removed WPBakery Elements.
 */
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;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
Related Snippets
Back To Top