Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Template Name: Full Width */
- global $shortname;
- get_header();
- ?>
- <div id="wrapper">
- <a id="top"></a>
- <?php get_template_part( 'navigation' ); ?>
- <!-- PAGE BODY -->
- <span id="content-shadow"></span>
- <div id="content-holder">
- <div id="content" class="clearfix">
- <?php if ( have_posts() ): ?>
- <?php while ( have_posts() ): the_post(); ?>
- <article>
- <h1><?php the_title(); ?></h1>
- <?php if ( !empty( $post->post_excerpt ) && get_post_meta( $post->ID, $shortname.'_show_excerpt', true ) == 'on' ) { ?>
- <h5><?php the_excerpt(); ?></h5>
- <?php } ?>
- <?php the_content(); ?>
- </article>
- </div>
- <?php endwhile; ?>
- <?php endif; ?>
- </div>
- </div>
- <!-- END PAGE BODY -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement