Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- vc_map( array(
- "name" => __( "SEO Slider", "seo-peencik" ),
- "base" => "carosaul",
- "category" => __( "SEO", "seo-peencik"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => __( "Count Slider", "seo-peencik" ),
- "param_name" => "count",
- "value" => __( "1", "seo-peencik" ), //value of attribute
- "description" => __( "Input max number of slider you want to view. -1 is unlimited view.", "seo-peencik" )
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Select slider", "seo-peencik" ),
- "param_name" => "slider_id", //attribute name
- "value" => seo_slider_list(),
- "description" => __( "Select slider from list ", "seo-peencik" ),
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Slider height", "seo-peencik" ),
- "param_name" => "slider_height", //attribute name
- "std" => __( "650", "seo-peencik" ), //value of attribute
- "description" => __( "Input slider height", "seo-peencik" ),
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Slider item", "seo-peencik" ),
- "param_name" => "slider_item", //attribute name
- "value" => __( "1", "seo-peencik" ), //value of attribute
- "description" => __( "Input to show slider per page", "seo-peencik" ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slider loop", "seo-peencik" ),
- "param_name" => "slider_loop", //attribute name
- "std" => __( "true", "seo-peencik" ),
- "value" => array(
- 'Yes' => 'true',
- 'No' => 'false',
- ),
- "description" => __( "Select yes or no for looping ", "seo-peencik" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slider Autoplay", "seo-peencik" ),
- "param_name" => "slider_autoplay", //attribute name
- "std" => __( "true", "seo-peencik" ),
- "value" => array(
- 'Yes' => 'true',
- 'No' => 'false',
- ),
- "description" => __( "Select yes or no for autoplay ", "seo-peencik" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slider Autoplay Timeout", "seo-peencik" ),
- "param_name" => "slider_timeout", //attribute name
- "std" => __( "5000", "seo-peencik" ),
- "value" => array(
- '1 second' => '1000',
- '2 second' => '2000',
- '3 second' => '3000',
- '4 second' => '4000',
- '5 second' => '5000',
- '6 second' => '6000',
- '7 second' => '7000',
- '8 second' => '8000',
- '9 second' => '9000',
- '10 second' => '10000',
- ),
- "description" => __( "Select yes or no for autoplay timeout ", "seo-peencik" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slider nav", "seo-peencik" ),
- "param_name" => "slider_nav", //attribute name
- "std" => __( "true", "seo-peencik" ),
- "value" => array(
- 'Yes' => 'true',
- 'No' => 'false',
- ),
- "description" => __( "Select yes or no ", "seo-peencik" ),
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Slider dots", "seo-peencik" ),
- "param_name" => "slider_dots", //attribute name
- "std" => __( "true", "seo-peencik" ),
- "value" => array(
- 'Yes' => 'true',
- 'No' => 'false',
- ),
- "description" => __( "Select yes or no ", "seo-peencik" ),
- ),
- ),
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement