Advertisement
cyberdev

Untitled

Aug 28th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. <?php
  2. /**
  3. * The Template for displaying the home page.
  4. *
  5. * @license For the full license information, please view the Licensing folder
  6. * that was distributed with this source code.
  7. *
  8. * @package Bimber_Theme 4.10
  9. */
  10.  
  11. // Prevent direct script access.
  12. if ( ! defined( 'ABSPATH' ) ) {
  13. die( 'No direct script access allowed' );
  14. }
  15.  
  16. get_header();
  17. $bimber_home_settings = bimber_get_home_settings();
  18. bimber_set_template_part_data( $bimber_home_settings );
  19. ?>
  20. <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' />
  21. <style>
  22. [class*=" mashicon-"] .text, [class^=mashicon-] .text {
  23. font-weight: bold;
  24. }
  25. .mashsb-box .mashsb-buttons a {
  26. padding: 10px ; margin-right:0px;}
  27. .g1-row-layout-page{background-color: #1a1a1a;}
  28. .entry-author{display:none}
  29. .mashsb-toggle-container{display:none;}
  30. </style>
  31. <div class="g1-row g1-row-layout-page g1-row-padding-m archive-body archive-body-stream">
  32. <div class="g1-row-inner">
  33.  
  34. <div id="primary" class="g1-column">
  35.  
  36. <div class="g1-collection">
  37. <div class="g1-collection-viewport">
  38. <ul class="g1-collection-items">
  39. <?php bimber_set_template_part_data( $bimber_home_settings ); ?>
  40. <?php while ( snax_user_posts() ) : snax_the_post(); ?>
  41.  
  42. <?php do_action( 'bimber_home_loop_before_post', 'stream', $wp_query->current_post + 1 ); ?>
  43.  
  44. <li class="g1-collection-item g1-collection-item-1of3">
  45. <?php get_template_part( 'template-parts/content-stream', get_post_format() ); ?>
  46. </li>
  47.  
  48. <?php do_action( 'bimber_home_loop_after_post', 'stream', $wp_query->current_post + 1 ); ?>
  49. <?php endwhile; ?>
  50. </ul>
  51. </div>
  52.  
  53. <?php get_template_part( 'template-parts/archive/pagination', $bimber_home_settings['pagination'] ); ?>
  54. </div><!-- .g1-collection -->
  55.  
  56. </div><!-- .g1-column -->
  57.  
  58. </div>
  59. <div class="g1-row-background"></div>
  60. </div>
  61.  
  62. <?php bimber_reset_template_part_data(); ?>
  63.  
  64. <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement