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 );
- ?>
- <link rel='stylesheet' id='mashsb-styles-css' href='/wp-content/plugins/mashsharer/assets/css/mashsb.min.css?ver=3.4.4' type='text/css' media='all' />
- <style>
- [class*=" mashicon-"] .text, [class^=mashicon-] .text {
- font-weight: bold;
- }
- .mashsb-box .mashsb-buttons a {
- padding: 10px ; margin-right:0px;}
- .g1-row-layout-page{background-color: #1a1a1a;}
- .entry-author{display:none}
- .mashsb-toggle-container{display:none;}
- </style>
- <div class="g1-row g1-row-layout-page g1-row-padding-m archive-body archive-body-stream">
- <div class="g1-row-inner">
- <div id="primary" class="g1-column">
- <div class="g1-collection">
- <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', 'stream', $wp_query->current_post + 1 ); ?>
- <li class="g1-collection-item g1-collection-item-1of3">
- <?php get_template_part( 'template-parts/content-stream', get_post_format() ); ?>
- </li>
- <?php do_action( 'bimber_home_loop_after_post', 'stream', $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