[wp-trac] [WordPress Trac] #19958: Allow custom post types as "home" and get_posts() to return results for more than one post type

WordPress Trac noreply at wordpress.org
Tue Nov 27 02:40:45 UTC 2012


#19958: Allow custom post types as "home" and get_posts() to return results for
more than one post type
-------------------------------------------------+-------------------------
 Reporter:  sooskriszta                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Administration                       |  Review
 Severity:  major                                |     Version:  3.3.1
 Keywords:  has-patch needs-testing needs-codex  |  Resolution:
-------------------------------------------------+-------------------------
Changes (by pbearne):

 * keywords:   => has-patch needs-testing needs-codex


Comment:

 This now all works

 A part from if a custom post type is set as a home page it does get
 servered as the root page eg. Domain.com rather at the URL of
 domain.com/customPostType/pagename the code of this looks like somewhere
 in query.php so might be better if someone you know that code looks at
 that.

 And I haven't add code to register_post_type make this a feature but will
 look at that this week

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


More information about the wp-trac mailing list