我可以用吗:
<?php
if (function_exists( 'wpp_get_mostpopular' )) {
wpp_get_mostpopular('range=weekly&order_by=views&limit=8');
}
?>
在自定义模板内部(在查询帖子内部)使用自己的模板输出进行查询:
<?php query_posts(????????); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="myclass">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo get_the_post_thumbnail( $post_id, 'thumbnail'); ?></a>
</div>
请帮我解决这个问题,这样我就不必编辑插件和插件的css,而我已经准备好通过这个插件查询帖子了。
谢谢。