[wp-trac] [WordPress Trac] #12702: Enable sticky post checkbox for custom post type Publish metabox

WordPress Trac noreply at wordpress.org
Tue Jun 17 14:38:34 UTC 2014


#12702: Enable sticky post checkbox for custom post type Publish metabox
------------------------------------------------+--------------------------
 Reporter:  phlux0r                             |       Owner:
     Type:  feature request                     |      Status:  reopened
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Posts, Post Types                   |  Review
 Severity:  normal                              |     Version:
 Keywords:  dev-feedback has-patch 2nd-opinion  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------
Changes (by deplorableword):

 * keywords:  dev-feedback has-patch => dev-feedback has-patch 2nd-opinion


Comment:

 Can't believe that it's been nearly 4 years since this issue was first
 raised and not resolved one way or the other.

 It seems like perfectly sensible request to allow sticky for CPT. The most
 reasonable way to achieve this seems to be setting an additional parameter
 in ''register_post_type'' to true, by setting this option a checkbox will
 appear in the admin UI which says "Stick this %posttype". A label could be
 defined in ''register_post_type'' if additional customisation is required.

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


More information about the wp-trac mailing list