Advertisement
Guest User

Untitled

a guest
Aug 12th, 2011
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.38 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3.     <div id="content">
  4.  
  5.     <?php if (have_posts()) : ?>
  6.  
  7.         <?php while (have_posts()) : the_post(); ?>
  8.  
  9.             <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  10.                 <div class="post-inner">
  11.                     <div class="meta">
  12.                         <span class="author"><?php the_author() ?></span>
  13.                         <?php echo get_avatar( get_the_author_id(), '42' ) ?>
  14.                         <small>i see</small>
  15.                     </div>
  16.                     <div class="category"><span><?php the_category(', ') ?></span></div>
  17.                    
  18.                     <span class="date">posted on <?php the_time('F j, Y') ?></span>
  19.                     <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a><span></span></h2>
  20.                     <div class="entry">
  21.                         <?php if ( in_category( 'i-see-boudoir' ) ): ?>
  22.                             <?php echo boudoir_image() ?>
  23.                             <a href="<?php the_permalink() ?>" class="read-more">view this post</a>
  24.                         <?php else: ?>
  25.                             <?php the_content(''); ?>
  26.                         <?php endif; ?>
  27.                         <span class="clearer"></span>
  28.                     </div> <!-- div.entry -->
  29.                 </div> <!-- div.post-inner -->
  30.                
  31.                 <?php if ( !in_category( 'i-see-boudoir' ) ): ?>
  32.                     <div class="sharebar">
  33.                         <a href="<?php echo get_permalink(get_page_id('portfolio')); ?>">check out my <span>portfolio</span></a>
  34.                         <a href="<?php echo get_permalink(get_page_id('contact')); ?>"><span>contact me</span></a>
  35.                         <div class="fb">
  36.                             <iframe src="http://www.facebook.com/plugins/like.php?app_id=190530790998511&amp;href=<?php the_permalink() ?>&amp;send=false&amp;layout=standard&amp;width=250&amp;show_faces=false&amp;action=like&amp;colorscheme=dark&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:35px;" allowTransparency="true"></iframe>
  37.                         </div>
  38.                     </div>
  39.                
  40.                     <?php global $withcomments; $withcomments = 1; comments_template(); ?>
  41.                 <?php endif; ?>
  42.                
  43.             </div> <!-- div.post -->
  44.            
  45.         <?php endwhile; ?>
  46.  
  47.         <div class="navigation">
  48.             <div class="prev"><?php previous_posts_link('Newer Posts') ?></div>
  49.             <div class="next"><?php next_posts_link('Older Posts') ?></div>
  50.         </div><!-- div.navigation -->
  51.  
  52.     <?php else : ?>
  53.  
  54.         <h2 class="pagetitle">Not Found</h2>
  55.         <p>Sorry, but you are looking for something that isn't here.</p>
  56.         <?php get_search_form(); ?>
  57.  
  58.     <?php endif; ?>
  59.  
  60.     </div> <!-- div#content -->
  61.  
  62. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement