Warning: Trying to access array offset on value of type bool in /www/wwwroot/zklhy.com/wp-content/themes/twentyfifteen/functions.php on line 544

Warning: Trying to access array offset on value of type bool in /www/wwwroot/zklhy.com/wp-content/themes/twentyfifteen/functions.php on line 553

wordpress调用文章内容

wordpress调用文章内容 字数是可以变换的

<p><?php echo mb_strimwidth(strip_tags(apply_filters('the_excerpt', $post->post_content)), 0, 200,"..."); ?> </p>

纯属记录  最近在弄公司的网站 各种要求 我感觉还是把我弄过了的东西记下来 以后用的时候直接来自己的博客看 多爽!

发表回复