$content=get_the_content();
$words = explode(" ", $content);
$first = join(" ", array_slice($words, 0, 50));
echo $first;
$words = explode(" ", $content);
$first = join(" ", array_slice($words, 0, 50));
echo $first;
1. We should not push any Wordpress core folders or files to github. 2. Only push custom theme and custom plugin into github. 3. So, in this...
No comments:
Post a Comment