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.

Example

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