跳到内容

Custom Post Type Sticky

v2.0.0

Abhay 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
Custom Post Type Sticky
Custom Post Type Sticky

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums