[wp-trac] [WordPress Trac] #29808: Post/paging navigation template tags

WordPress Trac noreply at wordpress.org
Wed Dec 10 01:04:29 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 dev-      |     Focuses:  accessibility,
  feedback                           |  template
-------------------------------------+-------------------------------------
Changes (by GaryJ):

 * keywords:  twenty-fifteen has-patch dev-feedback => twenty-fifteen dev-
     feedback


Comment:

 Replying to [comment:69 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.

 My bad. Found the discrepancy, and my observations re `total` and
 `current` are invalid.

 Why does the `$args['type']` need to be hard-coded as `plain`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29808#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list