Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="main">
- <div class="columns">
- <div class="narrowcolumn singlepage">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="post">
- <div class="title">
- <h2><?php the_title(); ?></h2>
- <small><?php _e('Posted by','nattywp'); ?> <span class="author"><?php theme_get_profile() ?></span> <?php _e('in','nattywp'); ?> <?php the_category(' | ');?> <?php edit_post_link(__('Edit','nattywp'), ' | ', ''); ?></small>
- </div>
- <div class="entry">
- <?php t_show_video($post->ID); ?>
- <?php the_content(); ?>
- <div class="clear"></div>
- </div>
- <p class="postmetadata">
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <span class="category"><?php the_tags('', ', ', ''); ?></span>
- </p>
- <p><small><?php _e('You can follow any responses to this entry through the','nattywp'); ?> <?php post_comments_feed_link('RSS 2.0'); ?>
- <?php if ( comments_open() && pings_open() ) {
- // Both Comments and Pings are open ?>
- <?php _e('You can <a href="#respond">leave a response</a>, or','nattywp'); ?> <a href="<?php trackback_url(); ?>" rel="trackback"><?php _e('trackback','nattywp'); ?></a>.
- <?php } elseif ( !comments_open() && pings_open() ) {
- // Only Pings are Open ?>
- <?php _e('Responses are currently closed, but you can','nattywp'); ?> <a href="<?php trackback_url(); ?> " rel="trackback"><?php _e('trackback','nattywp'); ?></a>.
- <?php } elseif ( comments_open() && !pings_open() ) {
- // Comments are open, Pings are not ?>
- <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.','nattywp'); ?>
- <?php } elseif ( !comments_open() && !pings_open() ) {
- // Neither Comments, nor Pings are open ?>
- <?php _e('Both comments and pings are currently closed.','nattywp'); ?>
- <?php } ?>
- </small>
- </p>
- </div>
- <div class="post">
- <?php comments_template(); ?>
- </div>
- <?php endwhile; ?>
- <?php else : ?>
- <div class="post">
- <h2><?php _e('Not Found','nattywp'); ?></h2>
- <div class="entry"><p><?php _e('Sorry, but you are looking for something that isn\'t here.','nattywp'); ?></p>
- <?php get_search_form(); ?>
- </div>
- </div>
- <?php endif; ?>
- </div> <!-- END Narrowcolumn -->
- <div id="sidebar" class="profile">
- <?php get_sidebar();?>
- </div>
- <div class="clear"></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement