HEX
Server: nginx/1.16.1
System: Linux VM-0-14-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 8.3.31
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/1.scey.cn/wp-content/themes/Leading/admin/pages/Leading-footer.php
<?php

add_filter('wpjam_theme_setting', function(){
	
	$sections	= [

		'foot_column' =>[ 'title' =>'推荐栏目', 'fields' =>[

				'foot_column' => ['title'=>'添加推荐栏目', 'type'=>'mu-fields', 'total'=>4, 'fields'=>[

					'foot_column_img' => ['title'=>'背景图片', 'type'=>'img', 'item_type'=>'url', 'description'=>'建议尺寸:270 × 130'],
					'foot_column_title' => ['title'=>'栏目标题', 'type'=>'text', 'class'=>'all-options'],
					'foot_column_url' => ['title'=>'跳转链接', 'type'=>'url', 'class'=>'all-options'],

				]],

			]
		],

		'foot_other' =>[ 'title' =>'其他设置', 'fields' =>[

			'foot_logo' => ['title'=>'页脚Logo', 'type'=>'img', 'item_type'=>'url', 'description'=>'建议尺寸:178 × 38'],
			'foot_txt'	=> ['title'=>'Logo下方描述',	'type'=>'textarea',	'description'=>'显示在页脚Logo下面'],
			'foot_copyright'	=> ['title'=>'自定义页脚版权信息',	'type'=>'textarea',	'description'=>'可使用html标签,留空则显示默认页脚版权信息'],

			]
		],

		'foot_code' =>[ 'title' =>'页脚二维码', 'summary'	=>'<p>最多可上传4个二维码,上传后则不显示页脚菜单,菜单和二维码只能二选一</p>', 'fields' =>[

				'foot_code' => ['title'=>'上传页脚二维码', 'type'=>'mu-fields', 'total'=>4, 'fields'=>[

					'foot_code_img' => ['title'=>'上传二维码', 'type'=>'img', 'item_type'=>'url', 'description'=>'建议尺寸:150×150'],
					'foot_code_title' => ['title'=>'二维码标题', 'type'=>'text', 'class'=>'all-options'],

				]],

			]
		],

		
	];

	return compact('sections');
});