Changeset 217131
- Timestamp:
- 03/13/2010 10:18:35 PM (16 years ago)
- File:
-
- 1 edited
-
striptease/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
striptease/trunk/readme.txt
r217129 r217131 2 2 3 3 Contributors: guyfisher 4 Tags: anchor, excerpt, filter, link, more, navigation, permalink, quicktag, teaser5 Requires at least: 1.54 Tags: anchor, excerpt, filter, more-link, navigation, permalink, quicktag, read-more, teaser 5 Requires at least: 2.8 6 6 Tested up to: 2.9 7 Stable tag: 1.17 Stable tag: 2.0 8 8 9 Strips the "#more" fragments from t easer links so they link to full posts.9 Strips the "#more" fragments from the end of "Read More" teaser links so they link to full posts. 10 10 11 11 == Description == 12 12 13 The Strip Tease plugin is a simple filter that strips fragment identifiers fromteaser links so that they link to full posts.13 The Striptease plugin changes WordPress's default "Read More" teaser links so that they link to full posts. 14 14 15 W hen the `<--more-->` quicktag is used to break up a long post, WordPress displays the text that comes before it as a "teaser" followed by a link to the rest of the post.15 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. 16 16 17 By default, WordPress replaces the `<!--more-->` quicktag with an HTML anchor element and adds a matching fragment identifier to the teaser link. When a reader follows the link, the single-post page is loaded and the browser "jumps" to the anchor. This jump can be disorienting, and some bloggers prefer to link their teasers to the full post instead of the anchor.17 This jump can be disorienting, and some bloggers prefer to link their teasers to the full post instead of the unread text. 18 18 19 Unfortunately, the only way to change the default teaser links is to hack the WordPress source code. Even if you're comfortable with hacking your source files, you'll have to remember to do it every time you upgrade your WordPress installation. 20 21 That's where the StripTease plugin comes in. It does the hacking for you! 19 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. 22 20 23 21 == Installation == … … 31 29 = Why would I use this plugin? = 32 30 33 If you create teasers for your posts with the `<!--more-->` quicktag, and you want those teasers to link to the full postinstead of jumping to the unread text, you should use the StripTease plugin.31 If you create teasers for your posts with the `<!--more-->` quicktag, and you want those teasers to link to your full posts instead of jumping to the unread text, you should use the StripTease plugin. 34 32 35 33 = How do I configure this plugin? = 36 34 37 The StripTease plugin doesn't require any configuration. Once it's activated, it will immediately begin stripping fragment identifiers from your teaser links.35 The StripTease plugin doesn't require any configuration. Once it's activated, it will immediately begin stripping "#more" fragments from your teaser links. 38 36 39 37 = Do I have to use "Pretty Permalinks" with this plugin? = 40 38 41 39 No, you don't. StripTease will work with WordPress's default querystring permalinks, as well as its rewrite-based pretty permalinks. 40 41 == Changelog == 42 43 = 2.0 = 44 * Replaced the_content filter with the_content_more_link filter 45 46 = 1.1 = 47 * Removed an unnecessary call to get_permalink() 48 49 = 1.0 = 50 * Initial release 51 52 == Upgrade Notice == 53 54 = 2.0 = 55 This version filters teaser links directly instead of filtering the entire post. Requires WordPress 2.8 or higher. 42 56 43 57 == Example ==
Note: See TracChangeset
for help on using the changeset viewer.