Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2. /*
  3. * Template Name: Page Builder Template with title
  4. *
  5. */
  6. // Exit if accessed directly
  7. if (!defined('ABSPATH')) {echo '<h1>Forbidden</h1>'; exit();} get_header(); ?>
  8.  
  9. <?php if (have_posts()) : ?>
  10.  
  11. <?php while (have_posts()) : the_post(); ?>
  12. <?php the_content(); ?>
  13. <?php endwhile; ?>
  14.  
  15. <?php else : ?>
  16.  
  17. <?php get_template_part('partials/nothing-found'); ?>
  18.  
  19. <?php endif; ?>
  20.  
  21. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement