Created
February 18, 2017 16:59
-
-
Save neroze/22c71ff63efa7e7bf0348de1c1fc4dfa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vc_map( array( | |
"name" => __("Team Mate", "rhthm"), | |
"base" => "team_mate", | |
'category' =>__('Team', 'rhthm'), | |
"content_element" => true, | |
"as_child" => array('only' => 'team_wrapper'), // Use only|except attributes to limit parent (separate multiple values with comma) | |
"params" => array( | |
// add params same as with any other content element | |
array( | |
"type" => "textfield", | |
"heading" => __("Name", "rhthm"), | |
"param_name" => "name", | |
"description" => __("Name", "rhthm"), | |
'holder' => 'div', | |
'class' => 'text-class', | |
), | |
array( | |
"type" => "textfield", | |
"heading" => __("Status", "rhthm"), | |
"param_name" => "status", | |
"description" => __("Status", "rhthm"), | |
'holder' => 'div', | |
'class' => 'text-class', | |
) | |
,array( | |
"type" => "attach_image", | |
"heading" => __("Profile Image", "rhthm"), | |
"param_name" => "profile_image", | |
"description" => __("Profile Image", "rhthm") | |
) | |
,array( | |
"type" => "textarea", | |
"heading" => __("Description", "rhthm"), | |
"param_name" => "description", | |
"description" => __("Description", "rhthm") | |
) | |
) | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment