Advertisement
Guest User

Untitled

a guest
Sep 11th, 2020
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <?php
  2. /**
  3. * Template name:Full-width page
  4. */
  5. get_header();
  6.  
  7. if (get_post_meta( get_the_ID(), 'slider_chkbx', true )) {
  8.  
  9. get_template_part('index','slider');
  10.  
  11. }
  12.  
  13. spicepress_overlap_bredcrumb(); ?>
  14. <!-- Blog & Sidebar Section -->
  15. <section class="blog-section">
  16. <div class="container">
  17. <div class="row">
  18. <!--Blog Section-->
  19. <div class="col-md-12 col-xs-12">
  20. <?php
  21. // Start the Loop.
  22. while ( have_posts() ) : the_post();
  23. // Include the page
  24. ?>
  25. <article class="post" id="post-<?php the_ID(); ?>" <?php post_class( 'post-content-area wow fadeInDown animated' ); ?> data-wow-delay="0.4s">
  26.  
  27. <?php
  28. echo '<figure class="post-thumbnail" href="'.esc_url(get_the_permalink()).'">';
  29. the_post_thumbnail( '', array( 'class'=>'img-responsive','alt' => get_the_title() ) );
  30. echo '</figure>';
  31. ?>
  32.  
  33. <div class="post-content">
  34. <div class="entry-content">
  35. <?php the_content( __('Read More','spicepress') );
  36. wp_link_pages();?>
  37. </div>
  38. </div>
  39. </article>
  40. <?php
  41.  
  42. comments_template( '', true ); // show comments
  43.  
  44. endwhile;
  45. ?>
  46. </div>
  47. <!--/Blog Section-->
  48. </div>
  49. </div>
  50. </section>
  51. <!-- /Blog & Sidebar Section -->
  52. <?php get_template_part('index','client'); ?>
  53. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement