In WordPress, it is very popular to show excerpt of a content which shows up to particular word limits.
In each and every cases it is not require to show the whole content rather than small content with limited words.
function wordCutter($str,$len) {
if(strlen(strip_tags(html_entity_decode($str)))>len)
{
$str = substr(strip_tags(html_entity_decode($str)),0,len);
$pos = strrpos($str," ");
$str = substr(strip_tags(html_entity_decode($str)),0,$pos).'...';
}
else
{
$str = strip_tags(html_entity_decode($str));
}
}
People usually stumble onto the 461 visa when they realise there’s no simple way to…
In today’s digital era, people look for convenience, transparency, and genuine rewards from their financial…
If you are planning to start a lighting business and looking for a supplier of…
If you are a copywriter or a content marketer, you will second my statement that…
Motorcycle accidents often lead to severe injuries because riders have minimal protection compared to drivers…
No business owner starts his or her business with the hope of making losses. Everyone…