Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Template Name: Artist
- * Description: A Page Template that adds a sidebar to pages
- *
- * @package WordPress
- * @subpackage Twenty_Eleven
- * @since Twenty Eleven 1.0
- */
- get_header(); ?>
- <div id="primary">
- <div id="content" role="main">
- <?php while ( have_posts() ) : the_post(); ?>
- <!-- here is where I grabbed content-page.php and pulled it in to reduce PHP calls -->
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry-content">
- <?php the_content(); ?>
- </div><!-- .entry-content -->
- </article><!-- #post-<?php the_ID(); ?> -->
- <!-- end of content-page.php -->
- <?php endwhile; // end of the loop. ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <!-- get sidebar-artist.php -->
- <?php get_sidebar('artist'); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement