[wp-trac] [WordPress Trac] #31085: CPT selector to “Recent Posts” widget

WordPress Trac noreply at wordpress.org
Wed Jan 21 16:56:12 UTC 2015


#31085: CPT selector to “Recent Posts” widget
-----------------------------------+------------------------------
 Reporter:  sippis                 |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Widgets                |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------

Comment (by jipmoors):

 I would suggest to use 'post_type' instead of 'cpt' for the argument.

 Next to that, what if I wanted to display two types of post-types instead
 of just one?
 If you want to extend this functionality, I recommend to make it a bit
 broader (multi-select and array for options).

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


More information about the wp-trac mailing list