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

StripTease

描述

The Striptease plugin changes WordPress’s default Read More teaser links so that they link to full posts.

WordPress makes it easy to break up long posts so you can save space on your home page. Simply insert the <!--more--> quicktag while editing a post, and WordPress will display the text that comes before it as a teaser followed by a Read More link to the rest of the post. When a reader follows the link, the single-post page is loaded and the browser jumps to the unread text.

This jump can be disorienting, and some bloggers prefer to link their teasers to the full posts instead of the unread text.

That’s where the StripTease plugin comes in. It automatically strips the #more fragments from the end of your teaser links and turns them into links to your full posts.

例子

The StripTease plugin automatically changes your teaser links from this:

http://guyfisher.com/2005/09/striptease/#more-6

To this:

http://guyfisher.com/2005/09/striptease/

常见问题

Why would I use this plugin?

If you create teasers for your posts with the <!--more--> quicktag, and you want those teasers to link to the full posts instead of jumping to the unread text, you should use the StripTease plugin.

How do I configure this plugin?

The StripTease plugin doesn’t require any configuration. Once it’s activated, it will immediately begin stripping the #more fragments from the end of your teaser links.

Do I have to use “pretty permalinks” with this plugin?

No, you don’t. The StripTease plugin will work with WordPress’s default querystring permalinks as well as its rewrite-based pretty permalinks.

评价

2017 年 2 月 7 日
Works like a charm, I have applied it on a blog No settings required. Just install, activate, Done…!
阅读所有5条评价

贡献者及开发者

「StripTease」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「StripTease」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

2.2

  • Increased priority to execute after theme filters

2.1

  • Replaced post ID global variable with get_the_ID function

2.0

  • Replaced the_content filter with the_content_more_link filter

1.1

  • Removed unnecessary call to get_permalink function

1.0

  • Initial release