在过去的 2 个小时里,由于某种原因,该fancybox
插件一直让我发疯。我过去曾让它在其他网站上工作,但它现在拒绝工作。
所以我有这段代码调用图像所在的帖子:
<ul>
<?php query_posts('cat=4'); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"></a>
<?php $content = get_the_content();
print $content; ?></li>
<?php endwhile;?>
</ul>
在wordpress
我有一个帖子(在 cat 4 中)中有 2 个图像<ul> <li>
,在 CSS 中它们被设置display: inline;
看不出有什么问题?