[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 18:14:15 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-     |     Focuses:  accessibility,
  design has-patch has-screenshots   |  administration
-------------------------------------+-------------------------------------

Comment (by afercia):

 Replying to [comment:41 pbearne]:
 > The only way to fix that is to put the post type selector below the two
 radio buttons swapping it with the static homepage setting as needed

 Generally, show / hide can be problematic for accessibility but in this
 case only one of the "swapping" things needs to be used at a time. Seems
 an interesting idea worth exploring (pending design feedback).

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


More information about the wp-trac mailing list