Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vc_map( array(
- "name" => __("Row", "js_composer"),
- "base" => "vc_row",
- "is_container" => true,
- "icon" => "icon-wpb-row",
- "show_settings_on_create" => true,
- "category" => __('Content', 'js_composer'),
- "description" => __('Place content elements inside the row', 'js_composer'),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => __("ID Name for Navigation", "js_composer"),
- "param_name" => "dt_id",
- "description" => __("If this row wraps the content of one of your sections, set an ID. You can then use it for navigation. Ex: work", "js_composer")
- ),
- array(
- "type" => "attach_image",
- "heading" => __("Background Image", "js_composer"),
- "param_name" => "bg_image",
- "description" => __("Select backgound color for the row.", "js_composer")
- ),
- array(
- "type" => "dropdown",
- "heading" => __('Background Repeat', 'js_composer'),
- "param_name" => "dt_bg_repeat",
- "value" => array(
- __("Repeat-Y", 'js_composer') => 'repeat-y',
- __("Repeat", 'js_composer') => 'repeat',
- __('No Repeat', 'js_composer') => 'no-repeat',
- __('Repeat-X', 'js_composer') => 'repeat-x'
- )
- ),
- array(
- "type" => "colorpicker",
- "heading" => __('Background Color', 'js_composer'),
- "param_name" => "bg_color",
- "description" => __("You can set a color over the background image. You can make it more or less opaque, by using the next setting. Default: white ", "js_composer")
- ),
- array(
- "type" => "textfield",
- "heading" => __('Background Color Opacity', 'js_composer'),
- "param_name" => "dt_color_opacity",
- "description" => __("Set an opacity value for the color(values between 0-100). 0 means no color while 100 means solid color. Default: 70 ", "js_composer")
- ),
- array(
- "type" => "dropdown",
- "heading" => __('Text Color Scheme', 'js_composer'),
- "param_name" => "dt_text_scheme",
- "description" => __("Pick a color scheme for the content text. 'Light Text' looks good on dark bg images while 'Dark Text' looks good on light images.", "js_composer"),
- "value" => array(
- __("Dark Text", 'js_composer') => 'lighter-overlay',
- __("Light Text", 'js_composer') => 'darker-overlay'
- )
- ),
- array(
- "type" => "textfield",
- "heading" => __("Padding Top", "js_composer"),
- "param_name" => "dt_padding_top",
- "description" => __("Enter a value and it will be used for padding-top(px). As an alternative, use the 'Space' element.", "js_composer")
- ),
- array(
- "type" => "textfield",
- "heading" => __("Padding Bottom", "js_composer"),
- "param_name" => "dt_padding_bottom",
- "description" => __("Enter a value and it will be used for padding-bottom(px). As an alternative, use the 'Space' element.", "js_composer")
- ),
- array(
- "type" => "dropdown",
- "heading" => __('Remove margin bottom?', 'js_composer'),
- "param_name" => "dt_no_mb",
- "description" => __("The row has a bottom margin of 20px. You can remove it.", "js_composer"),
- "value" => array(
- __("No thanks!", 'js_composer') => '',
- __("Yes Please!", 'js_composer') => 'no-margin'
- )
- ),
- array(
- "type" => "textfield",
- "heading" => __("Extra class name", "js_composer"),
- "param_name" => "dt_class",
- "description" => __("If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.", "js_composer")
- ),
- array(
- "type" => "dropdown",
- "heading" => __('Type', 'js_composer'),
- "param_name" => "dt_row_type",
- "description" => __("You can specify whether the row is displayed fullwidth or in container.", "js_composer"),
- "value" => array(
- __("Fullwidth", 'js_composer') => '',
- __("In Container", 'js_composer') => 'in_container'
- )
- ),
- ),
- "js_view" => 'VcRowView'
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement