跳到内容

Seamless Sticky Custom Post Types

v1.4

jaschaephraim · 2013年10月31日 上架

Extends the native sticky post functionality to custom post types in a way that is identical to default posts.

正在使用
1,000+
评分
4.7 / 5
累计下载
7.6 万
最近更新
2015年1月15日
20 条评价需要 WordPress 3.0.1+已测试到 4.1.42

贡献者

截图

The sticky post checkbox that appears for regular posts will be available for your custom post types.
The sticky post checkbox that appears for regular posts will be available for your custom post types.
As will the sticky post checkbox in quick edit.
As will the sticky post checkbox in quick edit.

There are no settings or custom functions. Set custom post types to be sticky just as you would with regular posts, and those post id’s will be included in the result of get_option( 'sticky_posts' ).

PLEASE NOTE In order to integrate as seamlessly as possible, this plugin will not alter any queries or filter any functions. If your sticky posts aren’t appearing the way you want, there’s probably a good reason in your query (Is ignore_sticky_posts set to true? Is post_type set to a different type?). This plugin may be most appropriate for developers who just want the native sticky post UI and no other superfluous features.

If you find this plugin useful, please rate it accordingly.

Plums

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

导航

说明

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

© 2026 Plums