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

WordPress Trac noreply at wordpress.org
Wed Oct 8 11:03:33 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:
------------------------------------------------+--------------------------

Comment (by danielbachhuber):

 +1 for `sticky` parameter for `add_post_type_support()`.

 History has proven
 [https://core.trac.wordpress.org/ticket/12702#comment:29 this comment]
 incorrect:

 > However, this opens up an issue where we're blurring the line between
 CPTs and posts, such that CPTs should be non-post content. If you want
 stuff to appear in the main loop everywhere, then chances are you
 shouldn't be using a CPT.

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


More information about the wp-trac mailing list