| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/ |
Upload File : |
<?php
/**
* The Sidebar containing the main widget areas.
*/
$sidebar_show = grace_church_get_custom_option('show_sidebar_main');
$sidebar_scheme = grace_church_get_custom_option('sidebar_main_scheme');
$sidebar_name = grace_church_get_custom_option('sidebar_main');
if (!grace_church_param_is_off($sidebar_show) && is_active_sidebar($sidebar_name)) {
?>
<div class="sidebar widget_area scheme_<?php echo esc_attr($sidebar_scheme); ?>" role="complementary">
<div class="sidebar_inner widget_area_inner">
<?php
ob_start();
do_action( 'before_sidebar' );
global $GRACE_CHURCH_GLOBALS;
if (!empty($GRACE_CHURCH_GLOBALS['reviews_markup']))
echo '<aside class="column-1_1 widget widget_reviews">' . ($GRACE_CHURCH_GLOBALS['reviews_markup']) . '</aside>';
$GRACE_CHURCH_GLOBALS['current_sidebar'] = 'main';
if ( !dynamic_sidebar($sidebar_name) ) {
// Put here html if user no set widgets in sidebar
}
do_action( 'after_sidebar' );
$out = ob_get_contents();
ob_end_clean();
echo trim(chop(preg_replace("/<\/aside>[\r\n\s]*<aside/", "</aside><aside", $out)));
?>
</div>
</div> <!-- /.sidebar -->
<?php
}
?>