wp99
Forum Replies Created
-
I actually installed it on several sites. Some sites just loose the side bar completely on search pages, and some loose the sidebar on any post or page.
There is an incompatibility here somewhere!
Yes! Excellent!
I had already put done a fix for this, but now this is much easier.
Thanks!
Correction!
If you leave any ‘to’ fields blank, they will disappear. So when doing the conversion, make sure any that were previously blank, are filled in, or have the ‘delete’ box checked.
Forum: Plugins
In reply to: [Post Teaser] Tease filters not working, need sentance aware – not pageYes, double checked again. Two bugs:
When there are two or more categories separated by commas in the filtering fields, only the first category works, and the second category, after the comma, has no effect, as if it was not entered in the field.
Also, when you add this second category after the comma, all other categories, not in the filter, will automatically un-tease.
Forum: Plugins
In reply to: [Post Teaser] Tease filters not working, need sentance aware – not pageHello Han,
Thanks for the quick response.
Unfortunately, I had overwritten my database by mistake, and had to reconstruct my site, and the funny thing is, now when you add filters (to disable tease or to force fullpost), it works fine! Must have been another plugin conflict. Strange how things work.
As for the ‘sentence aware’ thing, I have made a small modification by adding the following line to the file: ‘post-teaser.php'(around line 1038), just after the line that reads:
“if (!$more && !$showall) {“Add:
// Swapped paragraphs for sentences, so that for long paragraphs, the excerpt is closer to the word count and breaks at the nearest sentence, rather than to the nearest long paragraph.
$content = str_replace(‘. ‘, ‘.</p>’, $content);Just make sure, that in your setting, you put the word length to at least 80, or what ever you think the longest sentence length could possibly be.
Now the ‘…READ MORE’ tag will break after the sentence closest to your word count. Yes, I know that ‘Dr.’ and ‘Mr.’ will trigger this, but this is rare, and at least you don’t split up a word.
Some people send posts that have no paragraphs! – 400 words long!, like in auto-blogs. Now you will not post this long paragraph in the excerpt and rune your nice look.
Hope that helps someone.
Yes, no work!
Code is messed up and not formated correctly!