WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

WP-UTF8-Excerpt

This plugin generates a better excerpt for multibyte language users (Chinese, for example). Besides, it keeps the html tags in the excerpt. 适合中

  1. Unzip and upload the wp-utf8-excerpt directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

And it's done!

If it does work, look in your theme directory, edit the index.php file by changing

    <?php the_content(); ?>

to

    <?php
        if (is_single() or is_page()) {
            the_content();
        } else {
            the_excerpt();
        } 
    ?>

安装: 1,解压到/wp-content/plugins/目录 2,在插件页面激活插件

即可!

如果不能工作,请检查主题的index.php文件,把

    <?php the_content(); ?>

改成

    <?php
        if (is_single() or is_page()) {
            the_content();
        } else {
            the_excerpt();
        } 
    ?>

注意:有些主题在the_content()中还有一些字,比如the_content(’Continue Reading »’),这种要把整句话换掉。有些主题用了其他文件来控制存档页面,如category.php、archive.php等,如有必要,请对这些文件也做修改。

Compatible up to: 3.2.1
Last Updated: 2011-12-6
Downloads: 53,465

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1
100,2,2
100,2,2
100,1,1
100,2,2 100,2,2
100,2,2
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1