=== Plugin Name === Contributors: weyhan Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=35NUBFT7QUBGA Tags: teaser, excerpt, preview, statistics, navigation, more Requires at least: 2.6 Tested up to: 4.3.1 Stable tag: 4.1.5 Post Teaser generates excerpts of posts for the main, archive and category pages, also generate a word count, image count, and estimated reading time. == Description == Post Teaser generates a preview or "teaser" of a post for the main, archive and category pages, with a link underneath to go to the full post page. It includes features to generate a word count, image count, and an estimated reading time. = Reasons you might want to use Post Teaser: = * You keep putting `` into your posts * You would like to save bandwidth by only having people view a full post if they actually want to read it * You just like the "teaser" format = What's new in this release: = **4.1.5:** * Internalization requirement fix as requested by WordPress. **4.1.4:** * Change default teaser template to be more WCAG compliance for accessibility. **4.1.3:** * More compatibility fix for current WordPress release **4.1.2:** * Minor bug fix * Compatibility fix for current WordPress release **4.1.1:** * Fix Post Teaser ignoring Custom Field directive (disable or showall) **4.1.0:** * Added "Advance tease control" feature that allows category or tag to turn off Post Teaser * Added option to disable tease or force fullpost on the homepage * Added option to move post statistic block from the bottom of the post to above the post text * Fix incompatibilities with "Search Unleashed" plugin **The fix is tested in my test env, please report if issue is not resolved** * Cleanup UI in Settings page * Misc bug fixes = Known issue(s): = * Current translation files will not have translation for new options introduced in this release. Apologies to Non-English users of PostTeaser. This problem will exist and will break the translation files further in up coming release due to heavy remodeling the PostTeaser admin page. For translators, please help fix the language files. = Contributors: = * [WeyHan Ng](http://sandboxblogger.com/ "SandboxBlogger.com") -- Maintainer * [Jonathan Leighton (Turnip)](http://turnipspatch.com "Turnip") -- Concept and programming * [eleZeta](http://ele-zeta.com.ar/ "eleZeta") -- Estimated reading time code was adapted from his plugin : ) **** NOTE: Use [contact form](http://sandboxblogger.com/contact/ "Contact me") for support request. = Translators: = * by_BY: * [Marcis Gasuns](http://ledleisten.com/ "Marcis Gasuns") * de_DE: * [Sören Weber](http://soeren-weber.net/ "Sören Weber") * el_GR: * [Alexander Kanakaris](http://www.tech-spot.gr/ "Alexander Kanakaris") * es_ES: * Francisco Barroso * fr_FR: * [David Martin](www.sushilabs.com/ "David Martin") * he_IL: * Eyal Gursoy * it_IT: * [Arturo Uggini](http://www.cerbero.eu/ "Arturo Uggini") * nb_NO: * Jørn Pedersen * nl_BE, nl_NL: * [Mathias Bynens](http://mathibus.com/ "Mathias Bynens") * pl_PL: * [Przemysław Naruszewicz](http://www.ikeris.com/ "Przemysław Naruszewicz") * ru_RU: * Thomas Gorny * sv_EU: * [Mansour Sarr](http://www.din-it-kunskap.com/ "Mansour Sarr") * sv_SE: * Fredrik Sandström == Installation == = Manual installation = 1. Download [Post Teaser](http://wordpress.org/extend/plugins/post-teaser "Post Teaser package") from wordpress.org Plugin Directory 1. Extract and upload the entire `post-teaser` directory as `.../wp-content/plugins/post-teaser` directory of your WordPress installation. *NOTE: The issue with location sensitive installation have since been fix in version 3.11.3. The `post-teaser.php` file is no longer restricted to the root of the plugins directory `.../wp-content/plugins/`* 1. Go to the Plugins configuration page in your WordPress admin panel, and enable Post Teaser = Auto installation (2.7.x and above) = 1. Click on the link `Plugin Browser/Installer` under the "Get More Plugins" section at the bottom of the Plugins page in your WordPress admin panel (Yes, this page is found in your blog's admin page). 1. Search for "post teaser" in Term. 1. Click on the install action on the right side of the table where Post Teaser is listed. 1. Follow WordPress instruction to complete the installation. = Configuration = Post Teaser does not need to be configured in order to work but some users understandably wish to change settings. That's easy too -- the dead simple configuration page can be found under `Settings > Post Teaser` (for version before 2.6 `Options > Post Teaser`) in your WordPress admin panel. == Upgrade Notice == = 4.1.1 = This release includes one of the most requested option to allow control teasing via category and/or tag filters on top of some major bug fixes. == Frequently Asked Questions == = Do I really need this plugin? = No, of course not, but it makes a nice addition and some people find it easier to skim over previews to find something that interests them rather than to scroll down huge chunks of text. = Why Post Teaser fail to split some/all post on the front page? = Post Teaser is a paragraph aware teaser. Not only just aware, it will not break in the middle of a paragraph unless explicitly told to do so with the `` tag. There are two reasons why Post Teaser seems to have failed to split a post: 1. *The entire post is one long paragraph.* Well, as stated, Post Teaser is a paragraph aware teaser. Therefore will split single paragraph post at the end of the post because it also happens to be where the first paragraph break. To fix this problem, either split the post into shorter paragraph or add a `` to force a split. 1. *The post have multiple paragraph, however, instead of the `
` tag as the paragraph marker, the `
` tag was used to simply make text appear like paragraph.* It may read alright to us, those damn puters sees it as one long paragraph. Schematics, schematics. I tell you, it's a conspiracy! To fix this problem, replace those `
` tags with the proper `
...
` paragraph marker pair. = Help! I get an error that says "Warning: Cannot modify header information..." = This one is very common and applies to any WordPress plugin. There must not be any content in the plugin file other than PHP code. Sometimes if people have copied the code into their own file, rather than downloading it, they accidentally leave whitespace or other characters at the beginning or end of the file, outside of the `` block. Removing any excess characters will solve the problem. = Help! PostTeaser broke my blog! <insert scenario here> = PostTeaser is always tested against the latest WordPress version prior to release. However, it is impossible to test PostTeaser with all the plugins, widget, themes and what ever modification you have made for your blog. Most of the time when PostTeaser crashes a blog or causes some strange effects it is due to incompatibility in your environment (plugins, widget, themes, and etc). If you encounter some unexplained issue seemingly associated with PostTeaser, you are welcome to report it to me but to speed up the process of getting your issue resolved, please perform the following diagnostic steps to first determine what is the source of the problem. **Prior to executing the diagnostic steps, please setup your environment so that you will start the diagnostic with basic configuration:** * Disable all your plugin, widget and change your theme to the default WordPress theme. Verify if the problem is gone. If you still have the problem, your problem is most likely your hosting environment. Check with your hosting provider to help solve your problem. Otherwise, continue the test. **Follow the below steps until you have determine the incompatibility with PostTeaser:** 1. Enable only PostTeaser and verify if the problem have come back. If the problem exist, it is either PostTeaser is not compatible with the current WordPress version or your hosting environment. 1. With only PostTeaser enabled, change your theme to your regular theme. If problem exist, PostTeaser and your theme is not compatible. Please check if your theme have any settings or scripts that will interfere with PostTeaser. 1. With only PostTeaser enabled, activate one other plugin at a time. Remember to only have PostTeaser and one other plugin activated at any one time. Verify that the problem exist. If you don't see the problem, repeat this step until you have found the plugin that is not compatible with PostTeaser or you have gone through all the plugin. 1. Do the same with widget as the step above except allow only PostTeaser and only one widget activated at any one time. Repeat until you have found the widget that is not compatible with PostTeaser or you have gone through all the widget. Describe the problem as detail as you can and note the steps you have taken in this diagnostic in your report to me. Remember to also include as much information as possible of your environment in your report. E.g. WordPress version, PostTeaser version, hosting type, and etc. = How can I apply presentation to the teaser text? = The teaser text is placed inside a block level `