Skip to main content

Hidden Native WPBakery elements

In WPBakery’s core version, certain elements overlap with the features provided by the Salient WPBakery and are therefore not registered to prevent redundancy. However, if you are transitioning from a legacy website that was built using WPBakery’s core version and do not intend to switch to the more advanced Salient elements, you can activate these overlapping elements by applying a filter in your child theme:

add_filter('salient_register_core_wpbakery_els','salient_child_wpbakery_els');

function salient_child_wpbakery_els() {
  return array(
    'vc_hoverbox',
    'vc_message',
    'vc_btn',
    'vc_cta',
    'vc_button',
    'vc_button2',
    'vc_cta_button'
    'vc_empty_space', 
    'vc_section'
  );
}

Enabling the Core WPBakery Post Grid Functionality

You may also incorporate the following code snippet into your child theme to activate the core WPBakery Post Grid element functionality.

add_action('salient_enable_core_wpbakery_post_grid', 'salient_child_enable_post_grid');

function salient_child_enable_post_grid() {
   return true;
}