By Alan Agnew on Sunday, 06 March 2016
Posted in Technical Issues
Likes 0
Views 403
Votes 0
Truncation is configured for 2 paragraphs.
If there is 1 paragraph there is no "Continue reading" button, as expected.
If there are 3 paragraphs there is a "Continue reading" button, as expected.
But if there are 2 paragraphs there is a "Continue reading" button even though the whole 2 paragraphs are already shown. What's the point of this?

Should line 375 of "truncater.php" be:
if (count($matches) <= $maximumParagraphs) {
instead of:
if (count($matches) < $maximumParagraphs) {

Alan
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Thanks for reported, we will include this fix this in next release version.
·
Sunday, 06 March 2016 20:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post