Main features of the plugin:
- It supports multibyte 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.
Installation
- Unzip and upload the
wp-utf8-excerpt directory to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
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();
}
?>