This plugin generates a better excerpt for multibyte language users (Chinese, for example). Besides, it keeps the html tags in the excerpt.
适合中
Author: | Betty (profile at wordpress.org) |
WordPress version required: | |
WordPress version tested: | 5.8.9 |
Plugin version: | 0.8.3 |
Added to WordPress repository: | 13-01-2009 |
Last updated: | 30-11-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | http://myfairland.net/wp-utf8-excerpt/ |
Total downloads: | 80 270 |
Active installs: | 1 000+ |
Click to start download
|
Main features of the plugin:
- It supports multi-byte language (such as Chinese). It will not produce gibberish as some other excerpt plugins do.
- The html tags in the original posts, i.e., the font styles, colors, hyperlinks, pictures and such are preserved in the excerpt.
- For better readability, it displays 300 characters for each post on the homepage and 150 characters for each post on archive pages.
FAQ
想/不想在摘要中显示某些标签,比如图片、视频,怎么办?
答:进入后台设置页面(Settings——Excerpt),修改Allow these HTML tags中的内容。
默认设置显示图片,不想显示图片的话就把删掉。
默认设置不显示视频,想显示视频的话就加入视频的标签,各个视频网站不一样,有可能是或或其他,查看插入视频的代码就知道了。
其他标签以此类推。
ChangeLog
0.8.2 fix a bug caused by function excerpt_remove_blocks() undefined
0.8.1 support password protection; very short posts will also show the ‘read more’ link
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 fix a small 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 add support for the tag; give the “read more” link a “read-more” class so that one can control its style via 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