| Server IP : 209.17.116.165 / Your IP : 10.45.142.244 Web Server : Apache/2.4.62 (AlmaLinux) mod_fcgid/2.3.9 System : Linux prod-iad-shwpweb2017d 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : ftpvqobok ( 70567) PHP Version : 8.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /data/user/2017/2024/10/70567/wordpress/www.deltaclab.com/wp-content/themes/techup/ |
Upload File : |
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @subpackage techup
* @since 1.0
*/
get_header();
?>
<div class="sp-100 bg-w">
<div class="container">
<div class="row">
<?php if( is_active_sidebar( 'blog-sidebar' ) ){ ?>
<div class="col-lg-8">
<?php }else{ ?>
<div class="col-lg-12">
<?php } ?>
<?php
if ( have_posts() ) :
if ( is_home() && is_front_page() ) :
?>
<header>
<h1 class="page-title screen-reader-text"><?php the_archive_title(); ?></h1>
</header>
<?php
endif;
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_pagination();
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</div>
<?php if( is_active_sidebar( 'blog-sidebar' ) ){ ?>
<?php get_sidebar();
} ?>
</div>
</div>
</div>
<?php
get_footer();
?>