WordPress.org

Support

Support » Plugins and Hacks » Counting queried posts results?

Counting queried posts results?

  • kennethjaysone
    Member

    @kennethjaysone

    I’ve queried a post and asked that it returns posts with the tag promotion like so:

    <?php
         $slider = new WP_Query;
         $slider->query('tag=Promotions');
    ?>

    Is there a way? to count the queried results that were returned (posts with the tag of Promotions)?

    Thanks everyone

  • The topic ‘Counting queried posts results?’ is closed to new replies.