[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
Thu Sep 10 12:33:57 UTC 2020


#19958: Allow custom post types as "home" and get_posts() to return results for
more than one post type
-------------------------------------------------+-------------------------
 Reporter:  sooskriszta                          |       Owner:  pbearne
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:
Component:  Posts, Post Types                    |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing needs-design has-      |     Focuses:
  patch                                          |  administration
-------------------------------------------------+-------------------------

Comment (by pbearne):

 @adamsilverstein just use the last patch

 It is just the UI for setting -> reading to give you an idea of where I am
 going with this

 to help with testing I am including code to create a book CPT in the
 default theme this will not be in the final patch

 and the src/wp-includes/assets/script-loader-packages.php should have been
 patched

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/19958#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list