403Webshell
Server IP : 104.129.129.72  /  Your IP : 216.73.216.229
Web Server : LiteSpeed
System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : answe8064 ( 1002)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/123answers.ca/public_html/grandeprairie/wp-content/themes/directorytheme/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/123answers.ca/public_html/grandeprairie/wp-content/themes/directorytheme/page.php
<?php
/**
 * The template for displaying all pages
 *
 */

get_header(); ?>
<?php
  $check_page_bann_switcher_meta = metadata_exists( 'post', get_the_ID(), 'show_hide_page_bann_switcher');
  $bnner_show_hide_flag = get_post_meta(get_the_ID(),'show_hide_page_bann_switcher',true);

  $check_page_title_switcher_meta = metadata_exists( 'post', get_the_ID(), 'show_hide_page_title_switcher');
  $page_title_show_hide_flag = get_post_meta(get_the_ID(),'show_hide_page_title_switcher',true);
  
  if($bnner_show_hide_flag == 1 || $check_page_bann_switcher_meta === false):
?>
<div id="page-banner" class="<?php if(get_field('banner')) : ?>has-banner<?php endif; ?>" style="background: <?php if(get_field('banner')) : ?>url('<?php the_field('banner'); ?>') no-repeat <?php the_field('bg_position'); ?> transparent;<?php endif; ?>;">
  <div class="inner">
      <?php if($page_title_show_hide_flag == 1 || $check_page_title_switcher_meta === false): ?>
       <h1>
          <?php
            $queried_object = get_queried_object();        
            echo $queried_object->post_title; 
          ?>
        </h1>
      <?php endif; ?>
  </div><!--inner-->
</div><!--page-banner-->
<?php 
  endif;
?>
<div id="cp-container" class="cp-section">
  <div class="inner">
      <div class="full-content">
		<?php while ( have_posts() ) : the_post(); ?>
			<div class="cp-entry clearfix">
				<?php the_content(); ?>
			</div><!--cp-entry-->
		<?php endwhile; ?>
      </div>
  </div><!--inner-->
</div><!--cp-container-->



<script>
	jQuery('#cp-container img').addClass('img-fluid');
</script>

<?php get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit