| Server IP : 64.225.102.56 / Your IP : 216.73.216.220 Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux smtp.zejefoy.com 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : auto ( 1002) PHP Version : 7.4.33 Disable Function : 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,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/auto/web/cifisoa.com/public_html/wp-content/themes/newsever/ |
Upload File : |
<?php
/**
* The sidebar containing the main widget area
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Newsever
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
$global_layout = newsever_get_option('global_content_alignment');
$page_layout = $global_layout;
// Check if single.
if (is_singular()) {
$post_options = get_post_meta($post->ID, 'newsever-meta-content-alignment', true);
if (!empty($post_options)) {
$page_layout = $post_options;
} else {
$page_layout = $global_layout;
}
}
if (is_front_page() || is_home() ) {
$frontpage_layout = newsever_get_option('frontpage_content_alignment');
if (!empty($frontpage_layout)) {
if($frontpage_layout == 'frontpage-layout-3'){
return;
}
$page_layout = $frontpage_layout;
} else {
$page_layout = $global_layout;
}
}
if ($page_layout == 'full-width-content') {
return;
}
?>
<?php
$sticky_sidebar_class = '';
$sticky_sidebar = newsever_get_option('frontpage_sticky_sidebar');
if($sticky_sidebar){
$sticky_sidebar_class = 'aft-sticky-sidebar';
}
?>
<div id="secondary" class="sidebar-area <?php echo esc_attr($sticky_sidebar_class); ?>">
<div class="theiaStickySidebar">
<aside class="widget-area color-pad">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside>
</div>
</div>