Warning: file_put_contents(/www/wwwroot/go4.iridade.monster/yakpro-po-main/tmp/1781138317_6a2a0383633188.61737295.dat): failed to open stream: No space left on device in /www/wwwroot/go4.iridade.monster/yakpro-po-main/index.php on line 32
HEX
HEX
Server: Apache
System: Linux VM-16-7-centos 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/www.molinta.com/wp-content/themes/context-blog/inc/customizer/page/single-blog.php
<?php

$wp_customize->add_section(
	'context_blog_single_page_section',
	array(
		'panel'    => 'context_blog_page_settings_panel',
		'title'    => __( 'Single page', 'context-blog' ),
		'priority' => 3,
	)
);


$context_blog_post_taxonomy_arrays = array( __( 'meta', 'context-blog' ), __( 'date', 'context-blog' ), __( 'comment', 'context-blog' ) );
foreach ( $context_blog_post_taxonomy_arrays as  $context_blog_post_taxonomy ) {

	$wp_customize->add_setting(
		'context_blog_singlepage_' . $context_blog_post_taxonomy,
		array(
			'default'           => 1,
			'sanitize_callback' => 'context_blog_sanitize_checkbox',
		)
	);

	$wp_customize->add_control(
		'context_blog_singlepage_' . $context_blog_post_taxonomy,
		array(
			/* translators: %s: Label */
			'label'   => sprintf( __( 'Show %s', 'context-blog' ), $context_blog_post_taxonomy ),
			'section' => 'context_blog_single_page_section',
			'type'    => 'checkbox',
		)
	);
}


$wp_customize->add_setting(
	'context_blog_single_page_related_post_text',
	array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	)
);

$wp_customize->add_setting(
	'context_blog_singlepage_related_customize_heading',
	array(
		'sanitize_callback' => 'sanitize_text_field',
	)
);

$wp_customize->add_control(
	new context_blog_Customizer_Title(
		$wp_customize,
		'context_blog_singlepage_related_customize_heading',
		array(
			'label'   => __( 'Related post settings', 'context-blog' ),
			'section' => 'context_blog_single_page_section',
		)
	)
);

$wp_customize->add_control(
	'context_blog_single_page_related_post_text',
	array(
		'label'    => __( 'Title', 'context-blog' ),
		'section'  => 'context_blog_single_page_section',
		'type'     => 'text',
		'settings' => 'context_blog_single_page_related_post_text',
	)
);

$wp_customize->add_setting(
	'context_blog_related_posts_limit',
	array(
		'default'           => 22,
		'sanitize_callback' => 'absint',
	)
);

$wp_customize->add_control(
	'context_blog_related_posts_limit',
	array(
		'label'       => __( 'Excerpt Length', 'context-blog' ),
		'description' => __( 'Excerpt Length determines the no of words in short description.', 'context-blog' ),
		'section'     => 'context_blog_single_page_section',
		'type'        => 'number',
	)
);