Add basic post thumbnail support to Default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@12133 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cde0b909e4
commit
7f3d6064fe
@ -40,6 +40,9 @@ get_header();
|
||||
<small><?php the_time('l, F jS, Y') ?></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php if ( has_post_image() ) : ?>
|
||||
<a href="<?php the_permalink(); ?>"><?php the_post_image( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a>
|
||||
<?php endif; ?>
|
||||
<?php the_content() ?>
|
||||
</div>
|
||||
|
||||
|
@ -17,6 +17,9 @@ if ( function_exists('register_sidebar') ) {
|
||||
));
|
||||
}
|
||||
|
||||
if ( function_exists( 'add_theme_support' ) )
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
|
||||
/** @ignore */
|
||||
function kubrick_head() {
|
||||
$head = "<style type='text/css'>\n<!--";
|
||||
|
@ -17,6 +17,9 @@ get_header(); ?>
|
||||
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php if ( has_post_image() ) : ?>
|
||||
<a href="<?php the_permalink(); ?>"><?php the_post_image( array( 75, 75 ), array( 'class' => 'alignleft' ) ); ?></a>
|
||||
<?php endif; ?>
|
||||
<?php the_content('Read the rest of this entry »'); ?>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user