Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <div class="post-inner">
- <div class="meta">
- <span class="author"><?php the_author() ?></span>
- <?php echo get_avatar( get_the_author_id(), '42' ) ?>
- <small>i see</small>
- </div>
- <div class="category"><span><?php the_category(', ') ?></span></div>
- <span class="date">posted on <?php the_time('F j, Y') ?></span>
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a><span></span></h2>
- <div class="entry">
- <?php if ( in_category( 'i-see-boudoir' ) ): ?>
- <?php echo boudoir_image() ?>
- <a href="<?php the_permalink() ?>" class="read-more">view this post</a>
- <?php else: ?>
- <?php the_content(''); ?>
- <?php endif; ?>
- <span class="clearer"></span>
- </div> <!-- div.entry -->
- </div> <!-- div.post-inner -->
- <?php if ( !in_category( 'i-see-boudoir' ) ): ?>
- <div class="sharebar">
- <a href="<?php echo get_permalink(get_page_id('portfolio')); ?>">check out my <span>portfolio</span></a>
- <a href="<?php echo get_permalink(get_page_id('contact')); ?>"><span>contact me</span></a>
- <div class="fb">
- <iframe src="http://www.facebook.com/plugins/like.php?app_id=190530790998511&href=<?php the_permalink() ?>&send=false&layout=standard&width=250&show_faces=false&action=like&colorscheme=dark&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:35px;" allowTransparency="true"></iframe>
- </div>
- </div>
- <?php global $withcomments; $withcomments = 1; comments_template(); ?>
- <?php endif; ?>
- </div> <!-- div.post -->
- <?php endwhile; ?>
- <div class="navigation">
- <div class="prev"><?php previous_posts_link('Newer Posts') ?></div>
- <div class="next"><?php next_posts_link('Older Posts') ?></div>
- </div><!-- div.navigation -->
- <?php else : ?>
- <h2 class="pagetitle">Not Found</h2>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <?php get_search_form(); ?>
- <?php endif; ?>
- </div> <!-- div#content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement