Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/themes/splendor/vc_extend/ |
Current File : //var/www/web284/html/wp-content/themes/splendor/vc_extend/vc.php |
<?php /* ------------------------------------------------------------------------ */ /* VC Extendes */ /* ------------------------------------------------------------------------ */ vc_map( array( "name" => __("Price Table",'splendor'), "base" => "vc_price", "class" => "", "icon" => "icon-wpb-price_table", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("It will be special table?",'splendor'), "param_name" => "price_spec", "value" => __("0",'splendor'), "description" => __("1 or 0") ), array( "type" => "textfield", "class" => "", "heading" => __("Price Title",'splendor'), "param_name" => "price_title", "value" => __("Business Plan",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Amount",'splendor'), "param_name" => "price_amount", "value" => __("10",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Currency",'splendor'), "param_name" => "price_cur", "value" => __("$",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Date",'splendor'), "param_name" => "price_date", "value" => __("per month",'splendor'), ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Header background color",'splendor'), "param_name" => "price_head_bg", "value" => '#ff5c00', ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Header text color",'splendor'), "param_name" => "price_title_color", "value" => '#ffffff', ), array( "type" => "textfield", "class" => "", "heading" => __("Text on the button",'splendor'), "param_name" => "text_on_button", "value" => __("Order Now",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Button URL",'splendor'), "param_name" => "url_on_button", "value" => __("#",'splendor'), ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<ul><li>1</li><li>2</li><li>3</li></ul>",'splendor'), ) ) ) ); vc_map( array( "name" => __("Team Member",'splendor'), "base" => "vc_team_member", "class" => "", "icon" => "icon-wpb-team_member", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "attach_image", "class" => "", "heading" => __("Member Photo",'splendor'), "param_name" => "image", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Name",'splendor'), "param_name" => "name", "value" => __("Jhon Doe",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Position In Company",'splendor'), "param_name" => "position", "value" => __("My Position In Company",'splendor'), "description" => __("") ), array( "type" => "textfield", "class" => "", "heading" => __("Contact text",'splendor'), "param_name" => "welcome", "value" => __("Text above the icons",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("URL to Facebook page",'splendor'), "param_name" => "fb_url", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("URL to Twitter page",'splendor'), "param_name" => "tw_url", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("URL to Google plus page",'splendor'), "param_name" => "gplus_url", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("URL to LinkedIn page",'splendor'), "param_name" => "in_url", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("e-mail",'splendor'), "param_name" => "mail_url", "value" => __("",'splendor'), ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Testimonial I",'splendor'), "base" => "testimonial_i", "class" => "", "icon" => "icon-wpb-testimonial", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "title", "value" => __("Testimonial Author",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Date",'splendor'), "param_name" => "date", "value" => __("Testimonial date",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Rating",'splendor'), "param_name" => "rating", "value" => __("5",'splendor'), "description" => __("From 1 to 5") ), array( "type" => "textfield", "class" => "", "heading" => __("Company",'splendor'), "param_name" => "company", "value" => __("Testimonial Company",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("URL to Company Site",'splendor'), "param_name" => "cpmpany_url", "value" => __("#",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Author Image",'splendor'), "param_name" => "image", "value" => __("http://html.orange-idea.com/splendor/wp-content/uploads/2013/08/proff.png",'splendor'), "description" => __("Past url to your image") ), array( "type" => "textfield", "class" => "", "heading" => __("Image Style",'splendor'), "param_name" => "image_style", "value" => __("1",'splendor'), "description" => __("1 - Image Circle, 2 - Image Rounded conors, 3 - Image Polaroid Style,") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Background color",'splendor'), "param_name" => "bg", "value" => '#ffffff', "description" => __("Choose background color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Border color",'splendor'), "param_name" => "border", "value" => '#f6f6f6', "description" => __("Choose border color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Text color",'splendor'), "param_name" => "color", "value" => '#666666', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Icon Box I",'splendor'), "base" => "vc_box", "class" => "", "icon" => "icon-wpb-vc_box_i", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "title", "value" => __("Box Title",'splendor'), "description" => __("Enter the box title") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Icon Background color",'splendor'), "param_name" => "icon_bg", "value" => '#ff5c00', "description" => __("Choose Icon Background color") ), array( "type" => "textfield", "class" => "", "heading" => __("Icon",'splendor'), "param_name" => "icon", "value" => __("http://html.orange-idea.com/splendor/wp-content/themes/splendor/assets/img/plane.png",'splendor'), "description" => __("Past url to your icon") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Background color",'splendor'), "param_name" => "bg", "value" => '#f9f9f9', "description" => __("Choose text color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Border color",'splendor'), "param_name" => "border", "value" => '#ededed', "description" => __("Choose Border color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Text color",'splendor'), "param_name" => "color", "value" => '#666666', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Icon Box II",'splendor'), "base" => "vc_box_ii", "class" => "", "icon" => "icon-wpb-vc_box_ii", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "title", "value" => __("Box Title",'splendor'), "description" => __("Enter the box title") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Icon Background color",'splendor'), "param_name" => "icon_bg", "value" => '#ff5c00', "description" => __("Choose Icon Background color") ), array( "type" => "textfield", "class" => "", "heading" => __("Icon",'splendor'), "param_name" => "icon", "value" => __("http://html.orange-idea.com/splendor/wp-content/themes/splendor/assets/img/plane.png",'splendor'), "description" => __("Past url to your icon") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Background color",'splendor'), "param_name" => "bg", "value" => '#ffffff', "description" => __("Choose text color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Border color",'splendor'), "param_name" => "border", "value" => '#ededed', "description" => __("Choose Border color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Text color",'splendor'), "param_name" => "color", "value" => '#666666', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Icon Box III",'splendor'), "base" => "vc_box_iii", "class" => "", "icon" => "icon-wpb-vc_box_iii", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "title", "value" => __("Box Title",'splendor'), "description" => __("Enter the box title") ), array( "type" => "textfield", "class" => "", "heading" => __("Icon",'splendor'), "param_name" => "icon", "value" => __("http://html.orange-idea.com/splendor/wp-content/themes/splendor/assets/img/or-plane.png",'splendor'), "description" => __("Past url to your icon") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Icon Box IV",'splendor'), "base" => "vc_box_iv", "class" => "", "icon" => "icon-wpb-vc_box_iv", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "title", "value" => __("Box Title",'splendor'), "description" => __("Enter the box title") ), array( "type" => "textfield", "class" => "", "heading" => __("Icon",'splendor'), "param_name" => "icon", "value" => __("http://html.orange-idea.com/splendor/wp-content/themes/splendor/assets/img/or-plane.png",'splendor'), "description" => __("Past url to your icon") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Achievements",'splendor'), "base" => "achievements", "class" => "", "icon" => "icon-wpb-ach", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Achievement Title",'splendor'), "param_name" => "title", "value" => __("123",'splendor'), "description" => __("Enter the achievement title") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Text color",'splendor'), "param_name" => "color", "value" => '#ff5c00', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Content Break",'splendor'), "base" => "c_break", "class" => "", "icon" => "icon-wpb-c_break", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "first", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with header and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with footer?",'splendor'), "param_name" => "last", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with footer and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Fix content on the center?",'splendor'), "param_name" => "fixed", "value" => __("1",'splendor'), "description" => __("Set '0' if you want to stretch content and '1' if you don't want.") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("BackGround color",'splendor'), "param_name" => "bg", "value" => '#f9f9f9', "description" => __("Choose text color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Border color",'splendor'), "param_name" => "border", "value" => '', "description" => __("Choose Border color") ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("Text color",'splendor'), "param_name" => "color", "value" => '#3a3a3a', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("50/50 with image",'splendor'), "base" => "c_break_simple_bg_break", "class" => "", "icon" => "icon-wpb-50_50_with_image", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "first", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with header and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with footer?",'splendor'), "param_name" => "last", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with footer and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Set Height in px",'splendor'), "param_name" => "h", "value" => __("300px",'splendor'), "description" => __("For example '400px'") ), array( "type" => "attach_image", "class" => "", "heading" => __("Upload LeftSide Background image",'splendor'), "param_name" => "image", "value" => __("",'splendor'), ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("RightSide BackGround color",'splendor'), "param_name" => "bgcolor", "value" => '#e9e8e4', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("Full Paralax",'splendor'), "base" => "c_break_full_paralax_break", "class" => "", "icon" => "icon-wpb-full_paralax", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "first", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with header and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with footer?",'splendor'), "param_name" => "last", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with footer and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Fix content on the center?",'splendor'), "param_name" => "fixed", "value" => __("1",'splendor'), "description" => __("Set '0' if you want to stretch content and '1' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Set Height in px",'splendor'), "param_name" => "h", "value" => __("300px",'splendor'), "description" => __("For example '400px'") ), array( "type" => "textfield", "class" => "", "heading" => __("Data Speed (BG position)",'splendor'), "param_name" => "bgposition", "value" => __("3",'splendor'), "description" => __("From 0 to 10") ), array( "type" => "attach_image", "class" => "", "heading" => __("Upload LeftSide Background image",'splendor'), "param_name" => "image", "value" => __("",'splendor'), ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("RightSide BackGround color",'splendor'), "param_name" => "bgcolor", "value" => '#e9e8e4', "description" => __("Choose text color") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("50/50 with paralax",'splendor'), "base" => "c_break_half_paralax_break", "class" => "", "icon" => "icon-wpb-full_50_50_paralax", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with header?",'splendor'), "param_name" => "first", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with header and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Speed",'splendor'), "param_name" => "bgposition", "value" => __("2",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("Want to stick with footer?",'splendor'), "param_name" => "last", "value" => __("0",'splendor'), "description" => __("Set '1' if you want to stick it with footer and '0' if you don't want.") ), array( "type" => "textfield", "class" => "", "heading" => __("Set Height in px",'splendor'), "param_name" => "h", "value" => __("",'splendor'), "description" => __("For example '400px'") ), array( "type" => "attach_image", "class" => "", "heading" => __("Upload LeftSide Background image",'splendor'), "param_name" => "image", "value" => __("",'splendor'), ), array( "type" => "colorpicker", "holder" => "div", "class" => "", "heading" => __("RightSide BackGround color",'splendor'), "param_name" => "bgcolor", "value" => '#e9e8e4', "description" => __("Choose text color") ), array( "type" => "textfield", "holder" => "div", "class" => "", "heading" => __("RightSide Padding",'splendor'), "param_name" => "padding", "value" => '60px', ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); vc_map( array( "name" => __("HTML5 Video",'splendor'), "base" => "vbg", "class" => "", "icon" => "icon-wpb-video", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "attach_image", "class" => "", "heading" => __("Upload Video Poster",'splendor'), "param_name" => "image", "value" => __("") ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Text on the Poster",'splendor'), "param_name" => "poster_content", "value" => __("<h2>I am the Title</h2><p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ), array( "type" => "textfield", "class" => "", "heading" => __("WEBM Format",'splendor'), "param_name" => "webm_format", "value" => __("http://orange-idea.com/video/demo.webm",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("OGV Format",'splendor'), "param_name" => "orgv_format", "value" => __("http://orange-idea.com/video/demo.ogv",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("MP4 Format",'splendor'), "param_name" => "mp4_format", "value" => __("http://orange-idea.com/video/demo.mp4",'splendor'), ), ) ) ); vc_map( array( "name" => __("Video Background",'splendor'), "base" => "vbgg", "class" => "", "icon" => "icon-wpb-video-bg", "admin_enqueue_css" => array(get_template_directory_uri().'/vc_extend/style.css'), "category" => __('Content'), "params" => array( array( "type" => "attach_image", "class" => "", "heading" => __("Image for Tablets and Phones",'splendor'), "param_name" => "image", "value" => __("",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("WEBM Format",'splendor'), "param_name" => "webm_format", "value" => __("http://orange-idea.com/video/demo.webm",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("OGV Format",'splendor'), "param_name" => "orgv_format", "value" => __("http://orange-idea.com/video/demo.ogv",'splendor'), ), array( "type" => "textfield", "class" => "", "heading" => __("MP4 Format",'splendor'), "param_name" => "mp4_format", "value" => __("http://orange-idea.com/video/demo.mp4",'splendor'), ), array( "type" => "textarea_html", "holder" => "div", "class" => "", "heading" => __("Content",'splendor'), "param_name" => "content", "value" => __("<p>I am test text block. Click edit button to change this text.</p>",'splendor'), "description" => __("Enter your content.") ) ) ) ); /* ------------------------------------------------------------------------ */ /* / Tis if for Visual Composer Content Break shortcodes/ /* ------------------------------------------------------------------------ */ add_filter( 'the_content', 'my_div_form' ); function my_div_form($text) { $regexp_code = "|\[vc_row\](.*)\[/vc_row\]|imuUs"; preg_match_all($regexp_code,$text,$out); $text_out =""; foreach($out[0] as $val){ $regexp_code1 = "|\[c_break(.*)\[/c_break(.*)\]|imuUs"; preg_match_all($regexp_code1,$val,$out1); if(count($out1[1])>0){ foreach($out1[0] as $key_c =>$val_c){ $text_out .= $out1[0][$key_c]; } }else{ $text_out .= $val; } } if(count($out[0]) == 0){ $text_out = $text; } return $text_out; } ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare