[wp-trac] [WordPress Trac] #10865: Function to get posts based on post title
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 27 07:57:27 UTC 2009
#10865: Function to get posts based on post title
-------------------------+--------------------------------------------------
Reporter: sudar | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Template | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Right now we don't have a template function to get posts based on the post
title.
We have a function called get_page_by_title (in wp-includes/post.php)
which retrieves pages (but not posts) based on title.
I propose a new function get_post_by_title() which could retrieve posts
gives page titles.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10865>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list