I recently started an article directory using wordpress, and theme by dimox and plugin and plugin by artilcesss dot com.
On homepage it shows number registered authors and and published posts.
It is using %2$s for registered authors and %1$s for number of published articles in main index template.
I have so many unpublished articles too, so my question is that is there any way to show the number of unpublished articles (only counts) on the homepage?
thanks for the answers, it is useful for users like me, I am not expert in this, here is the code.
<p><?php global $numposts, $users; printf(__('We have <strong>%2$s</strong> registered authors and <strong>%1$s</strong> published articles till the date.', 'article-directory'), $numposts, $users); ?></p>
And this will show the output:
We have 24 registered authors and 43 published articles till the date.
(24 and 43 numbers are current statistics)