Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- vc_map(
- array(
- "name" => __( "Seo service box", "rrf-seo" ),
- "base" => "seo_service_box",
- "category" => __("SEO Shortcodes", "rrf-seo"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => __("Title","rrf-seo"),
- "param_name" => "title",
- "description" => __( "", "rrf-seo"),
- ),
- array(
- "type" => "textarea",
- "heading" => __("Content","rrf-seo"),
- "param_name" => "desc",
- "description" => __( "", "rrf-seo"),
- ),
- array(
- "type" => "dropdown",
- "heading" => __("Link type","rrf-seo"),
- "param_name" => "type",
- "std" => __( "1", "rrf-seo" ),
- "value" => array(
- 'Link to page' => 1,
- 'External link' => 2,
- ),
- "description" => __("", "rrf-seo"),
- ),
- array(
- "type" => "dropdown",
- "heading" => __("Link to page","rrf-seo"),
- "param_name" => "link_to_page",
- "value" => get_services_list(),
- "description" => __("", "rrf-seo"),
- "dependency" => array(
- "element" => "type",
- "value" => "1",
- )
- ),
- array(
- "type" => "textfield",
- "heading" => __("External Link","rrf-seo"),
- "param_name" => "external_link",
- "description" => __("", "rrf-seo"),
- "dependency" => array(
- "element" => "type",
- "value" => "2",
- )
- ),
- array(
- "type" => "textfield",
- "heading" => __("Link text","rrf-seo"),
- "param_name" => "link_text",
- "std" => __( "See more", "rrf-seo" ),
- "description" => __( "", "rrf-seo"),
- ),
- array(
- "type" => "dropdown",
- "heading" => __("Icon type","rrf-seo"),
- "param_name" => "icon_type",
- "std" => __( "1", "rrf-seo" ),
- "value" => array(
- 'Upload' => 1,
- 'FontAwesome icon' => 2,
- ),
- "description" => __("", "rrf-seo"),
- ),
- array(
- "type" => "attach_image",
- "heading" => __("Upload icon","rrf-seo"),
- "param_name" => "upload_icon",
- "description" => __("", "rrf-seo"),
- "dependency" => array(
- "element" => "icon_type",
- "value" => array("1"),
- )
- ),
- array(
- "type" => "iconpicker",
- "heading" => __("Choose icon","rrf-seo"),
- "param_name" => "choose_icon",
- "description" => __("", "rrf-seo"),
- "dependency" => array(
- "element" => "icon_type",
- "value" => "2",
- )
- ),
- array(
- "type" => "attach_image",
- "heading" => __("Box background","rrf-seo"),
- "param_name" => "box_background",
- "description" => __("", "rrf-seo"),
- ),
- )
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement