Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="container">
- <div id="single">
- <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
- <?php endwhile; ?>
- <?php else : ?>
- <p>I'm not sure what you're looking for.</p>
- <?php endif; ?>
- <div id="headline">
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></h2>
- </div><!-- end headline -->
- <div id="post-meta">
- <p>written by <?php the_author(); ?> on <?php the_date(); ?></p>
- </div><!-- end post-meta -->
- <div id="post">
- <?php the_content('read more...'); ?>
- </div><!-- end post -->
- <div class="share">
- <div class="social">
- <ul>
- <li><a href="#"><img src="<?php echo get_template_directory_uri(); ?>/img/facebook.png" alt="Like on Facebook" /></a></li>
- <li><a href="#"><img src="<?php echo get_template_directory_uri(); ?>/img/twitter.png" alt="Follow on Twitter" /></a></li>
- <li><a href="#"><img src="<?php echo get_template_directory_uri(); ?>/img/linkedin.png" alt="Connect on LinkedIn" /></a>
- </ul>
- </div><!-- end social -->
- <div class="comments">
- <a href="<?php comments_link(); ?>"><?php comments_number('0 comments', '1 comment', '% comments'); ?></a>
- </div><!-- end comments -->
- </div><!-- end share -->
- </div><!-- end single -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement