Post Teaser issue with WordPress 2.3.2
Post Teaser, Plugins, WordPress February 12th, 2008Of late, I’ve been receiving some complains about Post Teaser not working with WordPress 2.3.2 (I have yet to hear about WordPress 2.3.3 so, no idea if there are problems in 2.3.3). I’ve done some investigation but so far I’ve yet to find any real issue. I’ve tried to put up a test blogs to re-produce the problem but so far, I’ve come up empty. Unfortunately, if I can see the problem, I won’t be able to do anything to fix it. I’d figure I do not have many options but to call for help on the collective on the Internet to help me pin-point the actual problem. Please look at the description below to see if you have seen it before.
The two complains I’ve heard that I can not re-produce is:
- Post Teaser skipping post. Most of the posts are teased but a few is not and it does not look like the post itself is malformed.
- Post Teaser caused sidebar to disappear. When ever Post Teaser is enabled, the sidebar is gone.
For problem #1, my investigation always starts at checking the post to see if the cause for Post Teaser to skip certain post is the way those posts are written. To be brief, the two common type of post that cause Post Teaser to skip post are to write a long post in one paragraph and to use <br /> in place of <p>…</p> tag pair for paragraph break. I’ve eliminate both the cause in the recent reports. However, I’ve not been able to find anything else that may cause the problem.
For problem #2, this is the first time I’ve heard of this problem. After testing that Post Teaser does in fact works with WordPress 2.3.2, I have one suspicion, which is widgets. I’ve tested that quite extensively as well and still I can not find what is causing some blogs to crash their sidebar.
For those who have one or both of the above problem and is willing to spend time to help me determine what is the real cause of those problems, please drop me a note here: http://sandboxblogger.com/contact/
February 20th, 2008 at 1:26 am
hello, post teaser doesn’t teases the posts on my wordpress 2.3.3 installation. http://www.thinktechno.com my blog see it. Can you fix it up.
February 20th, 2008 at 2:03 am
Hi PJ,
I’ve notice your post are short and usually around 100 words. What is the threshold you have set for Post Teaser?
February 20th, 2008 at 1:34 pm
even more then 100 letters posts ain’t working. what do i do.
February 20th, 2008 at 1:37 pm
hmmm strange i tried reducing the threshold to 50 surprisingly it worked…
February 20th, 2008 at 2:51 pm
Hi PJ,
Glad to hear you’ve got Post Teaser to work.
You’ve said that post more then “100 letters” does not work when you have Post Teaser set to 100. I assume you actually mean “100 words”?
Anyway, one thing to note is that Post Teaser is a paragraph aware teaser. Meaning, it will only break at the nearest paragraph break of the threshold setting. For example, the last word in your second last paragraph is at word count 70 and the last word of the last paragraph is at the word count of 120, the post will not be teased because 120 words is nearer to the threshold then 70 words.
Hope that clears things up.
March 12th, 2008 at 9:31 am
I just upgraded to 2.3.3 and when I enable post-teaser then write a new post once I publish FF locks up and I have to close it. It does post the entry but sometimes it double posts.
I love the plugin, but if it locks up my browser (I get nothing through Firebug, or anything printed to the screen) and crashes it doesn’t work for me.
March 12th, 2008 at 4:33 pm
Johathan,
Are you sure Post Teaser crash your FF? Post Teaser does not have a hook to the WordPress’ write post page and I’ll be surprise if it is responsible for crashing your FF when you publish a post.
The standard WordPress diagnostic should be employed here to find out what is causing WordPress to crash. To do so, try the following:
After the above test, enable all the usual plugin and switch to the default WordPress theme and run the test again to make sure it is not a theme problem.
If the problem still points to Post Teaser, let me know. If that’s the case, there may be some workings in the way plugins interact with WordPress admin pages that I have not consider.
March 12th, 2008 at 10:14 pm
I’ll be doing that hopefully today. It may just be that it conflicts with something else - but at this point, if I turn it on it’ll start crashing the browser (that’s with my other plugins turned on). I went through and was turning them on one at a time, and post-teaser just happened to be the last.
I’ll post back once I’m done.
Thanks
May 22nd, 2008 at 5:35 am
Thought I’d try and offer some info. I’m running vers 3.10 on a W/P 2.5.1 install (latest of both as of this date).
I’ve had it set it at 120 words, but somewhere around W/P 2.3 noticed it wasn’t working right, but cutting posts much farther than 120 words (more like 1200 words if I had to guess). Yeah, I write long posts.
When I change the option (any option) on the plugin’s option page, I’m sent to a URL like this: http://www.salberg.org/wp-admin/options-general.php?page=post-teaser.php&saved=true with a single message on the page: “Cannot load post-teaser.php.”. But when I manually go back to the options page, it has the new option I put into it loaded correctly in the field.
Needless to say, it doesn’t seem to have much effect though. It does cut off (eventually) on some long posts, but I can’t figure out any discernible pattern. I put the most recent post clip in M/S Word and did a word count: 1,196. Pretty good guess earlier, eh? I should be a copy editor.
Anyway, don’t know if that will help you troubleshoot. If you want me to try anything, just email me and I’ll try some things on my blog for you to see if we can square this up.
And just to alleviate the paragraph question, yes I use actually paragraph tags, and XHTML 1.0 Transitional. I’ll be switching my theme to strict later in the year when I have a few hours to kill.
May 23rd, 2008 at 12:44 am
Thanks Lawrence. I’m sure I will need you to try some stuff but I’m really busy this month. I’ll send you an email to touch base and maybe work out some time to give this a go.
Thanks again.
June 14th, 2008 at 11:43 am
Hello, would Post Teaser be updated for Wordpress 2.5? It seems to be in conflict with some plugins using the ShortCode API in 2.5
Thanks
June 15th, 2008 at 3:39 am
Hi Veron,
Can you elaborate on how Post Teaser conflicts with other plugins? I would need to know the issue before I can fix it.
June 24th, 2008 at 2:11 am
thx for your great plugin. Just a small suggestion, if the teaser length is set at say 50 words, and the post happens to be less than 50 words, it should default NOT SAY ‘click here for more’, etc.