403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.147.46.181
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/builder/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/builder/shortcodes/ux_pages.php
<?php

$repeater_type        = 'row';
$default_text_align   = 'left';
$repeater_col_spacing = 'normal';

$options = array(
	'pages_options'   => array(
		'type'    => 'group',
		'heading' => __( 'Options' ),
		'options' => array(
			'style'   => array(
				'type'    => 'select',
				'heading' => __( 'Style' ),
				'default' => 'normal',
				'options' => require( __DIR__ . '/values/box-layouts.php' ),
			),
			'parent'  => array(
				'type'    => 'select',
				'heading' => 'Parent',
				'default' => '',
				'options' => ux_builder_get_page_parents(),
			),
			'orderby' => array(
				'type'    => 'select',
				'heading' => __( 'Order By' ),
				'default' => 'menu_order',
				'options' => array(
					'post_title'    => 'Title',
					'post_date'     => 'Date',
					'menu_order'    => 'Menu Order',
					'post_modified' => 'Last Modified',
				),
			),
			'order'   => array(
				'type'    => 'select',
				'heading' => __( 'Order' ),
				'default' => 'asc',
				'options' => array(
					'asc'  => 'ASC',
					'desc' => 'DESC',
				),
			),
		),
	),
	'layout_options'        => require( __DIR__ . '/commons/repeater-options.php' ),
	'layout_options_slider' => require( __DIR__ . '/commons/repeater-slider.php' ),
);

$box_styles = require( __DIR__ . '/commons/box-styles.php' );
$options    = array_merge( $options, $box_styles );

$advanced = array('advanced_options' => require( __DIR__ . '/commons/advanced.php'));
$options = array_merge($options, $advanced);

add_ux_builder_shortcode( 'ux_pages',
	array(
		'name'      => __( 'Pages', 'ux-builder' ),
		'category'  => __( 'Content' ),
		'thumbnail' => flatsome_ux_builder_thumbnail( 'pages' ),
		'scripts'   => array(
			'flatsome-masonry-js' => get_template_directory_uri() . '/assets/libs/packery.pkgd.min.js',
		),
		'presets'   => array(
			array(
				'name'    => __( 'Default' ),
				'content' => '[ux_pages]',
			),
		),
		'options'   => $options,
	)
);

Youez - 2016 - github.com/yon3zu
LinuXploit