You can do it using a plugin and there are so many plugin avilable out there, some are:
https://ww.wp.xz.cn/plugins/page-views-count/
https://ww.wp.xz.cn/plugins/page-view-counter/
https://ww.wp.xz.cn/plugins/visits-counter/
I hope you will get your solution by using any of those plugin.
Not sure if you are referring to visitors count like ThemeMoz have suggested.
Or to counting the number of posts you have.
If you refer to the latter, then check this out:
https://codex.ww.wp.xz.cn/Function_Reference/wp_count_posts
Hi
Thank you both for reply.
Let me try to explain a little bit more precise
My page is about news and daily publishing news
In my “about us” page I want to write now that my site has #NUM published news
In the picture below you can see an example
http://i64.tinypic.com/11rbyg3.jpg
Ah ok cool, so the link I’v put in my pervious reply fits to this scenario.
Check it out, it’s really simple to use:
https://codex.ww.wp.xz.cn/Function_Reference/wp_count_posts
I only want to include that count in one page as is “about us”. So, can i paste this to “tekst” of page?
<?php<br />
$count_posts = wp_count_posts();<br />
?>
you can do something like this:
<?php
$count_posts = wp_count_posts();
if(!empty($count_posts)) {
<br />
echo 'There are ' . $count_posts . ' on this site!';
<br />
}
?>
If you want to count custom-post-types you’l just need to pass to ‘wp_count_posts’ the custom post type name as the first argument.
Let me know how it goes 🙂