Support » Fixing WordPress » Catch the total number of posts in the whole Blog

  • Resolved Maujor

    (@maujor)


    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 ‘Catch the total number of posts in the whole Blog’ is closed to new replies.