- Unzip and upload the
wp-utf8-excerpt
directory to the /wp-content/plugins/
directory
- 通过WordPress的“插件”菜单激活插件
即可!
如果不能工作,请检查主题的index.php文件,把
to
注意:有些主题在the_content()中还有一些字,比如the_content(’Continue Reading »’),这种要把整句话换掉。有些主题用了其他文件来控制存档页面,如category.php、archive.php等,如有必要,请对这些文件也做修改。
0.8.2 对 WP 5.0 才加入的 excerpt_remove_blocks 做个检测
0.8.1 支持带密码保护的文章;非常短的文章也会显示“继续阅读”了
0.8 support latest WP version; better performance; fix typos; give warning if the PHP mbstring library is not available
0.6.2 search result page is now treated as archive page
0.6.1 fix numerous compatibility issues after hooking the_content; now works with WP-Syntax!
0.6 support latest WP version; no longer need to edit theme files; i18n; almost rewrite to optimize performance
0.5.3 you can change the text of the read more link now
0.5.2 add more default allowed tags, to make it more convenient
0.5.1 fix a small bug about the tag
0.5 add the option to set the HTML tags you'd like to preserve
0.4.2.1 修正一个小 bug
0.4.2 fix a bug caused by the bug fixed in 0.4.1
0.4.1 fix a "missing argument for mb_strlen" bug
0.4 add an option page. Now you can set the excerpt length in Settings->Excerpt.
0.3.4 支持 标签;tag; 为“继续阅读”链接添加一个 "read-more" 的 class,可用 css 控制其样式
0.3.3 fix: display the "read more" link even if the excerpt is given by the user
0.3.2 fix a bug in the "read more" link (the permalink)
0.3.1 add a "read more" link
0.3 release