独自のカスタム ワードプレス テーマを作成しています。
これは私のテーマの index.php にあるものです:
<?php while (have_posts()) : the_post(); ?>
<li id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
</span>
<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" class="thumb"><img src="<?php the_post_thumbnail(); ?>" /></a>
<?php endif; ?>
<div class="post">
<?php get_the_content(400, "Read more"); ?> <a href="<?php the_permalink(); ?>">Read more</a>.
</div<br/>
私の functions.php ファイルには次のものがあります。
<?php
add_theme_support( 'post-thumbnails', array( 'post' ) );
the_post_thumbnail( array(80,80) );
?>
私のサイトはこれを示しています(画像が読み込まれません):
<a href="http://ipadappbuzz.com/?p=1" class="thumb"><img src="<img width="50" height="50" src="http://ipadappbuzz.com/wp-content/uploads/article-new_ehow_images_a00_05_uu_decorate-outdoors-halloween-800x800-50x50.jpg" class="attachment-post-thumbnail wp-post-image" alt="article-new_ehow_images_a00_05_uu_decorate-outdoors-halloween-800x800" title="article-new_ehow_images_a00_05_uu_decorate-outdoors-halloween-800x800" />" /></a>
<div class="post">
<a href="http://ipadappbuzz.com/?p=1">Read more</a>.
画像ソースが正しく読み込まれない理由がわかりません。