/ Published in: PHP
Create an excerpt from the main copy, removing any image or other HTML tag markup so it will be clean. In this case the length is 160 characters, change that number to change the length of the excerpt
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function makeNewsExcerpt($content) { $content .= "..."; return $content; }