HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/freeware/sidebar.php
<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package freeware
 */

if ( ! is_active_sidebar( 'sidebar-1' ) ) {
	return;
}

$disable_widget_design = get_theme_mod('disable-widget-design',0);
$custom_design = get_theme_mod('custom-design','default');
?>

<aside id="secondary" class="widget-area <?php if ($disable_widget_design ==0) { echo ' widget-design '; }  if ($custom_design == 'custom') { echo ' sidebar-custom-design'; }?>"  role="complementary">
	<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->