【发布时间】:2012-01-30 11:38:59
【问题描述】:
几个月来,我现在有了一个基于 wordpress 的 iOS 应用评论博客。 (几乎)所有文章都以应用程序的图像开头。这些图像在主页上可见,但在类别视图中,这些图像被隐藏或不存在。我需要这个类别页面来在 iOS 和 Mac OS 应用程序之间切换,如果图像也能显示在那里会很好。
主页:http://iapptipps.de/ 分类页面:http://iapptipps.de/category/ios/
我怎样才能改变它?它是由 WordPress 还是主题引起的?感谢您的回答!
categories.php的代码:
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
这里是 content.php(显示图片的地方):
<div class="entry-content">
<?php if ( has_post_thumbnail() ): ?>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a>
<?php endif; ?>
<?php the_content( __( 'Continue Reading →', 'bugis' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'bugis' ), 'after' => '</div>' ) ); ?>
</div>
【问题讨论】: