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

WordPress Trac noreply at wordpress.org
Fri May 3 18:45:08 UTC 2013


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

Comment (by ancawonka):

 I think this would be very helpful, and would especially be nice for
 creating 404 pages and other indexes.

 In the meantime, you can achieve the same effect by adding a posts_where
 filter before you do your wp_get_archives call, and then removing it right
 after.

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


More information about the wp-trac mailing list