{"id":10765,"date":"2023-05-13T02:38:39","date_gmt":"2023-05-13T02:38:39","guid":{"rendered":"https:\/\/themenectar.com\/docs\/salient\/?page_id=10765"},"modified":"2023-05-13T02:55:36","modified_gmt":"2023-05-13T02:55:36","slug":"enable-native-wpbakery-elements","status":"publish","type":"page","link":"https:\/\/themenectar.com\/docs\/salient\/enable-native-wpbakery-elements\/","title":{"rendered":"Enable Native WPBakery elements"},"content":{"rendered":"\n
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:<\/p>\n\n\n
\nadd_filter('salient_register_core_wpbakery_els','salient_child_wpbakery_els');\n\nfunction salient_child_wpbakery_els() {\n return array(\n 'vc_hoverbox',\n 'vc_message',\n 'vc_btn',\n 'vc_cta',\n 'vc_button',\n 'vc_button2',\n 'vc_cta_button'\n 'vc_empty_space', \n 'vc_section'\n );\n}\n\n<\/pre><\/div>\n\n\n<\/p>\n\n\n\n
<\/div>\n\n\n\nEnabling the Core WPBakery Post Grid Functionality<\/h3>\n\n\n\n
You may also incorporate the following code snippet into your child theme to activate the core WPBakery Post Grid element functionality.<\/p>\n\n\n
\nadd_action('salient_enable_core_wpbakery_post_grid', 'salient_child_enable_post_grid');\n\nfunction salient_child_enable_post_grid() {\n return true;\n}\n<\/pre><\/div>\n\n\n<\/div>\n\n\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"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…<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/pages\/10765"}],"collection":[{"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/comments?post=10765"}],"version-history":[{"count":8,"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/pages\/10765\/revisions"}],"predecessor-version":[{"id":10776,"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/pages\/10765\/revisions\/10776"}],"wp:attachment":[{"href":"https:\/\/themenectar.com\/docs\/salient\/wp-json\/wp\/v2\/media?parent=10765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}