[wp-trac] [WordPress Trac] #30589: Comments navigation template tags

WordPress Trac noreply at wordpress.org
Mon Sep 21 16:31:21 UTC 2015


#30589: Comments navigation template tags
------------------------------+-----------------------
 Reporter:  obenland          |       Owner:  obenland
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Themes            |     Version:  4.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  template
------------------------------+-----------------------
Changes (by obenland):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34367"]:
 {{{
 #!CommitTicketReference repository="" revision="34367"
 Introduce template functions for comment navigation:

 * `get_the_comments_navigation()` and `the_comments_navigation()` for
 navigation to the next and previous page of comments.
 * `get_the_comments_pagination()` and `the_comments_pagination()` for
 paginated navigation between pages of comments. Uses
 `paginate_comments_links()`.

 This reduces the need for themes to define their own sets of comment
 navigation
 functions, like Twenty Fifteen and others.
 Completes the navigation template tag API started in #29808 for posts.

 Fixes #30589.
 }}}

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


More information about the wp-trac mailing list