罗孚传说

RoverTang.com

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年10月22日

摘要: 获取WordPress的最新文章列表虽然很容易,但似乎并不太满足我的要求。最简单的获取方法只需要两行代码就可以搞定,如下: <?php require('wp-blog-header.php'); ?><?php get_archives('postbypost', 10); ?>但我的想法是,获取最新文章列表,然后输出到html文件,最后在需要的地方直接调用这个html文件即可。但上面两行似乎是... 阅读全文
posted @ 2011-10-22 15:32 Rover.Tang 阅读(3980) 评论(1) 推荐(0) 编辑