This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

29 lines
985 B
PHP
Executable File

<?php get_header(); ?>
<div id="post-area">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="stumblr-title"><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2></div>
<div class="stumblr-content">
<?php if ( has_post_thumbnail() ) { ?><div class="stumblr-image"><?php the_post_thumbnail( 'stumblr-large-image' ); ?></div><?php } ?>
<?php the_content(''); ?>
</div>
<div class="stumblr-meta">
<p><span class="stumblr-date"><?php the_time(get_option('date_format')); ?></span> <span class="stumblr-category"> <?php the_category(', ') ?></span></p>
</div>
<div class="clear"></div></div><!-- end post -->
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
<?php stumblr_pagination(); ?>
<?php echo paginate_links( $args ) ?>
</div>
<?php get_footer(); ?>