How can i get count from query post April 5, 2022 by Tarik Billa $num = $obj_name->post_count; Reference: wp_query