[ Avaa Bypassed ]




Upload:

Command:

www-data@18.225.175.56: ~ $
<?php
/**
 * The Template for displaying all single posts.
 *
 * @package VW Charity NGO
 */
 
 get_header(); ?>

<main id="maincontent" role="main">
  <div class="middle-align container">
    <?php
      $vw_charity_ngo_theme_lay = get_theme_mod( 'vw_charity_ngo_theme_options','Right Sidebar');
      if($vw_charity_ngo_theme_lay == 'Left Sidebar'){ ?>
      <div class="row">
        <div class="col-md-4 col-lg-4 sidebar"><?php get_sidebar();?></div>
        <div id="our-services" class="services col-md-8 col-lg-8">
          <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
            <div class="bradcrumbs">
                <?php vw_charity_ngo_the_breadcrumb(); ?>
            </div>
          <?php }?>    
          <?php if ( have_posts() ) :
            /* Start the Loop */
            while ( have_posts() ) : the_post();
              get_template_part( 'template-parts/single-post-layout' ); 
            endwhile;

            else :
              get_template_part( 'no-results', 'archive' );
            endif; 
          ?>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
      </div>
      <div class="clearfix"></div>
    <?php }else if($vw_charity_ngo_theme_lay == 'Right Sidebar'){ ?>
      <div class="row">
        <div id="our-services" class="services col-md-8 col-lg-8">
          <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
            <div class="bradcrumbs">
                <?php vw_charity_ngo_the_breadcrumb(); ?>
            </div>
          <?php }?>        
          <?php if ( have_posts() ) :
            /* Start the Loop */
            while ( have_posts() ) : the_post();
              get_template_part( 'template-parts/single-post-layout' ); 
            endwhile;

            else :
              get_template_part( 'no-results', 'archive' ); 
            endif; 
          ?>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
        <div class="col-md-4 col-lg-4 sidebar"><?php get_sidebar();?></div>
      </div>
    <?php }else if($vw_charity_ngo_theme_lay == 'One Column'){ ?>
      <div id="our-services" class="services">
        <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
          <div class="bradcrumbs">
            <?php vw_charity_ngo_the_breadcrumb(); ?>
          </div>
        <?php }?>      
        <?php if ( have_posts() ) :
          /* Start the Loop */
          while ( have_posts() ) : the_post();
            get_template_part( 'template-parts/single-post-layout' ); 
          endwhile;

          else :
            get_template_part( 'no-results', 'archive' ); 
          endif; 
        ?>
        <div class="navigation">
          <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
              'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
              'next_text' => __( 'Next page', 'vw-charity-ngo' ),
              'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
            ) );
          ?>
            <div class="clearfix"></div>
        </div>
      </div>
    <?php }else if($vw_charity_ngo_theme_lay == 'Three Columns'){ ?>
      <div class="row">
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-1');?></div>
        <div id="our-services" class="services col-md-6 col-lg-6">
          <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
            <div class="bradcrumbs">
                <?php vw_charity_ngo_the_breadcrumb(); ?>
            </div>
          <?php }?>
          <?php if ( have_posts() ) :
            /* Start the Loop */
            while ( have_posts() ) : the_post();
              get_template_part( 'template-parts/single-post-layout' ); 
            endwhile;

            else :
              get_template_part( 'no-results', 'archive' ); 
            endif; 
          ?>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-2');?></div>
      </div>
    <?php }else if($vw_charity_ngo_theme_lay == 'Four Columns'){ ?>
      <div class="row">
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-1');?></div>
        <div id="our-services" class="services col-md-3 col-lg-3">
          <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
            <div class="bradcrumbs">
                <?php vw_charity_ngo_the_breadcrumb(); ?>
            </div>
          <?php }?>
          <?php if ( have_posts() ) :
            /* Start the Loop */
            while ( have_posts() ) : the_post();
              get_template_part( 'template-parts/single-post-layout' ); 
            endwhile;

            else :
              get_template_part( 'no-results', 'archive' ); 
            endif; 
          ?>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-2');?></div>
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-3');?></div>
      </div>
    <?php }else if($vw_charity_ngo_theme_lay == 'Grid Layout'){ ?>
      <div class="row">
        <div id="our-services" class="services col-md-9 col-lg-9">
          <div class="row">
            <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
              <div class="bradcrumbs">
                  <?php vw_charity_ngo_the_breadcrumb(); ?>
              </div>
            <?php }?>
            <?php if ( have_posts() ) :
              /* Start the Loop */
              while ( have_posts() ) : the_post();
                get_template_part( 'template-parts/single-post-layout' ); 
              endwhile;

              else :
                get_template_part( 'no-results', 'archive' ); 
              endif; 
            ?>
          </div>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
        <div class="col-md-3 col-lg-3 sidebar"><?php dynamic_sidebar('sidebar-1');?></div>
      </div>
    <?php }else{?>
      <div class="row">
        <div id="our-services" class="services col-md-8 col-lg-8">
          <?php if(get_theme_mod('vw_charity_ngo_single_post_breadcrumb',true) == 1){ ?>
            <div class="bradcrumbs">
                <?php vw_charity_ngo_the_breadcrumb(); ?>
            </div>
          <?php }?>       
          <?php if ( have_posts() ) :
            /* Start the Loop */
            while ( have_posts() ) : the_post();
              get_template_part( 'template-parts/single-post-layout' ); 
            endwhile;

            else :
              get_template_part( 'no-results', 'archive' ); 
            endif; 
          ?>
          <div class="navigation">
            <?php
              // Previous/next page navigation.
              the_posts_pagination( array(
                'prev_text' => __( 'Previous page', 'vw-charity-ngo' ),
                'next_text' => __( 'Next page', 'vw-charity-ngo' ),
                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'vw-charity-ngo' ) . ' </span>',
              ) );
            ?>
              <div class="clearfix"></div>
          </div>
        </div>
        <div class="col-md-4 col-lg-4 sidebar"><?php dynamic_sidebar('sidebar-1');?></div>
      </div>
    <?php } ?>
    <div class="clearfix"></div>
  </div>
</main>

<?php get_footer(); ?>

Filemanager

Name Type Size Permission Actions
css Folder 0777
images Folder 0777
inc Folder 0777
js Folder 0777
languages Folder 0777
page-template Folder 0777
template-parts Folder 0777
webfonts Folder 0777
woocommerce Folder 0777
404.php File 1.23 KB 0777
archive.php File 7.8 KB 0777
comments.php File 2.41 KB 0777
footer.php File 4.42 KB 0777
functions.php File 18.62 KB 0777
header.php File 1.38 KB 0777
image.php File 8.12 KB 0777
index.php File 6.71 KB 0777
inline-style.php File 47.07 KB 0777
license.txt File 34.32 KB 0777
no-results.php File 1.29 KB 0777
page.php File 3.58 KB 0777
readme.txt File 21.75 KB 0777
rtl.css File 38.84 KB 0777
screenshot.png File 178.96 KB 0777
search.php File 10.04 KB 0777
searchform.php File 652 B 0777
sidebar.php File 993 B 0777
single.php File 9.65 KB 0777
style.css File 51.96 KB 0777