该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Evermore

描述

Evermore automatically abbreviates all posts when they appear on a multiple-post page such as the main blog page. It has the same effect as putting <!–more–> after the first paragraph of every post. All formatting and HTML tags are preserved in the abbreviated post.

If the post already has a <!–more–> in it, then this plugin does nothing to it and the existing <!–more–> will behave as usual.

If you want to disable the plugin for any specific post, then include the codeword <!–nevermore–> in the post. This won’t show up in the post, but it will prevent the post from being abbreviated by Evermore.

To change the length of the preview that Evermore creates, log in to your WordPress administration console and go to Settings, then click Evermore. You will see the Evermore configuration screen where you can set the following options.

  • The number of paragraphs each preview should contain
  • The minimum length of the preview. Sometimes, the first paragraph of a post can be very short (just a short sentence, or a picture). This option allows you to add extra paragraphs to make the preview a more reasonable length.
  • Where to put the “read more” link: either at the end of the last paragraph, or on a new line by itself

安装

  1. Copy evermore.php into your WordPress plugins directory (wp-content/plugins).
  2. Log in to WordPress Admin. Go to the Plugins page and click Activate for Evermore

常见问题

What is this good for?

The main page of a blog can often be too full. By default, WordPress displays the last ten posts on the main page, so viewers have to do a lot of scrolling to see if there’s something interesting. With Evermore, all posts of the main page are abbreviated down to the first paragraph, so visitors can easily scan your posts, find something interesting, and become hooked.

I want one of my posts to appear in full!

Include the magic word <!–nevermore–> in any post and Evermore will ignore that post. The magic word won’t appear when people view your post, but Evermore will see it and obey.

I’ve changed my mind. How can I get my posts back the way they were?

Just go to your WordPress Admin screen and disable the Evermore plugin. Everything will be back as it was.

Why not just add <!–more–> to my posts?

You can manually add <!–more–> to all your posts. This has exactly the same effect as Evermore. But with Evermore, you can turn the abbreviations on or off with a few clicks just by enabling or disabling the plugin. With the manual way, you have to go in and edit each individual post.

评价

阅读所有5条评价

贡献者及开发者

“Evermore” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Evermore”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.4

  • Improve compatibility with current version of WordPress.

2.3.2

  • Test with latest WP.

2.3.1

  • Clarified options page
  • Updated to be compatible with WordPress 3

2.3

  • Updated to be compatible with WordPress 2.7