The zblog topic counts the number of words in the article. The implementation is relatively simple and straightforward. In essence, it is php to count the number of words in the string. Place the following code anywhere you need on the zblogphp article details page ..
Zblog topic It is simple and direct to count the number of words in an article. Essentially, it is PHP to count the number of words in a string zblogphp The article details page can be located wherever needed
{php} $umContent=trim(Transfer html ($article->Content,'[nohtml]')); //Filter the html tag first echo icon v_strlen($umContent, 'utf-8'); //Number of output statistics words {/php}
Related Babies (Click me to change a batch)
Statement: Some of the resources on this site are original works on the site, and some are publicly shared and collated based on the Internet. The copyright belongs to the original author.
If it infringes your rights, please contact our website, and we will deal with it as soon as possible. Thank you. Please indicate the source of the transfer
Link to this article: https://www.umtheme.com/zblog/161.html