HEX
Server: Apache
System: Linux c036.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c0400220 (20588)
PHP: 7.4.33
Disabled: system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c0400220/public_html/wp-content/themes/theme/inc/theme-settings/csf-shortcode-options.php
<?php
/**
 * theme shortcode generator
 * @since 1.0.0
 * */
if (!defined('ABSPATH')){
	exit(); //exit if access it directly
}

// Control core classes for avoid errors
if( class_exists( 'CSF' ) ) {
	$prefix = 'appside';
	CSF::createShortcoder( $prefix.'_shortcodes', array(
		'button_title'   => esc_html__('Add Shortcode','aapside'),
		'select_title'   => esc_html__('Select a shortcode','aapside'),
		'insert_title'   => esc_html__('Insert Shortcode','aapside')
	) );

	/*------------------------------------
		Inline info shortcode options
	-------------------------------------*/
	CSF::createSection( $prefix.'_shortcodes', array(
		'title'     => esc_html__('Inline Info Text','aapside'),
		'view'      => 'group',
		'shortcode' => 'appside_info_item_wrap',
		'group_shortcode' => 'appside_info_inline_text',
		'group_fields'    => array(
			array(
				'id'    => 'url',
				'type'  => 'text',
				'title' => esc_html__('URL','aapside'),
			),

			array(
				'id'      => 'text',
				'type'    => 'text',
				'title'   => esc_html__('Text','aapside'),
			)
		)
	) );
	/*------------------------------------
		Inline info link options
	-------------------------------------*/
	CSF::createSection( $prefix.'_shortcodes', array(
		'title'     => esc_html__('Inline Info Link','aapside'),
		'view'      => 'group',
		'shortcode' => 'appside_info_item_wrap',
		'group_shortcode' => 'appside_info_link',
		'group_fields'    => array(
			array(
				'id'    => 'icon',
				'type'  => 'icon',
				'title' => esc_html__('Icon','aapside'),
			),
			array(
				'id'      => 'text',
				'type'    => 'text',
				'title'   => esc_html__('Text','aapside'),
			),
			array(
				'id'      => 'url',
				'type'    => 'text',
				'title'   => esc_html__('URL','aapside'),
			)
		)
	) );
	/*------------------------------------
		info item two
	-------------------------------------*/
	CSF::createSection( $prefix.'_shortcodes', array(
		'title'     => esc_html__('Info Item Two','aapside'),
		'view'      => 'group',
		'shortcode' => 'appside_info_item_two_wrap',
		'group_shortcode' => 'appside_info_item_two',
		'group_fields'    => array(
			array(
				'id'    => 'icon',
				'type'  => 'icon',
				'title' => esc_html__('Icon','aapside'),
			),
			array(
				'id'      => 'title',
				'type'    => 'text',
				'title'   => esc_html__('Title','aapside'),
			),
			array(
				'id'      => 'details',
				'type'    => 'text',
				'title'   => esc_html__('Details','aapside'),
			)
		)
	) );
	/*------------------------------------
		info item three
	-------------------------------------*/
	CSF::createSection( $prefix.'_shortcodes', array(
		'title'     => esc_html__('Info Item Three','aapside'),
		'view'      => 'group',
		'shortcode' => 'appside_info_item_three_wrap',
		'group_shortcode' => 'appside_info_inline_item_three',
		'group_fields'    => array(
			array(
				'id'    => 'icon',
				'type'  => 'icon',
				'title' => esc_html__('Icon','aapside'),
			),
			array(
				'id'      => 'title',
				'type'    => 'text',
				'title'   => esc_html__('Title','aapside'),
			),
			array(
				'id'      => 'details',
				'type'    => 'text',
				'title'   => esc_html__('Details','aapside'),
			)
		)
	) );

}