05 2013 档案

调用图片
摘要:View Code 1 //1. 首先在 function.php 中新增函数 catch_that_image 2 function catch_that_image() { 3 global $post, $posts; 4 $first_img = ''; 5 ob_start(); 6 ob_end_clean(); 7 $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_conten 阅读全文

posted @ 2013-05-12 01:59 unifyyeteng 阅读(125) 评论(0) 推荐(0)

导航