| Server IP : 10.19.1.101 / Your IP : 216.73.216.158 Web Server : Apache System : Linux web1f13.kinghost.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64 User : schererimoveisrs ( 170628) PHP Version : 7.4.33 Disable Function : apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/schererimoveisrs/www/wp-content/themes/sleeky/ |
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 sleeky
*/
get_header();
if ( is_active_sidebar( 'sidebar-1' ) ) :
$blog_post_list_class = 'col-lg-8';
else :
$blog_post_list_class = 'col-lg-12';
endif;
?>
<div class="sidebar-page-container">
<div class="large-container">
<div class="row clearfix">
<div class="<?php echo esc_attr( $blog_post_list_class ); ?> col-md-12 col-sm-12 content-side">
<div class="our-blog-content">
<div class="blog-list-content">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/blog-layout/blog-standard-content' );
endwhile;
else :
get_template_part( 'template-parts/content', 'none' );
endif;
wp_reset_postdata();
?>
<?php if ( get_the_posts_pagination() ) : ?>
<div class="sleeky-pagination-box">
<?php
the_posts_pagination(
array(
'mid_size' => 2,
'prev_text' => '<i class="fal fa-angle-left"></i>' . esc_html__( 'Prev', 'sleeky' ),
'next_text' => esc_html__( 'Next', 'sleeky' ) . '<i class="fal fa-angle-right"></i>',
)
);
?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php if ( is_active_sidebar( 'sidebar-1' ) ) { ?>
<div class="col-lg-4 col-md-12 col-sm-12 sidebar-side">
<div class="blog-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<?php
get_footer();