HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: /volume1/web1/wp-content/themes/gucherry-blog/page.php
<?php
/**
 * The template for displaying all pages
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package gucherry-blog
 */

get_header();

/**
 * Display in frontpage
 * 
 * @since 1.1.1
 */
if ( is_front_page() && get_theme_mod( 'gucherry_blog_site_banner_display_in_frontpage', false ) ) {
    gucherry_blog_banner_template();
}

?>

	<section class="main-content-area-wrap">
        <div class="dafault-page-wrap">
            <div class="default-page-s1 layout-tweak">
                <div class="gc-container">
                    <?php gucherry_blog_breadcrumb(); ?>
                    <div id="primary" class="content-area">
                        <main class="site-main">
                            <div class="default-page-inner">
                                <div class="row">
                                    <?php 
                                    $sidebar_position = gucherry_blog_sidebar_position();
                                    do_action('page_sidebar_left', $sidebar_position);
                                    ?>
                                    <div class="<?php gucherry_blog_main_container_class(); ?>">
                                       <?php
                                        if( have_posts() ) :
                                        
                                            while( have_posts() ) :
                                                the_post();
                                        
                                                get_template_part( 'template-parts/content', 'page' );
                                        
                                            endwhile;
                                        
                                         

                                        else :
                                        
                                            get_template_part( 'template-parts/content', 'none' );
                                        
                                        endif;
                                        ?>
                                    </div><!-- // col -->
                                    <?php
                                    $sidebar_position = gucherry_blog_sidebar_position();
                                    do_action('page_sidebar_right', $sidebar_position);
                                    ?>
                                </div><!-- // row -->
                            </div><!-- // default-page-inner -->
                        </main><!-- // site-main -->
                    </div><!-- // # primary -->
                </div><!-- // gc-container -->
            </div><!-- // default-page-s1 layout-tweak -->
        </div><!-- // default-page-wrap -->
    </section><!-- // main-content-area-wrap -->

<?php
get_footer();