提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
样式图

提示:以下是本篇文章正文内容,下面案例可供参考
一、添加位置

二、找到主题文件
在主题目录下functions.php文件把下面的代码添加进去:
// 文章字数和阅读时间
function count_words_read_time () {global $post;$text_num = mb_strlen(preg_replace('/s/','',html_entity_decode(strip_tags($post->post_content))),'