[wp-trac] [WordPress Trac] #29808: Post/paging navigation template tags
WordPress Trac
noreply at wordpress.org
Tue Dec 9 16:37:50 UTC 2014
#29808: Post/paging navigation template tags
-------------------------------------+-------------------------------------
Reporter: obenland | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.1
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: twenty-fifteen has- | Focuses: accessibility,
patch dev-feedback | template
-------------------------------------+-------------------------------------
Comment (by obenland):
Replying to [comment:68 GaryJ]:
> If was on a Genesis Framework theme, but amounted to little more than
calling `the_pagination()` on the `genesis_after_endwhile` hook.
Is there a way to reproduce the error with a default theme?
Within `paginate_links()`, `total` and `current` are set based on the
current query. If there is no current query, you'd have to pass those
values to `the_pagination()` manually, yes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29808#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list