[wp-trac] [WordPress Trac] #10865: Function to get posts based on post title

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 2 08:57:39 UTC 2009


#10865: Function to get posts based on post title
-------------------------+--------------------------------------------------
 Reporter:  sudar        |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.9
Component:  Template     |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
Changes (by willmot):

 * cc: willmot (added)
  * milestone:  Unassigned => 2.9


Comment:

 I'd like to take this further and bring the get_post functionality inline
 with get_terms by adding a
 {{{
 get_post_by( 'field', 'value', $args = optional ( 'post_type' and/or
 'post_status ) ); function.
 }}}


 I'll write a patch if there's any interest.

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


More information about the wp-trac mailing list