Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
Editing: page.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; get_header(); // custom post type Redirection $prefix = Constants::$theme_prefix; $post_types = array('project', 'service', 'team'); foreach ($post_types as $post_type) { if ( is_post_type_archive( "{$prefix}_{$post_type}" ) || is_tax( "{$prefix}_{$post_type}_category" ) ) { get_template_part( "template-parts/{$post_type}/archive", $post_type ); return; } } $post_class = Helper::has_sidebar() ? 'col-md-6' : 'col-md-4'; ?> <div class="single-blog-wrap content-padding"> <div class="container"> <div class="row"> <?php Helper::left_sidebar(); ?> <div class="<?php echo esc_attr( Helper::the_layout_class() ); ?>"> <div> <?php while(have_posts()): the_post(); ?> <div class="page-content"> <?php get_template_part( 'template-parts/content', 'page'); ?> </div> <?php endwhile; ?> </div> <?php if ( comments_open() || get_comments_number() ): ?> <div class="comments-wrapper"> <?php comments_template(); ?> </div> <?php endif ?> </div> <?php Helper::right_sidebar() ?> </div> </div> </div> <?php get_footer(); ?>
Save
Cancel