[wp-trac] [WordPress Trac] #39447: Improvment to the get_the_posts_navigation
WordPress Trac
noreply at wordpress.org
Tue Jan 3 14:36:33 UTC 2017
#39447: Improvment to the get_the_posts_navigation
-------------------------+-----------------------------
Reporter: thirumani02 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
[https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/link-
template.php] Here at ''get_the_posts_navigation'' the function check
global wp query('''Globals['wp_query'\]''') for displaying markup. But in
many cases we may need to display the navigation for '''custom wp query'''
which has unique query options(max_num_page, post_per_page). So it would
be great, if we can check the our custom query's max_num_page.
Hope it make sense.
Thank you
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39447>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list