Skip to main content

Enable Native WPBakery Elements

Salient hides the stock WPBakery Page Builder elements that duplicate its own. A site moving over from a plain WPBakery build can register them again with one filter.

Hidden Native WPBakery elements​

In WPBakery’s core version, certain elements overlap with Salient’s own elements and are therefore not registered, to prevent redundancy. If you are transitioning from a legacy website built with WPBakery’s core version and do not intend to switch to the 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 can also add the following snippet to 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;
}