Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.13 KB | None | 0 0
  1. <?php
  2. vc_map(
  3. array(
  4. "name" => esc_html__( " Factorian Testmonial Box", "factorian-toolkit" ),
  5. "base" => "factorian_testmonial_box",
  6. "category" => esc_html__( "Factorian", "factorian-toolkit"),
  7. "params" => array(
  8. array(
  9. "type" => "textfield",
  10. "heading" => esc_html__( "Title", "factorian-toolkit" ),
  11. "param_name" => "title",
  12. "description" => esc_html__( "Please Add your text", "factorian-toolkit")
  13. ),
  14. array(
  15. "type" => "textfield",
  16. "heading" => esc_html__( "Position", "factorian-toolkit" ),
  17. "param_name" => "position",
  18. "description" => esc_html__( "Please Add your Text.", "factorian-toolkit")
  19. ),
  20. array(
  21. "type" => "textarea",
  22. "heading" => esc_html__( "Testmonial", "factorian-toolkit" ),
  23. "param_name" => "desc",
  24. "description" => esc_html__( "Please Add your text.", "factorian-toolkit")
  25. ),
  26. array(
  27. "type" => "attach_image",
  28. "heading" => esc_html__( "Photo", "factorian-toolkit" ),
  29. "param_name" => "photo",
  30. "description" => esc_html__( "Please Add your text.", "factorian-toolkit")
  31. ),
  32. )
  33. )
  34. );
  35.  
  36. <?php
  37. vc_map(
  38. array(
  39. "name" => esc_html__( " Factorian Stat Box", "my-text-domain" ),
  40. "base" => "factorian_stat_box",
  41. "category" => esc_html__( "Factorian", "my-text-domain"),
  42. "params" => array(
  43. array(
  44. "type" => "textfield",
  45. "heading" => esc_html__( "Number", "my-text-domain" ),
  46. "param_name" => "number",
  47. "description" => esc_html__( "Please Add your text.", "my-text-domain")
  48. ),
  49. array(
  50. "type" => "textfield",
  51. "heading" => esc_html__( "After Text", "my-text-domain" ),
  52. "param_name" => "after_text",
  53. "description" => esc_html__( "Please Add your text.", "my-text-domain")
  54. ),
  55. array(
  56. "type" => "textfield",
  57. "heading" => esc_html__( "Description", "my-text-domain" ),
  58. "param_name" => "desc",
  59. "description" => esc_html__( "Please Add your text.", "my-text-domain")
  60. ),
  61.  
  62. )
  63. )
  64. );
  65.  
  66. <?php
  67. vc_map(
  68. array(
  69. "name" => esc_html__( "Facrorian Slide", "my-text-domain" ),
  70. "base" => "factorian_slider",
  71. "category" => esc_html__( "Factorian", "my-text-domain"),
  72. "params" => array(
  73. array(
  74. "type" => "textfield",
  75. "heading" => esc_html__( "Slider Count", "my-text-domain" ),
  76. "param_name" => "count",
  77. "value" => esc_html__( "-1", "my-text-domain" ),
  78. "description" => esc_html__( "if you want to all slide selsect -1", "my-text-domain")
  79. ),
  80. array(
  81. "type" => "dropdown",
  82. "heading" => esc_html__( "Select Page", "my-text-domain" ),
  83. "param_name" => "slider_id",
  84. "value" => factorial_toolkit_get_slide_as_list(),
  85. "description" => esc_html__( "Select your slider page ", "my-text-domain"),
  86. "dependency" => array(
  87. "element" => "count",
  88. "value" => "1"
  89. )
  90. ),
  91. array(
  92. "type" => "textfield",
  93. "heading" => esc_html__( "Slider Height", "my-text-domain" ),
  94. "param_name" => "height",
  95. "std" => "730",
  96. "description" => esc_html__( "put height in number in pixel ", "my-text-domain"),
  97. ),
  98. array(
  99. "type" => "dropdown",
  100. "heading" => esc_html__( "Enable Loop", "my-text-domain" ),
  101. "param_name" => "loop",
  102. "std" => esc_html__( "true", "my-text-domain" ),
  103. "value" => array(
  104. 'yes' => 'true',
  105. 'no' => 'false'
  106. ),
  107. "description" => esc_html__( "Yes for Loop ", "my-text-domain"),
  108. "dependency" => array(
  109. "element" => "count",
  110. "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
  111. )
  112. ),
  113. array(
  114. "type" => "dropdown",
  115. "heading" => esc_html__( "Enable Autoplay", "my-text-domain" ),
  116. "param_name" => "autoplay",
  117. "std" => esc_html__( "true", "my-text-domain" ),
  118. "value" => array(
  119. 'yes' => 'true',
  120. 'no' => 'false'
  121. ),
  122. "description" => esc_html__( "Yes for Autoplay ", "my-text-domain"),
  123. "dependency" => array(
  124. "element" => "count",
  125. "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
  126. )
  127. ),
  128. array(
  129. "type" => "dropdown",
  130. "heading" => esc_html__( "autoplayTimeout", "my-text-domain" ),
  131. "param_name" => "autoplayTimeout",
  132. "std" => esc_html__( "5000", "my-text-domain" ),
  133. "value" => array(
  134. '1 second' => '1000',
  135. '2 seconds' => '2000',
  136. '3 seconds' => '3000',
  137. '4 seconds' => '4000',
  138. '5 seconds' => '5000',
  139. '6 seconds' => '6000',
  140. '7 seconds' => '7000',
  141. '8 seconds' => '8000',
  142. '9 seconds' => '1000',
  143. '10 seconds' => '10000',
  144. '11 seconds' => '11000',
  145. '12 seconds' => '12000',
  146. '13 seconds' => '13000',
  147. '14 seconds' => '14000',
  148. '15 seconds' => '15000',
  149. ),
  150. "description" => esc_html__( "Select Autoplay Timeout", "my-text-domain"),
  151. "dependency" => array(
  152. "element" => "autoplay",
  153. "value" => "true"
  154. )
  155. ),
  156. array(
  157. "type" => "dropdown",
  158. "heading" => esc_html__( "Enable Dots", "my-text-domain" ),
  159. "param_name" => "dots",
  160. "std" => esc_html__( "true", "my-text-domain" ),
  161. "value" => array(
  162. 'yes' => 'true',
  163. 'no' => 'false'
  164. ),
  165. "description" => esc_html__( "Yes for Dots ", "my-text-domain"),
  166. "dependency" => array(
  167. "element" => "count",
  168. "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
  169. )
  170. ),
  171. array(
  172. "type" => "dropdown",
  173. "heading" => esc_html__( "Enable nav", "my-text-domain" ),
  174. "param_name" => "nav",
  175. "std" => esc_html__( "true", "my-text-domain" ),
  176. "value" => array(
  177. 'yes' => 'true',
  178. 'no' => 'false'
  179. ),
  180. "description" => esc_html__( "Yes for nav ", "my-text-domain"),
  181. "dependency" => array(
  182. "element" => "count",
  183. "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
  184. )
  185. ),
  186. )
  187. )
  188. );
  189.  
  190. <?php
  191. vc_map(
  192. array(
  193. "name" => esc_html__( "Facrorian Service Box", "factorian-toolkit" ),
  194. "base" => "factorian_service_box",
  195. "category" => esc_html__( "Factorian", "factorian-toolkit"),
  196. "params" => array(
  197. array(
  198. "type" => "textfield",
  199. "heading" => esc_html__( "Title", "factorian-toolkit" ),
  200. "param_name" => "title",
  201. "description" => esc_html__( "Write service Title", "factorian-toolkit")
  202. ),
  203. array(
  204. "type" => "textarea",
  205. "heading" => esc_html__( "Content", "factorian-toolkit" ),
  206. "param_name" => "desc",
  207. "description" => esc_html__( "Write service Content ", "factorian-toolkit"),
  208. ),
  209. array(
  210. "type" => "dropdown",
  211. "heading" => esc_html__( "Link Type", "factorian-toolkit" ),
  212. "param_name" => "type",
  213. "std" => esc_html__( "1", "factorian-toolkit" ),
  214. "value" => array(
  215. 'Link to page' => 1,
  216. 'External link' => 2,
  217. ),
  218. "description" => esc_html__( "Select Link type", "factorian-toolkit"),
  219. ),
  220. array(
  221. "type" => "dropdown",
  222. "heading" => esc_html__( "Link Type", "factorian-toolkit" ),
  223. "param_name" => "link_to_page",
  224. "value" =>factorial_toolkit_get_service_as_list(),
  225. "description" => esc_html__( "Select Page", "factorian-toolkit"),
  226. "dependency" => array(
  227. "element" => "type",
  228. "value" => "1",
  229. )
  230. ),
  231. array(
  232. "type" => "textfield",
  233. "heading" => esc_html__( "External link", "factorian-toolkit" ),
  234. "param_name" => "external_link",
  235. "description" => esc_html__( "Write external link", "factorian-toolkit"),
  236. "dependency" => array(
  237. "element" => "type",
  238. "value" => "2",
  239. )
  240. ),
  241. array(
  242. "type" => "textfield",
  243. "heading" => esc_html__( "link Text", "factorian-toolkit" ),
  244. "param_name" => "link_text",
  245. "std" => esc_html__( "See More", "factorian-toolkit" ),
  246. "description" => esc_html__( "Link text", "factorian-toolkit")
  247. ),
  248. array(
  249. "type" => "dropdown",
  250. "heading" => esc_html__( "Icon Type", "factorian-toolkit" ),
  251. "param_name" => "icon_type",
  252. "std" => esc_html__( "1", "factorian-toolkit" ),
  253. "value" => array(
  254. 'Upload Icon' => 1,
  255. 'FontAwosome Icon' => 2,
  256. ),
  257. "description" => esc_html__( "select you icon", "factorian-toolkit"),
  258. ),
  259. array(
  260. "type" => "attach_image",
  261. "heading" => esc_html__( "Upload Icon", "factorian-toolkit" ),
  262. "param_name" => "upload_icon",
  263. "description" => esc_html__( "Upload your image", "factorian-toolkit"),
  264. "dependency" => array(
  265. "element" => "icon_type",
  266. "value" => "1",
  267. )
  268. ),
  269. array(
  270. "type" => "iconpicker",
  271. "heading" => esc_html__( "FontAwosome Iocn", "factorian-toolkit" ),
  272. "param_name" => "fontawosome_iocn",
  273. "description" => esc_html__( "Select fontawome icon", "factorian-toolkit"),
  274. "dependency" => array(
  275. "element" => "icon_type",
  276. "value" => "2",
  277. )
  278. ),
  279. array(
  280. "type" => "attach_image",
  281. "heading" => esc_html__( "Box Background", "factorian-toolkit" ),
  282. "param_name" => "box_backround",
  283. "description" => esc_html__( "Boxed Background", "factorian-toolkit"),
  284. ),
  285.  
  286. )
  287. )
  288. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement