Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Template for displaying the home page.
- *
- * @license For the full license information, please view the Licensing folder
- * that was distributed with this source code.
- *
- * @package Bimber_Theme 4.10
- */
- // Prevent direct script access.
- if ( ! defined( 'ABSPATH' ) ) {
- die( 'No direct script access allowed' );
- }
- get_header();
- $bimber_home_settings = bimber_get_home_settings();
- bimber_set_template_part_data( $bimber_home_settings );
- ?>
- <div class="g1-row g1-row-layout-page g1-row-padding-m archive-body">
- <div class="g1-row-inner">
- <div id="primary" class="g1-column">
- <div class="g1-collection g1-collection-columns-3">
- <div class="g1-collection-viewport">
- <ul class="g1-collection-items">
- <?php bimber_set_template_part_data( $bimber_home_settings ); ?>
- <?php while ( snax_user_posts() ) : snax_the_post(); ?>
- <?php do_action( 'bimber_home_loop_before_post', 'grid', $wp_query->current_post + 1 ); ?>
- <li class="g1-collection-item g1-collection-item-1of3">
- <?php get_template_part( 'template-parts/content-grid-standard', get_post_format() ); ?>
- </li>
- <?php do_action( 'bimber_home_loop_after_post', 'grid', $wp_query->current_post + 1 ); ?>
- <?php endwhile; ?>
- </ul>
- </div>
- <?php get_template_part( 'template-parts/archive/pagination', $bimber_home_settings['pagination'] ); ?>
- </div><!-- .g1-collection -->
- </div><!-- .g1-column -->
- </div>
- <div class="g1-row-background"></div>
- </div>
- <?php bimber_reset_template_part_data(); ?>
- <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement