[wp-trac] [WordPress Trac] #13462: wp_get_archives needs to access custom post types

WordPress Trac wp-trac at lists.automattic.com
Thu May 20 15:28:42 UTC 2010


#13462: wp_get_archives needs to access custom post types
---------------------------+------------------------------------------------
 Reporter:  Paulsheldrake  |       Owner:                    
     Type:  defect (bug)   |      Status:  new               
 Priority:  normal         |   Milestone:  Unassigned        
Component:  General        |     Version:  3.0               
 Severity:  normal         |    Keywords:  template functions
---------------------------+------------------------------------------------
 It's not possible to use wp_get_archives() on custom post types because
 there isn't an option to pass the type by the function arguments.   Also
 there needs to be a way to have the equivalent of the archive.php template
 file for custom post types as the links generated by wp_get_archives()
 need to go somewhere.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13462>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list