Use the posts_per_page
parameter in your WP_Query
to show a given number of posts.
When you don’t provide this parameter, the query takes default value which can be set in backend on https://example.com/wp-admin/options-reading.php.
Use the posts_per_page
parameter in your WP_Query
to show a given number of posts.
When you don’t provide this parameter, the query takes default value which can be set in backend on https://example.com/wp-admin/options-reading.php.