SMSabuj

vc-logo-carousel.php

Apr 7th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.84 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.     vc_map( array(
  5.           "name" => __( "Factorian Logo Carousel", "my-text-domain" ),
  6.           "base" => "factorian_logo_carousel",
  7.           "category" => __( "Factorian", "my-text-domain"),
  8.           "params" => array(
  9.              array(
  10.                 "type" => "attach_images",
  11.                 "heading" => __( "Upload logos ", "my-text-domain" ),
  12.                 "param_name" => "logos",
  13.                 "description" => __( "Upload a logo. JPG,JPEG,PNG file only.", "my-text-domain" )
  14.              ),
  15.              array(
  16.                 "type" => "textfield",
  17.                 "heading" => __( "Desktop Count", "my-text-domain" ),
  18.                 "param_name" => "desktop_count",
  19.                 "std" => __( "5", "my-text-domain" ),
  20.                 "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
  21.              ),
  22.              array(
  23.                 "type" => "textfield",
  24.                 "heading" => __( "Tablet Count", "my-text-domain" ),
  25.                 "param_name" => "tablet_count",
  26.                 "std" => __( "3", "my-text-domain" ),
  27.                 "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
  28.              ),
  29.              array(
  30.                 "type" => "textfield",
  31.                 "heading" => __( "Mobile Count", "my-text-domain" ),
  32.                 "param_name" => "mobile_count",
  33.                 "std" => __( "2", "my-text-domain" ),
  34.                 "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
  35.              ),
  36.              array(
  37.                 "type" => "dropdown",
  38.                 "heading" => __( "Enable Loop?", "my-text-domain" ),
  39.                 "param_name" => "loop",
  40.                 "std" => __( "true", "my-text-domain" ),
  41.                 "value" => array(
  42.                                 "yes" => "true",
  43.                                 "no" => "false",
  44.                             ),
  45.                 "description" => __( "", "my-text-domain" ),
  46.             ),
  47.              array(
  48.                 "type" => "dropdown",
  49.                 "heading" => __( "Enable Autoplay", "my-text-domain" ),
  50.                 "param_name" => "autoplay",
  51.                 "std" => __( "true", "my-text-domain" ),
  52.                 "value" => array(
  53.                                 "yes" => "true",
  54.                                 "no" => "false",
  55.                             ),
  56.                 "description" => __( "", "my-text-domain" ),
  57.              ),
  58.              array(
  59.                 "type" => "dropdown",
  60.                 "heading" => __( "Slide Timeout", "my-text-domain" ),
  61.                 "param_name" => "autoplayTimeout",
  62.                 "std" => __( "5000", "my-text-domain" ),
  63.                 "value" => array(
  64.                                 "1 second" => "1000",
  65.                                 "2 seconds" => "2000",
  66.                                 "3 seconds" => "3000",
  67.                                 "4 seconds" => "4000",
  68.                                 "5 seconds" => "5000",
  69.                                 "6 seconds" => "6000",
  70.                                 "7 seconds" => "7000",
  71.                                 "8 seconds" => "8000",
  72.                                 "9 seconds" => "9000",
  73.                                 "10 seconds" => "10000",
  74.                                 "11 seconds" => "11000",
  75.                                 "12 seconds" => "12000",
  76.                                 "13 seconds" => "13000",
  77.                                 "14 seconds" => "14000",
  78.                                 "15 seconds" => "15000",
  79.                             ),
  80.                 "description" => __( "", "my-text-domain" ),
  81.                 "dependency"   => array(
  82.                             "element" => "autoplay",
  83.                             "value" => array("true"),
  84.                             )
  85.              ),
  86.              array(
  87.                 "type" => "dropdown",
  88.                 "heading" => __( "Enable Navigation Icon?", "my-text-domain" ),
  89.                 "param_name" => "nav",
  90.                 "std" => __( "true", "my-text-domain" ),
  91.                 "value" => array(
  92.                                 "yes" => "true",
  93.                                 "no" => "false",
  94.                             ),
  95.                 "description" => __( "", "my-text-domain" ),
  96.              ),
  97.              array(
  98.                 "type" => "dropdown",
  99.                 "heading" => __( "Enable Dots?", "my-text-domain" ),
  100.                 "param_name" => "dots",
  101.                 "std" => __( "true", "my-text-domain" ),
  102.                 "value" => array(
  103.                                 "yes" => "true",
  104.                                 "no" => "false",
  105.                             ),
  106.                 "description" => __( "", "my-text-domain" ),
  107.             )
  108.           )
  109.        ) );
Add Comment
Please, Sign In to add comment