
Custom Post Type Sticky
v2.0.0Abhay Yadav · 2017年8月5日 上架
Adds native-style sticky post management to public custom post types, including the WordPress Block Editor.
- 正在使用
- 800+
- 评分
- 4.8 / 5
- 累计下载
- 2.3 万
- 最近更新
- 2026年11月27日
4 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
Custom Post Type Sticky extends sticky post management to selected public custom post types. It keeps sticky post IDs synchronized with WordPress’s native sticky_posts option, so existing integrations that read that option can continue to work.
Features
- Manage sticky posts for public custom post types.
- Native Block Editor (Gutenberg) sidebar panel.
- Classic Editor meta box.
- Quick Edit support.
- Bulk make-sticky and remove-sticky actions.
- Sticky status column in the admin list.
- Select supported post types under Settings > Custom Post Type Sticky.
- Optional sticky expiration date.
- Sticky priority field.
- Sticky custom post type archive ordering, with sticky posts first.
- Shortcode:
[cpt_sticky_posts post_type="portfolio" posts_per_page="5"]. - Sticky IDs remain available through
get_option( 'sticky_posts' ). - Registered post meta is available to authenticated REST API post updates.


