47 |
47 |
48 <div class="entry"> |
48 <div class="entry"> |
49 |
49 |
50 <?php if( get_post_type() == 'portfolio') { ?><div class="clearfix"></div> |
50 <?php if( get_post_type() == 'portfolio') { ?><div class="clearfix"></div> |
51 <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> |
51 <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> |
52 <div class="one-third-search fl"><a href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo $image[0]; ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div> |
52 <div class="one-third-search fl"><a href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo get_image_path($image[0]); ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div> |
53 <div class="two-third-search last-column fl"><p><?php the_excerpt(); ?></p> |
53 <div class="two-third-search last-column fl"><p><?php the_excerpt(); ?></p> |
54 |
54 |
55 |
55 |
56 <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore colorFFF"><span><?php _e('View','pego_tr'); ?></span></a> |
56 <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore colorFFF"><span><?php _e('View','pego_tr'); ?></span></a> |
57 </div> |
57 </div> |
58 <?php } |
58 <?php } |
59 else |
59 else |
60 if( get_post_type() == 'post') { ?> |
60 if( get_post_type() == 'post') { ?> |
61 <div class="clearfix"></div> |
61 <div class="clearfix"></div> |
62 <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> |
62 <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> |
63 <div class="one-third-search fl mr20"><a href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo $image[0]; ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div> |
63 <div class="one-third-search fl mr20"><a href="<?php the_permalink() ?>" class="lightbox-image"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo get_image_path($image[0]); ?>&h=129&w=208&zc=1" alt="" title="<?php the_title(); ?>" /></a></div> |
64 <div class="two-third-search last-column fl mt-3"><p><?php the_excerpt(); ?></p> |
64 <div class="two-third-search last-column fl mt-3"><p><?php the_excerpt(); ?></p> |
65 <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore colorFFF"><span><?php _e('View','pego_tr'); ?></span></a> |
65 <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore colorFFF"><span><?php _e('View','pego_tr'); ?></span></a> |
66 |
66 |
67 |
67 |
68 </div> |
68 </div> |