WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Catch the total number of posts in the whole Blog

[Resolved] Catch the total number of posts in the whole Blog

  • How to to catch into a PHP variable the total number (an integer of course) of posts in the Blog (Sum of posts in all categories)
    Something like this:

    ‘<?php $total_posts = ???? ?>’

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Catch the total number of posts in the whole Blog’ is closed to new replies.