As you already mentioned, to limit the number of posts retrieved by the query, you can use posts_per_page . This argument works both for get_posts and WP_Query ...
確定! 回上一頁