Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (is_category()) { ?>
- <div class="et_pt_blogentry clearfix">
- <h2 class="et_pt_title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <p class="et_pt_blogmeta"><?php _e('Posted','Feather'); ?> <?php _e('by','Feather'); ?> <?php the_author_posts_link(); ?> <?php _e('on','Feather'); ?> <?php the_time(get_option('feather_date_format')) ?> <?php _e('in','Feather'); ?> <?php the_category(', ') ?> | <?php comments_popup_link(__('0 comments','Feather'), __('1 comment','Feather'), '% '.__('comments','Feather')); ?></p>
- <?php $thumb = '';
- $width = 184;
- $height = 184;
- $classtext = '';
- $titletext = get_the_title();
- $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
- $thumb = $thumbnail["thumb"]; ?>
- <?php if ( $thumb <> '' && !$et_ptemplate_showthumb ) { ?>
- <div class="et_pt_thumb alignleft">
- <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
- <a href="<?php the_permalink(); ?>"><span class="overlay"></span></a>
- </div> <!-- end .thumb -->
- <?php }; ?>
- <?php if (!$et_ptemplate_blogstyle) { ?>
- <p><?php truncate_post(550);?></p>
- <a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('read more','Feather'); ?></span></a>
- <?php } else { ?>
- <?php the_content(''); ?>
- <?php } ?>
- </div> <!-- end .et_pt_blogentry -->
- <?php } else { ?>
- <div class="post entry clearfix">
- <h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php include(TEMPLATEPATH . '/includes/postinfo.php'); ?>
- <?php
- $thumb = '';
- $width = 178;
- $height = 178;
- $classtext = 'post-thumb';
- $titletext = get_the_title();
- $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Entry');
- $thumb = $thumbnail["thumb"];
- ?>
- <?php if($thumb <> '' && get_option('feather_thumbnails_index') == 'on') { ?>
- <div class="post-thumbnail">
- <a href="<?php the_permalink(); ?>">
- <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
- <span class="post-overlay"></span>
- </a>
- </div> <!-- end .post-thumbnail -->
- <?php } ?>
- <?php if (get_option('feather_blog_style') == 'on') the_content(''); else { ?>
- <p><?php truncate_post(500); ?></p>
- <?php }; ?>
- <a href="<?php the_permalink(); ?>" class="read-more"><?php _e('Read More','Feather'); ?></a>
- </div> <!-- end .post-->
- <?php } ?>
Add Comment
Please, Sign In to add comment