Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /*
- Template Name: No Sidebar
- */
- ?>
- <?php get_header(); ?>
- <div id="main" class="no-sidebar">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <p class="post-info">Posted by <?php the_author(); ?></p>
- <?php the_content('Read the rest of this entry...'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <p class="post-footer">
- <a href="<?php the_permalink(); ?>" class="readmore">Permalink</a> |
- <a href="<?php comments_link(); ?>" class="comments">Comments (<?php comments_number('0','1','%'); ?>)</a> |
- <span class="date"><?php the_time('M j, Y'); ?></span>
- </p>
- <?php comments_template(); ?>
- <?php endwhile; else : ?>
- <h2>Not Found</h2>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <?php endif; ?>
- <!-- main ends -->
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement