WordPress.org

Forums

Check no of posts/comments to be retrieved (1 post)

  1. vikinggirl
    Member
    Posted 8 years ago #

    How can I easily check the following?

    from index.php, I want to check
    - the number of posts that are being retrieved, whether in a category, Monthly archive or just the latest posts.

    from single.php (single page, including comments where applicable)
    - the number of comments.

    I want to check this as the very first thing on that script. I don't want to check it from The Loop, or after the loop in the script.

    Any tips appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.