Is there a global variable or function to pull the dashboard setting for how many posts to show per page? Like, when I do $wp_query->max_num_pages is gives me how many pages I'd be working with for the pagination.
Hope this makes sense.
Thanks.
Is there a global variable or function to pull the dashboard setting for how many posts to show per page? Like, when I do $wp_query->max_num_pages is gives me how many pages I'd be working with for the pagination.
Hope this makes sense.
Thanks.
<?php get_option('posts_per_page');?>
Thanks.
This topic has been closed to new replies.