I am following this example to create a container for some shortcode that would allow me to wrap multiple sub page builder elements. https://kb.wpbakery.com/docs/developers-how-tos/nested-shortcodes-container/
If I used the example code it works as expected and allows me to add elements inside the new container, but when I apply the code to my shortcode I do not get the option to add the inner elements. I guessing it something to do with the shortcode https://wordpress.org/plugins/infusionsoft-official-opt-in-forms/
Here is my code
//Register "container" content element. It will hold all your inner (child) content elements
vc_map( array(
"name" => __("InfusionSoft Blocker", "zzone"),
"base" => "inf_infusionsoft_locked",
"as_parent" => array('except'), // Use only|except attributes to limit child shortcodes (separate multiple values with comma)
"content_element" => true,
"show_settings_on_create" => true,
"is_container" => true,
"params" => array(
// add params same as with any other content element
array(
"type" => "textfield",
"heading" => __("Optin ID", "zzone"),
"param_name" => "optin_id",
"value" => 'optin_1',
"description" => __("Example: optin_1", "my-text-domain")
)
),
"js_view" => 'VcColumnView'
) );
//Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
class WPBakeryShortCode_InfusionSoft_Blocker extends WPBakeryShortCodesContainer {
}
}