Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Forum Page Template
- */
- ?>
- <?php get_header(); ?>
- <div id="container" class="forum-page">
- <?php if(have_posts()): ?>
- <?php while(have_posts()):the_post(); ?>
- <div class="post">
- <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
- <?php the_title(); ?>
- </a></h2>
- <div class="entry">
- <?php the_content(); ?>
- <?php link_pages('<p><strong>Pages:</strong>','</p>'); ?>
- <?php edit_post_link('Edit','<p>','</p>'); ?>
- </div>
- </div>
- <?php endwhile; ?>
- <?php else: ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <h2>
- <?php _e('Not Found'); ?>
- </h2>
- </div>
- <?php endif; ?>
- </div>
- <?php // get_sidebar(); //sidebar call commented - remove the first pair of // to keep the sidebar ?>
- </div>
- <?php get_footer() ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement