Advertisement
deliciousthemes

Untitled

Mar 19th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.33 KB | None | 0 0
  1. vc_map( array(
  2.   "name" => __("Row", "js_composer"),
  3.   "base" => "vc_row",
  4.   "is_container" => true,
  5.   "icon" => "icon-wpb-row",
  6.   "show_settings_on_create" => true,
  7.   "category" => __('Content', 'js_composer'),
  8.   "description" => __('Place content elements inside the row', 'js_composer'),
  9.   "params" => array(
  10.     array(
  11.       "type" => "textfield",
  12.       "heading" => __("ID Name for Navigation", "js_composer"),
  13.       "param_name" => "dt_id",
  14.       "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")
  15.     ),  
  16.      array(
  17.       "type" => "attach_image",
  18.       "heading" => __("Background Image", "js_composer"),
  19.       "param_name" => "bg_image",
  20.       "description" => __("Select backgound color for the row.", "js_composer")
  21.     ),
  22.     array(
  23.       "type" => "dropdown",
  24.       "heading" => __('Background Repeat', 'js_composer'),
  25.       "param_name" => "dt_bg_repeat",
  26.       "value" => array(
  27.                       __("Repeat-Y", 'js_composer') => 'repeat-y',        
  28.                       __("Repeat", 'js_composer') => 'repeat',
  29.                       __('No Repeat', 'js_composer') => 'no-repeat',
  30.                       __('Repeat-X', 'js_composer') => 'repeat-x'
  31.                       )    
  32.     ),
  33.     array(
  34.       "type" => "colorpicker",
  35.       "heading" => __('Background Color', 'js_composer'),
  36.       "param_name" => "bg_color",
  37.       "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")
  38.     ),
  39.     array(
  40.       "type" => "textfield",
  41.       "heading" => __('Background Color Opacity', 'js_composer'),
  42.       "param_name" => "dt_color_opacity",
  43.       "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")
  44.     ),    
  45.     array(
  46.       "type" => "dropdown",
  47.       "heading" => __('Text Color Scheme', 'js_composer'),
  48.       "param_name" => "dt_text_scheme",
  49.       "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"),
  50.       "value" => array(
  51.                         __("Dark Text", 'js_composer') => 'lighter-overlay',
  52.                         __("Light Text", 'js_composer') => 'darker-overlay'
  53.                       )      
  54.     ),
  55.     array(
  56.       "type" => "textfield",
  57.       "heading" => __("Padding Top", "js_composer"),
  58.       "param_name" => "dt_padding_top",
  59.       "description" => __("Enter a value and it will be used for padding-top(px). As an alternative, use the 'Space' element.", "js_composer")
  60.     ),  
  61.     array(
  62.       "type" => "textfield",
  63.       "heading" => __("Padding Bottom", "js_composer"),
  64.       "param_name" => "dt_padding_bottom",
  65.       "description" => __("Enter a value and it will be used for padding-bottom(px). As an alternative, use the 'Space' element.", "js_composer")
  66.     ),        
  67.     array(
  68.       "type" => "dropdown",
  69.       "heading" => __('Remove margin bottom?', 'js_composer'),
  70.       "param_name" => "dt_no_mb",
  71.       "description" => __("The row has a bottom margin of 20px. You can remove it.", "js_composer"),
  72.       "value" => array(
  73.                        
  74.                         __("No thanks!", 'js_composer') => '',
  75.                         __("Yes Please!", 'js_composer') => 'no-margin'
  76.                       )      
  77.     ),
  78.     array(
  79.       "type" => "textfield",
  80.       "heading" => __("Extra class name", "js_composer"),
  81.       "param_name" => "dt_class",
  82.       "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")
  83.     ),
  84.     array(
  85.       "type" => "dropdown",
  86.       "heading" => __('Type', 'js_composer'),
  87.       "param_name" => "dt_row_type",
  88.       "description" => __("You can specify whether the row is displayed fullwidth or in container.", "js_composer"),
  89.       "value" => array(
  90.                        
  91.                         __("Fullwidth", 'js_composer') => '',
  92.                         __("In Container", 'js_composer') => 'in_container'
  93.                       )      
  94.     ),              
  95.   ),
  96.   "js_view" => 'VcRowView'
  97. ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement