[wp-trac] [WordPress Trac] #21596: enhance wp_get_archives to support post types

WordPress Trac noreply at wordpress.org
Wed Nov 20 05:51:50 UTC 2013


#21596: enhance wp_get_archives to support post types
-------------------------+------------------------------
 Reporter:  jjminkle     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Post Types   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by onetrev):

 Replying to [comment:5 SergeyBiryukov]:

 > There is, however, `getarchives_where` filter that can be used instead:
 [[BR]]
 > http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/general-
 template.php#L915

 I have seen `getarchives_where` recommended before, but then don't users
 then also have to deal with permalink re-writing issues to display the
 archives properly and have working pagination for them? It seems a lot of
 casual developers and general WP users struggle with this.

 So I very much agree we need full archive support in `wp_get_archives`,
 especially when you consider custom taxonomies are support was added to
 `wp list categories`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21596#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list