403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.1
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.9/wp-content/themes/dt-the7/inc/mods/archive-ext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.9/wp-content/themes/dt-the7/inc/mods/archive-ext/options-archive.php
<?php
/**
 * Archives settings.
 *
 * @since   3.0.0
 *
 * @package The7
 */

defined( 'ABSPATH' ) || exit;

$supported_shortcodes = array(
	'Blog Masonry & Grid',
	'Blog List',
	'Portfolio Masonry & Grid',
	'Portfolio Justified Grid',
	'Team Masonry & Grid',
	'Testimonials Masonry & Grid',
	'Albums Masonry & Grid',
	'Albums Justified Grid',
);
$options[]            = array(
	'desc' => sprintf( _x( "Settings bellow allow you to select pages to be used as templates for your 404, Archives and Search results. This includes header, footer, sidebar and <strong>content layout</strong> (beta feature).\nNote that Archives content and Search results appearance will be rendered in accordance with <strong>first</strong> <span class='of-tooltip'><strong>corresponding shortcode</strong><i class='tooltiptext'><b>Supported shortcodes:</b><br />%s</i></span> found on the page. Otherwise, it will default to masonry layout. Categorisation is always disabled and pagination defaults to the 'standard' mode.", 'theme-options', 'the7mk2' ), implode( '<br />', $supported_shortcodes ) ),
	'type' => 'info',
);

if ( class_exists( 'Elementor\Plugin' ) ) {
	$options[]            = array(
		'desc' => _x( 'Settings below do not work with pages created with Elementor.', 'theme-options', 'the7mk2' ),
		'type' => 'info',
	);
}

$options[] = array(
	'name' => _x( 'Archives', 'theme-options', 'the7mk2' ),
	'type' => 'heading',
	'id'   => 'archives',
);

$options[] = array(
	'name' => _x( 'Archive title', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['show_static_part_of_archive_title'] = array(
	'id'      => 'show_static_part_of_archive_title',
	'name'    => _x( 'The7 archive title', 'theme-options', 'the7mk2' ),
	'desc'    => _x(
		'If this option is disabled, the static part of the title, f.e. “Archives:”, will be hidden.',
		'theme-options',
		'the7mk2'
	),
	'type'    => 'radio',
	'std'     => '1',
	'options' => array(
		'1' => _x( 'Enabled', 'admin', 'the7mk2' ),
		'0' => _x( 'Disabled', 'admin', 'the7mk2' ),
	),
);

$options[] = array(
	'name' => _x( 'Author', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['template_page_id_author'] = array(
	'id'   => 'template_page_id_author',
	'name' => _x( 'Author archive template', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

$options['template_page_id_author_full_content'] = array(
	'id'         => 'template_page_id_author_full_content',
	'name'       => _x( 'Show full content of author archive template', 'theme-options', 'the7mk2' ),
	'type'       => 'radio',
	'std'        => '0',
	'options'    => array(
		'1' => _x( 'Yes', 'theme-options', 'the7mk2' ),
		'0' => _x( 'No', 'theme-options', 'the7mk2' ),
	),
	'dependency' => array(
		'field'    => 'template_page_id_author',
		'operator' => '!=',
		'value'    => '0',
	),
);

$options[] = array(
	'name' => _x( 'Date', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['template_page_id_date'] = array(
	'id'   => 'template_page_id_date',
	'name' => _x( 'Date archive template', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

$options['template_page_id_date_full_content'] = array(
	'id'         => 'template_page_id_date_full_content',
	'name'       => _x( 'Show full content of date archive template', 'theme-options', 'the7mk2' ),
	'type'       => 'radio',
	'std'        => '0',
	'options'    => array(
		'1' => _x( 'Yes', 'theme-options', 'the7mk2' ),
		'0' => _x( 'No', 'theme-options', 'the7mk2' ),
	),
	'dependency' => array(
		'field'    => 'template_page_id_date',
		'operator' => '!=',
		'value'    => '0',
	),
);

$options[] = array(
	'name' => _x( 'Blog archives', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['template_page_id_blog_category'] = array(
	'id'   => 'template_page_id_blog_category',
	'name' => _x( 'Blog category template', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

$options['template_page_id_blog_category_full_content'] = array(
	'id'         => 'template_page_id_blog_category_full_content',
	'name'       => _x( 'Show full content of blog category template', 'theme-options', 'the7mk2' ),
	'type'       => 'radio',
	'std'        => '0',
	'options'    => array(
		'1' => _x( 'Yes', 'theme-options', 'the7mk2' ),
		'0' => _x( 'No', 'theme-options', 'the7mk2' ),
	),
	'dependency' => array(
		'field'    => 'template_page_id_blog_category',
		'operator' => '!=',
		'value'    => '0',
	),
);

$options[] = array( 'type' => 'divider' );

$options['template_page_id_blog_tags'] = array(
	'id'   => 'template_page_id_blog_tags',
	'name' => _x( 'Blog tags template', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

$options['template_page_id_blog_tags_full_content'] = array(
	'id'         => 'template_page_id_blog_tags_full_content',
	'name'       => _x( 'Show full content of blog tags template', 'theme-options', 'the7mk2' ),
	'type'       => 'radio',
	'std'        => '0',
	'options'    => array(
		'1' => _x( 'Yes', 'theme-options', 'the7mk2' ),
		'0' => _x( 'No', 'theme-options', 'the7mk2' ),
	),
	'dependency' => array(
		'field'    => 'template_page_id_blog_tags',
		'operator' => '!=',
		'value'    => '0',
	),
);

$options['archive_placeholder'] = array();

$options[] = array(
	'name' => _x( 'Search', 'theme-options', 'the7mk2' ),
	'type' => 'heading',
	'id'   => 'search',
);

$options[] = array(
	'name' => _x( 'Search', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['template_page_id_search'] = array(
	'id'   => 'template_page_id_search',
	'name' => _x( 'Search page', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

$options['template_page_id_search_full_content'] = array(
	'id'         => 'template_page_id_search_full_content',
	'name'       => _x( 'Show full content of search page template', 'theme-options', 'the7mk2' ),
	'type'       => 'radio',
	'std'        => '0',
	'options'    => array(
		'1' => _x( 'Yes', 'theme-options', 'the7mk2' ),
		'0' => _x( 'No', 'theme-options', 'the7mk2' ),
	),
	'dependency' => array(
		'field'    => 'template_page_id_search',
		'operator' => '!=',
		'value'    => '0',
	),
);

$options[] = array(
	'name' => _x( '404 page', 'theme-options', 'the7mk2' ),
	'type' => 'heading',
	'id'   => '404-page',
);

$options[] = array(
	'name' => _x( '404 page template', 'theme-options', 'the7mk2' ),
	'type' => 'block',
);

$options['template_page_id_404'] = array(
	'id'   => 'template_page_id_404',
	'name' => _x( 'Choose a page to take settings and content from', 'theme-options', 'the7mk2' ),
	'type' => 'pages_list',
	'std'  => '0',
);

Youez - 2016 - github.com/yon3zu
LinuXploit