SHOW:
         |
         |
         - or go back to the newest paste.    
    | 1 | <?php if( is_front_page() ) : ?>  | |
| 2 | <?php query_posts("posts_per_page=3&category_name=featured");?>
 | |
| 3 | <?php while (have_posts()) : the_post(); ?>  | |
| 4 | <div class="featureportfolio<?php echo $i++;?>">  | |
| 5 | <a href="<?php the_permalink() ?>" rel="bookmark" class="title">  | |
| 6 |             <?php the_post_thumbnail('thumbnail'); ?>
 | |
| 7 | </a>  | |
| 8 | - | <a href="<?php the_permalink() ?>" rel="bookmark" class="title">  | 
| 8 | + | <div class="info">  | 
| 9 | - |        <?php the_post_thumbnail('thumbnail'); ?>
 | 
| 9 | + | <a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>  | 
| 10 | - | <div class="info">  | 
| 10 | + | </div>  | 
| 11 | - | <a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>  | 
| 11 | + | |
| 12 | <?php endwhile;?>  | |
| 13 | <?php endif; ?>  | |
| 14 | <div class="clear"></div>  | |
| 15 | <?php wp_reset_query(); ?>  | |
| 16 | ||
| 17 | <?php /* Main Loop */ ?>  | |
| 18 | <?php global $framework; ?>  | |
| 19 | ||
| 20 | <div id="post-<?php the_ID(); ?>" <?php post_class('post format-standard'); ?>>
 | |
| 21 | ||
| 22 | <div class="post-header">  | |
| 23 | 		<?php if ( has_post_thumbnail()) { ?>
 | |
| 24 | 			<?php if((is_single() || is_page()) && $framework->get_option('post_thumbnails_on_single') == 'on') { ?>
 | |
| 25 | <div class="thumbnail alignleft">  | |
| 26 | 					<?php the_post_thumbnail('thumbnail');	?>
 | |
| 27 | </div> <!-- /.thumbnail -->  | |
| 28 | 			<?php } else if((is_home() || is_archive()) && $framework->get_option('post_thumbnails_on_index') == 'on') { ?>
 | |
| 29 | <div class="thumbnail alignleft">  | |
| 30 | <a class="thumbnail-link fademe" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">  | |
| 31 | 						<?php the_post_thumbnail('thumbnail');	?>
 | |
| 32 | </a>  | |
| 33 | </div> <!-- /.thumbnail -->  | |
| 34 | <?php } // end if ?>  | |
| 35 | <?php } //end if ?>  | |
| 36 | <div class="title-wrap">  | |
| 37 | 			<?php if(is_single() || is_page()) { ?>
 | |
| 38 | <h1 class="post-title"><?php the_title(); ?></h1>  | |
| 39 | 			<?php } else { ?>
 | |
| 40 | <h2 class="post-title">  | |
| 41 | <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>  | |
| 42 | </h2>  | |
| 43 | <?php } // end if ?>  | |
| 44 | ||
| 45 | <div class="post-header-meta">  | |
| 46 | 				<?php if(strlen(trim(get_the_title())) === 0) { ?>
 | |
| 47 | 					<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><span class="the-time"><?php the_time('F j, Y'); ?></span></a>
 | |
| 48 | 				<?php } else { ?>
 | |
| 49 | 					<span class="the-time"><?php the_time('F j, Y'); ?></span>
 | |
| 50 | <?php } // end if/else ?>  | |
| 51 | 				<?php if(comments_open()) { ?>
 | |
| 52 | 					<span class="the-comment-link">— <?php comments_popup_link(__('0 Comments','standard'), __('1 Comment','standard'), __('% Comments','standard'), '', ''); ?></span>
 | |
| 53 | <?php } // end if ?>  | |
| 54 | </div><!-- /.post-header-meta -->  | |
| 55 | </div><!-- /.title-wrap -->  | |
| 56 | <div class="clear"></div>  | |
| 57 | </div> <!-- /.post-header -->  | |
| 58 | ||
| 59 | 	<?php if ( is_search() ) { ?>
 | |
| 60 | <div id="content-<?php the_ID(); ?>" class="entry-summary">  | |
| 61 | <?php the_excerpt(); ?>  | |
| 62 | <div class="clear"></div>  | |
| 63 | </div><!-- /.entry-summary -->  | |
| 64 | 	<?php } else { ?>
 | |
| 65 | ||
| 66 | <div id="content-<?php the_ID(); ?>" class="entry-content">  | |
| 67 | <div class="content">  | |
| 68 | 				<?php the_content(__('Continue Reading...','standard')); ?>
 | |
| 69 | </div>  | |
| 70 | <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'standard' ) . '</span>', 'after' => '</div>' ) ); ?>  | |
| 71 | <div class="clear"></div>  | |
| 72 | </div><!-- /.entry-content -->  | |
| 73 | ||
| 74 | <?php if( !is_front_page() ) : ?>  | |
| 75 | <center><script type="text/javascript"><!--  | |
| 76 | google_ad_client = "ca-pub-6100602944884394";  | |
| 77 | /* Bottom Post Ad */  | |
| 78 | google_ad_slot = "9592556020";  | |
| 79 | google_ad_width = 468;  | |
| 80 | google_ad_height = 60;  | |
| 81 | //-->  | |
| 82 | </script>  | |
| 83 | <script type="text/javascript"  | |
| 84 | src="http://pagead2.googlesyndication.com/pagead/show_ads.js">  | |
| 85 | </script></center>  | |
| 86 | <?php endif; ?>  | |
| 87 | ||
| 88 | <div class="post-meta">  | |
| 89 | 			<?php if(!isset($_GET['attachment_id'])) { ?>
 | |
| 90 | 			<?php _e('Tagged In','standard'); ?>
 | |
| 91 | 			<span class="the-category"><?php the_category(', '); ?></span>
 | |
| 92 | 			<span class="the-tags"><?php the_tags('', ', ', ''); ?> </span>
 | |
| 93 | <?php } ?>  | |
| 94 | </div> <!-- /.post-meta -->  | |
| 95 | ||
| 96 | <?php } // end if ?>  | |
| 97 | </div> <!-- /#post- -->  |