| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/fe2tech/wp-content/themes/contio/ |
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.
*
* @package Contio
*/
get_header();
$sidebar_pos = contio_get_opt( 'archive_sidebar_pos', 'right' );
?>
<div class="container content-container">
<div class="row content-row">
<div id="primary" <?php contio_primary_class( $sidebar_pos, 'content-area' ); ?>>
<main id="main" class="site-main">
<?php
if ( have_posts() )
{
while ( have_posts() )
{
the_post();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called loop-post-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content' );
}
contio_posts_pagination();
}
else
{
get_template_part( 'template-parts/content', 'none' );
}
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php if ( 'left' == $sidebar_pos || 'right' == $sidebar_pos ) : ?>
<aside id="secondary" <?php contio_secondary_class( $sidebar_pos, 'widget-area' ); ?>>
<div class="sidebar-sticky">
<?php get_sidebar(); ?>
</div>
</aside>
<?php endif; ?>
</div>
</div>
<?php
get_footer();