[wp-trac] [WordPress Trac] #16264: Add function get_pages_by_template()

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 16 20:21:35 UTC 2011


#16264: Add function get_pages_by_template()
-----------------------------+------------------------------
 Reporter:  mikeschinkel     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Types       |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by mikeschinkel):

 I've just uploaded another version that uses WP_Query instead. It loosed
 the ability to lookup with a SQL `LIKE` and to return the values keyed by
 post ID but it also uses built-in functionality and is probably faster.

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


More information about the wp-trac mailing list