$haha = the_content();
$content = wordwrap($haha, 500, "</p><p>");
echo $haha;
Any suggestions?
$haha = the_content();
$content = wordwrap($haha, 500, "</p><p>");
echo $haha;
Any suggestions?
Can I ask why you want to apply a word-wrapping function in a script when this is normally a browser function? As long as your content doesn't include <pre></pre> tags, pretty much all web browsers will word-wrap the content automatically.
Actually I want to make it auto, after 700 - 800 word count. It should starts with a new paragraph automatically. !
This topic has been closed to new replies.