+5°
为了方便访问者找到最好的内容,很多博客都会在显著的位置展示最热的文章,也就是评论最多的文章,比如我制作的热点新闻主题,就集成了这一功能。今天再发一个带缩略图的评论最文章代码。
<?php $popular = new WP_Query('orderby=comment_count&posts_per_page=5'); ?>
<?php while ($popular->have_posts()) : $popular->the_post(); ?>
<?php $justanimage = get_post_meta($post->ID, 'image', true);
if ($justanimage) { ?>
<img src="<?php echo get_post_meta...
Wordpress, 代码阅读全文
+7°
More and more clients are using WordPress as their CMS. As a designer or developer, you should really get into WordPress coding. To get started, you can read my WordPress theme guide and hacks. Now, I would like to recommend a resourceful WordPress site to you called WpRecipes. This post contains over 20 recipes that I hand picked from WpRecipes. If you have any good WordPress code or hacks that you want to share, feel free to send them over and I will post it.
先粘...
Wordpress, 代码阅读全文














原创出于这里啊,厉害的知更鸟
测试测试啦。
看看 实现下着功能、··
鸟哥好。我想给网站底部添加一
鸟哥这个主题太给力了,我刚建
鸟哥V5,支持
这个蛮实用的哈!可以增加一点
学习一下先说!呵呵