[wp-trac] [WordPress Trac] #19958: Allow custom post types as "home"

WordPress Trac noreply at wordpress.org
Mon Nov 26 11:45:25 UTC 2012


#19958: Allow custom post types as "home"
----------------------------+------------------------------
 Reporter:  sooskriszta     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3.1
 Severity:  major           |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by pbearne):

 Just added a patch this works OK but WP has "page" hard coded in a few
 places so I need to provide patch's so that we do a look-up for the page
 type for the home page see nav-menu.php line 729 and jpyper comment above
 for example.

 We also need to find and recode the rewrite rule that hides the
 path/filename when loading a homepage

 I also what to have look at what changes would be needed to make this a
 switch in the register_post_type function and not a extra filter step

 And it would be good to check that we keep "page" in the
 $args!['post_type'!] array

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


More information about the wp-trac mailing list