Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- vc_map(
- array(
- "name" => esc_html__( " Factorian Testmonial Box", "factorian-toolkit" ),
- "base" => "factorian_testmonial_box",
- "category" => esc_html__( "Factorian", "factorian-toolkit"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Title", "factorian-toolkit" ),
- "param_name" => "title",
- "description" => esc_html__( "Please Add your text", "factorian-toolkit")
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Position", "factorian-toolkit" ),
- "param_name" => "position",
- "description" => esc_html__( "Please Add your Text.", "factorian-toolkit")
- ),
- array(
- "type" => "textarea",
- "heading" => esc_html__( "Testmonial", "factorian-toolkit" ),
- "param_name" => "desc",
- "description" => esc_html__( "Please Add your text.", "factorian-toolkit")
- ),
- array(
- "type" => "attach_image",
- "heading" => esc_html__( "Photo", "factorian-toolkit" ),
- "param_name" => "photo",
- "description" => esc_html__( "Please Add your text.", "factorian-toolkit")
- ),
- )
- )
- );
- <?php
- vc_map(
- array(
- "name" => esc_html__( " Factorian Stat Box", "my-text-domain" ),
- "base" => "factorian_stat_box",
- "category" => esc_html__( "Factorian", "my-text-domain"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Number", "my-text-domain" ),
- "param_name" => "number",
- "description" => esc_html__( "Please Add your text.", "my-text-domain")
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "After Text", "my-text-domain" ),
- "param_name" => "after_text",
- "description" => esc_html__( "Please Add your text.", "my-text-domain")
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Description", "my-text-domain" ),
- "param_name" => "desc",
- "description" => esc_html__( "Please Add your text.", "my-text-domain")
- ),
- )
- )
- );
- <?php
- vc_map(
- array(
- "name" => esc_html__( "Facrorian Slide", "my-text-domain" ),
- "base" => "factorian_slider",
- "category" => esc_html__( "Factorian", "my-text-domain"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Slider Count", "my-text-domain" ),
- "param_name" => "count",
- "value" => esc_html__( "-1", "my-text-domain" ),
- "description" => esc_html__( "if you want to all slide selsect -1", "my-text-domain")
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Select Page", "my-text-domain" ),
- "param_name" => "slider_id",
- "value" => factorial_toolkit_get_slide_as_list(),
- "description" => esc_html__( "Select your slider page ", "my-text-domain"),
- "dependency" => array(
- "element" => "count",
- "value" => "1"
- )
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Slider Height", "my-text-domain" ),
- "param_name" => "height",
- "std" => "730",
- "description" => esc_html__( "put height in number in pixel ", "my-text-domain"),
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Enable Loop", "my-text-domain" ),
- "param_name" => "loop",
- "std" => esc_html__( "true", "my-text-domain" ),
- "value" => array(
- 'yes' => 'true',
- 'no' => 'false'
- ),
- "description" => esc_html__( "Yes for Loop ", "my-text-domain"),
- "dependency" => array(
- "element" => "count",
- "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
- )
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Enable Autoplay", "my-text-domain" ),
- "param_name" => "autoplay",
- "std" => esc_html__( "true", "my-text-domain" ),
- "value" => array(
- 'yes' => 'true',
- 'no' => 'false'
- ),
- "description" => esc_html__( "Yes for Autoplay ", "my-text-domain"),
- "dependency" => array(
- "element" => "count",
- "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
- )
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "autoplayTimeout", "my-text-domain" ),
- "param_name" => "autoplayTimeout",
- "std" => esc_html__( "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' => '1000',
- '10 seconds' => '10000',
- '11 seconds' => '11000',
- '12 seconds' => '12000',
- '13 seconds' => '13000',
- '14 seconds' => '14000',
- '15 seconds' => '15000',
- ),
- "description" => esc_html__( "Select Autoplay Timeout", "my-text-domain"),
- "dependency" => array(
- "element" => "autoplay",
- "value" => "true"
- )
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Enable Dots", "my-text-domain" ),
- "param_name" => "dots",
- "std" => esc_html__( "true", "my-text-domain" ),
- "value" => array(
- 'yes' => 'true',
- 'no' => 'false'
- ),
- "description" => esc_html__( "Yes for Dots ", "my-text-domain"),
- "dependency" => array(
- "element" => "count",
- "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
- )
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Enable nav", "my-text-domain" ),
- "param_name" => "nav",
- "std" => esc_html__( "true", "my-text-domain" ),
- "value" => array(
- 'yes' => 'true',
- 'no' => 'false'
- ),
- "description" => esc_html__( "Yes for nav ", "my-text-domain"),
- "dependency" => array(
- "element" => "count",
- "value" => array("-1","2","3","4","5","6","7","8","9","10","11","12","13","14","15")
- )
- ),
- )
- )
- );
- <?php
- vc_map(
- array(
- "name" => esc_html__( "Facrorian Service Box", "factorian-toolkit" ),
- "base" => "factorian_service_box",
- "category" => esc_html__( "Factorian", "factorian-toolkit"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => esc_html__( "Title", "factorian-toolkit" ),
- "param_name" => "title",
- "description" => esc_html__( "Write service Title", "factorian-toolkit")
- ),
- array(
- "type" => "textarea",
- "heading" => esc_html__( "Content", "factorian-toolkit" ),
- "param_name" => "desc",
- "description" => esc_html__( "Write service Content ", "factorian-toolkit"),
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Link Type", "factorian-toolkit" ),
- "param_name" => "type",
- "std" => esc_html__( "1", "factorian-toolkit" ),
- "value" => array(
- 'Link to page' => 1,
- 'External link' => 2,
- ),
- "description" => esc_html__( "Select Link type", "factorian-toolkit"),
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Link Type", "factorian-toolkit" ),
- "param_name" => "link_to_page",
- "value" =>factorial_toolkit_get_service_as_list(),
- "description" => esc_html__( "Select Page", "factorian-toolkit"),
- "dependency" => array(
- "element" => "type",
- "value" => "1",
- )
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "External link", "factorian-toolkit" ),
- "param_name" => "external_link",
- "description" => esc_html__( "Write external link", "factorian-toolkit"),
- "dependency" => array(
- "element" => "type",
- "value" => "2",
- )
- ),
- array(
- "type" => "textfield",
- "heading" => esc_html__( "link Text", "factorian-toolkit" ),
- "param_name" => "link_text",
- "std" => esc_html__( "See More", "factorian-toolkit" ),
- "description" => esc_html__( "Link text", "factorian-toolkit")
- ),
- array(
- "type" => "dropdown",
- "heading" => esc_html__( "Icon Type", "factorian-toolkit" ),
- "param_name" => "icon_type",
- "std" => esc_html__( "1", "factorian-toolkit" ),
- "value" => array(
- 'Upload Icon' => 1,
- 'FontAwosome Icon' => 2,
- ),
- "description" => esc_html__( "select you icon", "factorian-toolkit"),
- ),
- array(
- "type" => "attach_image",
- "heading" => esc_html__( "Upload Icon", "factorian-toolkit" ),
- "param_name" => "upload_icon",
- "description" => esc_html__( "Upload your image", "factorian-toolkit"),
- "dependency" => array(
- "element" => "icon_type",
- "value" => "1",
- )
- ),
- array(
- "type" => "iconpicker",
- "heading" => esc_html__( "FontAwosome Iocn", "factorian-toolkit" ),
- "param_name" => "fontawosome_iocn",
- "description" => esc_html__( "Select fontawome icon", "factorian-toolkit"),
- "dependency" => array(
- "element" => "icon_type",
- "value" => "2",
- )
- ),
- array(
- "type" => "attach_image",
- "heading" => esc_html__( "Box Background", "factorian-toolkit" ),
- "param_name" => "box_backround",
- "description" => esc_html__( "Boxed Background", "factorian-toolkit"),
- ),
- )
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement