跳到内容

Mark New Posts

v7.6

i.lychkov · 2015年5月12日 上架

Highlight unread posts on your blog.

正在使用
500+
评分
4.8 / 5
累计下载
1.5 万
最近更新
2024年12月7日
12 条评价需要 WordPress 3.3+已测试到 6.7.12

贡献者

截图

Marker type: "New" text (Twenty Twenty-One)
Marker type: "New" text (Twenty Twenty-One)
Marker type: "New" text (Twenty Twenty)
Marker type: "New" text (Twenty Twenty)
Marker type: Circle (old WP theme)
Marker type: Circle (old WP theme)

Highlight unread posts on your blog.

Key features:

  • Works right out of the box
  • Uses cookies, no authorization required
  • 4 different types of markers for highlighting posts (a “new” text label,
    an orange circle, etc.)
  • Customizable background color for unread post titles

There’s a setting to determine when a post should be considered read. You can pick one of the following:

  • after it was opened
  • after it was displayed in the post list
  • after opening any page of the blog

Functions available for theme developers:

  • mnp_is_new_post($post) – check if a post is unread
  • mnp_new_posts_count($query) – get unread posts count

Plums

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

导航

说明

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

© 2026 Plums