HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/coolswim/wp-content/plugins/kingcomposer/shortcodes/kc_wp_sidebar.php
<?php

$name = '';
$kc_el_class = apply_filters( 'kc-el-class', $atts );

extract( $atts );

$kc_el_class[] = 'widget-area kc-wp-sidebar';

echo '<div class="'.esc_attr(implode(' ', $kc_el_class)).'">';
	
	if (empty($name))
	{
		echo '<h3 class="kc-error">'.
				__('Please select a sidebar to display','kingcomposer').
			'</h3>';
	}
	if (is_active_sidebar($name))
	{
		dynamic_sidebar($name);
	}
	else
	{
		echo '<h3 class="kc-error">'.
				'<strong>'.esc_html($name).'</strong>: '.
				__('The sidebar does not exist or inactive','kingcomposer').
			'</h3>';
	}
	
echo '</div>';