Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Full Width Page
- */
- ?>
- <?php get_header(); ?>
- <div id="content">
- <div class="post-single">
- <!-- Section: Category list right at top -->
- <h3 id="post-single-category"><?php global $post; $slug = get_post( $post )->post_name; echo $slug ?></h3>
- <!-- Section: Featured Image -->
- <!-- If has featured image, then show it, else show nothing -->
- <?php if ( '' != get_the_post_thumbnail() ) {echo '<div class="post-featured-image">';the_post_thumbnail(); echo '</div>';} else {echo '';}; ?>
- <!-- Start left column -->
- <div class="post-single-left full-width">
- <div class="post-entry">
- <!-- Section: Title and META -->
- <h1><?php the_title(); ?></h1>
- <!-- Section: Post content -->
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <?php the_content( __('<p>Read the rest of this entry »</p>', 'svelte') ); ?>
- <div class="clear"></div><!-- .clear -->
- </div><!-- /.post-entry -->
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.', 'svelte'); ?></p>
- <?php endif; ?>
- <div class="clear"></div><!-- .clear -->
- </div><!-- .post-single-left -->
- <div class="clear"></div>
- </div><!-- /.post-single -->
- </div><!-- /#content -->
- <?php include("incl/keyboard-scrolling-posts.php"); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement