跳到内容

Post Type Spotlight

v3.1.1

Linchpin · 2013年2月25日 上架

Easily allows you to designate posts, pages, attachments and custom post types as featured.

正在使用
10+
评分
5.0 / 5
累计下载
1.6 万
最近更新
2026年9月17日
2 条评价需要 WordPress 6.1+已测试到 7.1.5PHP 7.4+

截图

The publish area with the featured toggle.
The publish area with the featured toggle.
The featured list block
The featured list block
The settings page
The settings page
Options on the edit screen
Options on the edit screen
Markup example when using post_class();
Markup example when using post_class();
Classic Editor Checkbox Toggle
Classic Editor Checkbox Toggle

The plugin displays a checkbox in the publish meta box to feature a post. The checkbox only appears on admin selected post types which can be selected in the Settings->Writing screen.

When a post is designated as featured:

  • It receives ‘featured’ and featured-{$posttype} classes via the post_class filter.
  • Shows featured posts as such in the post type’s admin screen
  • Assigns a post a hidden taxonomy term (featured) that can easily be queried.
  • Can be listed with the Featured List block, a variation of the core Query Loop block.

Note: For the plugin to work on attachments, you must be using 3.5 or above. All other features will work on 3.1.0 and up.

Plums

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

导航

说明

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

© 2026 Plums