HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux Droplet-NYC1-3 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.3-4ubuntu2.29
Disabled: 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/belairhomeloan.com/wp-content/themes/saladmag/page.php
<?php
/*
  The main template file for display page
 */
?>
<?php get_header(); ?>
<?php $GLOBALS['sbg_sidebar'] = get_post_meta(get_the_ID(), 'sbg_selected_sidebar_replacement', true);  ?>

<section id="content_main" class="clearfix">
<div class="row main_content">
   <!-- Start content -->
    <div class="eight columns" id="content">
 <div <?php post_class('widget_container content_page'); ?>> 
          
          
           <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                                <h3 class="page-title"><?php the_title(); ?></h3>
                                <?php the_content(); ?>
                                
                                 
                        <?php endwhile; // end of the loop.  ?>
                    <?php endif; ?>
           
<div class="brack_space"></div>
        </div>

  </div>
  <!-- End content -->
  
          
    <!-- Start sidebar -->
	<div class="four columns" id="sidebar"> 

                <?php
				
				if(isset($GLOBALS['sbg_sidebar'][0])){
					$custom_sidebar = $GLOBALS['sbg_sidebar'][0];
					
					$page_sidebar = of_get_option('page_sidebar','');	
					if(!empty($page_sidebar)) {
						$custom_sidebar = $page_sidebar;
					};
				
					foreach ( $GLOBALS['wp_registered_sidebars'] as $sidebar ) {
					if($sidebar['name'] == $custom_sidebar)
			  			{
							 $dyn_side = $sidebar['id'];
						}
					} 
				}			

				if(isset($dyn_side)) {
					
					if (is_active_sidebar($dyn_side)) : dynamic_sidebar($dyn_side);
		            endif;								
					
					
				} else{
					if (is_active_sidebar('general-sidebar')) { dynamic_sidebar('general-sidebar'); }
				}					
				
				
?>
  </div>
  <!-- End sidebar -->

          

</div>
 </section>
<!-- end content --> 

<?php get_footer(); ?>