| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/tim/wp-content/themes/bizbuzz/ |
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/
*
* @package bizbuzz
*/
get_header();
$hide_home_content = apply_filters( 'bizbuzz_filter_hide_home_content', false );
if ( ! $hide_home_content ) :
$args = array(
'page_layout',
'sidebar_position_page',
);
$options = bizbuzz_get_option( $args );
$sidebar_class = bizbuzz_get_sidebar_class();
if ( 'left-sidebar' == $sidebar_class ) {
get_sidebar();
} ?>
<section id="primary" class="content-area">
<main id="main" class="site-main">
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', get_post_format() );
// 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.
do_action( 'bizbuzz_action_posts_navigation' );
?>
</main> <!-- #main -->
</section><!-- #primary -->
<?php
if ( 'right-sidebar' == $sidebar_class ) {
get_sidebar();
}
endif;
get_footer();