Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php global $theme;?>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class('block-item-big'); ?>>
- <?php if(has_post_thumbnail()): ?>
- <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'thumb-medium'); ?>
- <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='130' height='90' /></a></div>
- <?php endif; ?>
- <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2>
- <span class="block-meta">
- <span class="heading-author"><?php the_author_posts_link(); ?></span>
- <span class="heading-date"><?php the_time('F j, Y'); ?></span>
- <span class="heading-comments"><?php comments_popup_link(__('No Comments »','IziThemes'), __('1 Comment »','IziThemes'), '% '.__('Comments »','IziThemes')); ?></span>
- <?php edit_post_link(__('Edit this post','IziThemes'),' | <span>','</span>'); ?>
- </span>
- <p><?php echo $theme->shorten(get_the_excerpt(), 30,'...'); ?> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><span class="block-arrows"><?php _e('Read More', 'IziThemes'); ?> »</span></a></p>
- <div class="clear"></div>
- </div>
- <?php endwhile; endif; ?>
- <?php $theme->pagination($pages = '', $range = 2); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement