![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/themes/bugster/ |
<?php /** * The template for homepage posts with "Modern" style * * @package WordPress * @subpackage BUGSTER * @since BUGSTER 1.0 */ bugster_storage_set( 'blog_archive', true ); get_header(); if ( have_posts() ) { bugster_blog_archive_start(); ?><div class="posts_container"> <?php $bugster_stickies = is_home() ? get_option( 'sticky_posts' ) : false; $bugster_sticky_out = bugster_get_theme_option( 'sticky_style' ) == 'columns' && is_array( $bugster_stickies ) && count( $bugster_stickies ) > 0 && get_query_var( 'paged' ) < 1; if ( $bugster_sticky_out ) { ?> <div class="sticky_wrap columns_wrap"> <?php } while ( have_posts() ) { the_post(); if ( $bugster_sticky_out && ! is_sticky() ) { $bugster_sticky_out = false; ?> </div> <?php } $bugster_part = $bugster_sticky_out && is_sticky() ? 'sticky' : 'modern'; get_template_part( apply_filters( 'bugster_filter_get_template_part', 'content', $bugster_part ), $bugster_part ); } if ( $bugster_sticky_out ) { $bugster_sticky_out = false; ?> </div> <?php } ?> </div> <?php bugster_show_pagination(); bugster_blog_archive_end(); } else { if ( is_search() ) { get_template_part( apply_filters( 'bugster_filter_get_template_part', 'content', 'none-search' ), 'none-search' ); } else { get_template_part( apply_filters( 'bugster_filter_get_template_part', 'content', 'none-archive' ), 'none-archive' ); } } get_footer();