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

WordPress Trac noreply at wordpress.org
Tue May 21 19:12:09 UTC 2013


#12702: Enable sticky post checkbox for custom post type Publish metabox
---------------------------------+-----------------------
 Reporter:  phlux0r              |       Owner:
     Type:  feature request      |      Status:  reopened
 Priority:  normal               |   Milestone:  3.1
Component:  Post Types           |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  dev-feedback revert  |
---------------------------------+-----------------------

Comment (by mbijon):

 +1 for adding @sphoid filter

 I think comment:28 by @nacin has some valid reasons when we're building a
 site, but not as much when we use WordPress as a framework. Because --
 CPTs are being used extensively on most commercial sites to create a
 cleaner & simpler CMS UX. In the past year I've built several sites where
 standard posts are not used or were entirely hidden.

 I know these heavily customized CPTs don't need "that" much more code to
 add stickiness, but then I need to add custom queries per post-type, and
 in turn a few lines of frontend code per-template. All of which largely
 duplicates WordPress' built-in sticky feature.

 A big part of why we use WordPress as a content framework is to reduce
 custom & duplicated code. Seems like a filter is a pretty unobtrusive way
 to support this with core code.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/12702#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list