Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- vc_map( array(
- "name" => __( "Factorian Logo Carousel", "my-text-domain" ),
- "base" => "factorian_logo_carousel",
- "category" => __( "Factorian", "my-text-domain"),
- "params" => array(
- array(
- "type" => "attach_images",
- "heading" => __( "Upload logos ", "my-text-domain" ),
- "param_name" => "logos",
- "description" => __( "Upload a logo. JPG,JPEG,PNG file only.", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Desktop Count", "my-text-domain" ),
- "param_name" => "desktop_count",
- "std" => __( "5", "my-text-domain" ),
- "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Tablet Count", "my-text-domain" ),
- "param_name" => "tablet_count",
- "std" => __( "3", "my-text-domain" ),
- "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Mobile Count", "my-text-domain" ),
- "param_name" => "mobile_count",
- "std" => __( "2", "my-text-domain" ),
- "description" => __( "Type slider height in px. Numbers only.", "my-text-domain" )
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Enable Loop?", "my-text-domain" ),
- "param_name" => "loop",
- "std" => __( "true", "my-text-domain" ),
- "value" => array(
- "yes" => "true",
- "no" => "false",
- ),
- "description" => __( "", "my-text-domain" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Enable Autoplay", "my-text-domain" ),
- "param_name" => "autoplay",
- "std" => __( "true", "my-text-domain" ),
- "value" => array(
- "yes" => "true",
- "no" => "false",
- ),
- "description" => __( "", "my-text-domain" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slide Timeout", "my-text-domain" ),
- "param_name" => "autoplayTimeout",
- "std" => __( "5000", "my-text-domain" ),
- "value" => array(
- "1 second" => "1000",
- "2 seconds" => "2000",
- "3 seconds" => "3000",
- "4 seconds" => "4000",
- "5 seconds" => "5000",
- "6 seconds" => "6000",
- "7 seconds" => "7000",
- "8 seconds" => "8000",
- "9 seconds" => "9000",
- "10 seconds" => "10000",
- "11 seconds" => "11000",
- "12 seconds" => "12000",
- "13 seconds" => "13000",
- "14 seconds" => "14000",
- "15 seconds" => "15000",
- ),
- "description" => __( "", "my-text-domain" ),
- "dependency" => array(
- "element" => "autoplay",
- "value" => array("true"),
- )
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Enable Navigation Icon?", "my-text-domain" ),
- "param_name" => "nav",
- "std" => __( "true", "my-text-domain" ),
- "value" => array(
- "yes" => "true",
- "no" => "false",
- ),
- "description" => __( "", "my-text-domain" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Enable Dots?", "my-text-domain" ),
- "param_name" => "dots",
- "std" => __( "true", "my-text-domain" ),
- "value" => array(
- "yes" => "true",
- "no" => "false",
- ),
- "description" => __( "", "my-text-domain" ),
- )
- )
- ) );
Add Comment
Please, Sign In to add comment