內容簡介
StripTease 外掛程式會更改 WordPress 預設的「閱讀更多」(teaser) 連結,讓它們可以直接連到完整的文章。
在 WordPress 中,若您想要在首頁上顯示的文章,只呈現部分內容,可在文章編輯頁面加入 <!--more--> 快速標籤,WordPress 將會把此標籤之前出現的文字當作預覽 (teaser),並產生一個「閱讀更多」的連結,讓讀者能夠閱讀完整文章。當讀者點擊此連結時,會開啟單篇文章頁面,並跳至未閱讀的部分。
然而,這樣的跳轉可能對讀者造成困惑,有些博客作者認為將預覽連結直接改成完整文章連結比較好。
這種情況下,StripTease 外掛程式就非常有用。它會自動去除預覽連結後面的 #more 片段,並將其轉換為指向完整文章的連結。
範例
StripTease 外掛程式會將您的預覽連結從這樣:
http://guyfisher.com/2005/09/striptease/#more-6
轉變成這樣:
http://guyfisher.com/2005/09/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 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/
