HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.4.33
System: Linux webkhoa.212 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 23 16:47:03 UTC 2022 x86_64
User: fect (1004)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/fect/web/fect.ictu.edu.vn/public_html/wp-content/themes/ictu/page.php
<?php
get_header();
$page_layout      = theme_page_layout();
$has_sidebar      = $page_layout['layout'] != 'full';
$hide_breadcrumbs = theme_option_meta('_custom_page_side_options', null, 'page_breadcrumbs');
/* CLASS */
$main_class   = array("container", "site-content");
$main_class[] = $has_sidebar ? "sidebar-{$page_layout['layout']}" : 'no-sidebar';
if (!empty($meta_class)) {
    $main_class[] = $meta_class;
}
?>
    <!-- page banner -->
<?php theme_page_banner_template(); ?>
    <!-- .site-content-contain -->
    <div id="content" class="<?php echo implode(' ', $main_class); ?>">
        <div id="primary" class="content-area">
            <main id="main" class="site-main" role="main">
                <?php if ($hide_breadcrumbs != 1) : ?>
                    <?php theme_breadcrumb(); ?>
                <?php endif; ?>
                <?php while (have_posts()) : the_post(); ?>
                    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                        <div class="entry-content">
                            <?php
                            the_content();
                            wp_link_pages(
                                array(
                                    'before'      => '<div class="post-pagination"><span class="title">' . esc_html__('Pages:', 'ictu') . '</span>',
                                    'after'       => '</div>',
                                    'link_before' => '<span>',
                                    'link_after'  => '</span>',
                                )
                            );
                            ?>
                        </div><!-- .entry-content -->
                    </article><!-- #post-## -->
                    <?php
                    // If comments are open or we have at least one comment, load up the comment template.
                    if (comments_open() || get_comments_number()) :
                        comments_template();
                    endif;
                endwhile; // End of the loop.
                ?>
            </main><!-- #main -->
        </div><!-- #primary -->
        <?php if ($has_sidebar) : ?>
            <aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e('Page Sidebar', 'ictu'); ?>">
                <?php do_action('theme_before_dynamic_sidebar'); ?>
                <?php dynamic_sidebar($page_layout['sidebar']); ?>
                <?php do_action('theme_after_dynamic_sidebar'); ?>
            </aside><!-- #secondary -->
        <?php endif; ?>
    </div><!-- .site-content-contain -->

<?php
get_footer();