Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function factorian_countTo_vc_addon() {
- vc_map(
- array(
- "name" => __( "Factorian CountUp Box", "factorian-sctheme" ),
- "base" => "factorian_countup_box",
- "category" => __( "Factorian", "factorian-sctheme"),
- "params" => array(
- array(
- "type" => "iconpicker",
- "heading" => __( "Select Icon", "factorian-sctheme" ),
- "param_name" => "countup_icon",
- "description" => __( "Select FontAwesome Icon For Item ", "factorian-sctheme" )
- ),
- array(
- "type" => "colorpicker",
- "heading" => __( "Icon Color", "factorian-sctheme" ),
- "param_name" => "countup_icon_color",
- "description" => __( "Select The Icon Color ", "factorian-sctheme" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "CountTo Up Digits", "factorian-sctheme" ),
- "param_name" => "countup_start_from",
- "value" => __( "100", "factorian-sctheme" ),
- "description" => __( "CountUp Digits write here ", "factorian-sctheme" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "CountUp Delay", "factorian-sctheme" ),
- "param_name" => "countup_delay",
- "value" => __( "10", "factorian-sctheme" ),
- "description" => __( "Delay Time(s) write here ", "factorian-sctheme" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "CountUp Speed", "factorian-sctheme" ),
- "param_name" => "countup_speed",
- "description" => __( "Speed Digits write here ", "factorian-sctheme" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "CountUp Box Title", "factorian-sctheme" ),
- "param_name" => "countup_title",
- "description" => __( "Title write here ", "factorian-sctheme" )
- ),
- array(
- "type" => "colorpicker",
- "heading" => __( "CountUp Box Title Color", "factorian-sctheme" ),
- "param_name" => "countup_title_color",
- "description" => __( "Select Color ", "factorian-sctheme" )
- ),
- array(
- "type" => "colorpicker",
- "heading" => __( "CountTo Up Box Background Color", "factorian-sctheme" ),
- "param_name" => "countup_box_background",
- "description" => __( "Select Color ", "factorian-sctheme" )
- ),
- )
- ) );
- }
- add_action( 'vc_before_init', 'factorian_countTo_vc_addon' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement