WordPress.org

Forums

[resolved] Get the number of loaded posts (2 posts)

  1. theal3x
    Member
    Posted 3 years ago #

    How to get the number of loaded posts on a particular page?

    Thx anyway.

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    for a 'normal' loop, possibly with:

    $wp_query->post_count

    will be different if you are using a custom query and loop.

Topic Closed

This topic has been closed to new replies.

About this Topic