This plugin generates a better excerpt for multibyte language users (Chinese, for example). Besides, it keeps the html tags in the excerpt. 适合中
wp-utf8-excerpt directory to the /wp-content/plugins/ directoryAnd 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: 33,778
Got something to say? Need help?