Title: Mark New Posts
Author: i.lychkov
Published: <strong>May 12, 2015</strong>
Last modified: December 6, 2024

---

Search plugins

![](https://ps.w.org/mark-new-posts/assets/icon-256x256.png?rev=2970633)

# Mark New Posts

 By [i.lychkov](https://profiles.wordpress.org/ilychkov/)

[Download](https://downloads.wordpress.org/plugin/mark-new-posts.7.6.zip)

 * [Details](https://pcd.wordpress.org/plugins/mark-new-posts/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/mark-new-posts/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/mark-new-posts/#developers)

 [Support](https://wordpress.org/support/plugin/mark-new-posts/)

## Description

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

## Screenshots

 * [[
 * Marker type: “New” text (Twenty Twenty-One)
 * [[
 * Marker type: “New” text (Twenty Twenty)
 * [[
 * Marker type: Circle (old WP theme)

## FAQ

### 1. How can I check that the plugin works?

 1. Install and activate the plugin;
 2. Open your blog’s main page;
 3. Add a new post to your blog;
 4. Open the main page once again. An orange circle should appear to the left of the
    new post’s title.

### 2. Is it possible to highlight all the posts published in a recent few days for new visitors?

Yes. Just set these two options:
 * _“A post only stays highlighted for N days after
publishing”_ -> set the amount of days * _“Show all existing posts as new to new
visitors”_ -> check

### 3. The plugin is exploding my page’s markup. How to fix it?

Try to enable the option _“Check page markup before displaying a marker”_ (plugin
options, advanced settings).

### 4. What do I need the mnp_is_new_post() and mnp_new_posts_count() functions for?

These two functions may be useful for developing WordPress themes.

    ```
    mnp_is_new_post($post)
    ```

Returns true if a specific post is unread, otherwise false.
 Parameters: $post (
optional) – post ID or object.

    ```
    mnp_new_posts_count($query)
    ```

Returns the total number of unread posts, optionally filtered.
 Parameters: $query(
optional) – WP_Query query string. Example:

    ```
    echo mnp_new_posts_count('cat=1');
    ```

This will show the number of unread posts in category with id = 1.

## Reviews

![](https://secure.gravatar.com/avatar/64b066d7d028aee5b7344fdd17060e302f7719e758ca5c9eb6e08ea292877605?
s=60&d=retro&r=g)

### 󠀁[Show visitors whats new on my blog, a good idea](https://wordpress.org/support/topic/show-visitors-whats-new-on-my-blog-a-good-idea/)󠁿

 [emilegutenkauf](https://profiles.wordpress.org/emilegutenkauf/) February 28, 2024

Searching for a tool that shows new blogs on my website, finaly find it and it works
great. It shows a “News” button and it highlights the blog text. After opening the
blog the buton disapears to show that the user reads the blog. Perfect and easy.
Suggestion: Place multiple buttons or give multiple choice of buttons like “Live”“
Coming up”, or customizable fields…

![](https://secure.gravatar.com/avatar/453321db8429a2b25b9711065306c64e765bac5bc8d1fb8265d69e1fd493195b?
s=60&d=retro&r=g)

### 󠀁[Excellent support](https://wordpress.org/support/topic/excellent-support-2181/)󠁿

 [Redyan](https://profiles.wordpress.org/redyan/) February 8, 2024

Excellent support, really hard to find today. Thank you

![](https://secure.gravatar.com/avatar/809651728bd12d165c2f17e68ae0399839a6a1e3d9fb092414299bcd7186bde4?
s=60&d=retro&r=g)

### 󠀁[Can you do it for widget Recent Posts in sidebar?](https://wordpress.org/support/topic/can-you-do-it-for-widget-recent-posts-in-sidebar/)󠁿

 [goncharovpro](https://profiles.wordpress.org/goncharovpro/) October 4, 2023 5 
replies

I’d like to see it work for the widget “Recent Posts” in sidebar. Can you do it,
please?

![](https://secure.gravatar.com/avatar/b232cac45c9b7b99153d34ebb31b3b20e5e887ddf2f93588b761d3426c71a1a7?
s=60&d=retro&r=g)

### 󠀁[Top](https://wordpress.org/support/topic/top-1554/)󠁿

 [hroem](https://profiles.wordpress.org/hroem/) September 25, 2023

Good plugin with simple mechanism

![](https://secure.gravatar.com/avatar/3b147f1ca091e20eb7b388a55dba0102ab541a8e7f7c7e2766f0daacde7d7b61?
s=60&d=retro&r=g)

### 󠀁[looks good but doesnt work for custom post types](https://wordpress.org/support/topic/looks-good-but-doesnt-work-for-custom-post-types/)󠁿

 [ramineros](https://profiles.wordpress.org/ramineros/) March 25, 2021

looks good but doesnt work for custom post types

![](https://secure.gravatar.com/avatar/4759ed89c6e5ead5867ebcf919da3b3c78263528544bb4bac41c85b216bac4b1?
s=60&d=retro&r=g)

### 󠀁[Absolutely Awesome Plugin](https://wordpress.org/support/topic/absolutely-awesome-plugin-4/)󠁿

 [teeboy4real](https://profiles.wordpress.org/teeboy4real/) May 24, 2020

Thanks so much for this awesome plugin

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/mark-new-posts/reviews/)

## Contributors & Developers

“Mark New Posts” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ i.lychkov ](https://profiles.wordpress.org/ilychkov/)

“Mark New Posts” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/mark-new-posts/contributors)
for their contributions.

[Translate “Mark New Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/mark-new-posts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mark-new-posts/), check
out the [SVN repository](https://plugins.svn.wordpress.org/mark-new-posts/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/mark-new-posts/)
by [RSS](https://plugins.trac.wordpress.org/log/mark-new-posts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 7.6

 * Fixed security issue: possibility for non-admin users to update plugin’s settings.
   Thanks to Aiden for reporting.

#### 7.5.2

 * Fixed possible bug in the “Use JS” mode with posts not getting marked at all

#### 7.5.1

 * Fixed: “Allow outside the post list” option makes markup appear in admin post
   list

#### 7.5.0

 * “Allow outside the post list” option
 * Cosmetic: fixed some of the texts on the settings page

#### 7.4.0

 * Fixed a conflict with Buddypress. I hope now we can be buddies again. Thanks 
   a lot to teeboy4real and r-a-y!
 * Improved performance
 * If you’ve read this far AND if you like this plugin, why not give it a nice review?
   It would be lovely!

#### 7.3.2

 * Fixed a conflict with WPForms plugin. A message “Notice: is_404 was called incorrectly”
   appeared when trying to open the Settings page of WPForms.

#### 7.3.1

 * The “New” marker type now has a better support for the old built-in WordPress
   themes, because they’re awesome.

#### 7.3.0

 * Post title background colour validation
 * Marker type “Custom image” removed for security reasons

#### 7.2.0

 * An option to change the background colour for unread post titles
 * Open your blog with ?mnp-test=1 in the page title to test the plugin (all posts
   will be shown as unread)
 * _mnp-title-wrapper_ class replaced with _mnp-unread_

#### 7.1.0

 * “Disable for custom posts” option

#### 7.0.1

 * Added a new colour for the “New” text to fit in the Twenty-Twenty WordPress theme.
   Now it’s the default marker type.
 * Changed buttons placement in the settings screen. Yeah, I know… Sorry for that.
 * Fixed flickering pieces of code on blog pages that appear when the “Check markup”
   option is active

#### 7.0.0

 * Back after 4 years of inactivity!
 * Temporary new logo
 * Fixed a CSS bug for Image and Flag marker types, where the marker would float
   away to the left of the screen
 * Fixed warnings in Debug mode

#### 6.9.28

 * New translation: Russian
 * New option: mark posts as read after opening any page of the blog
 * New option: posts stay marked as new only for a certain amount of days after 
   publishing
 * New option: mark all existing posts as new to new visitors
 * If the two options above are activated, then when someone visits your blog even
   for the first time, he will see all the most recent posts highlighted

#### 6.9.26

 * Fixed notices in debug mode

#### 6.9.22

 * mnp_new_posts_count() speed up

#### 6.5.24

 * Fixed minor bug: 2nd argument might not be passed to the_title filter in some
   themes

#### 6.5.12

 * Fixed blank screen when not running on Apache

#### 6.5.10

 * Unicode flag marker replaced with an image (because of Unicode issues in Firefox)
   
   icon by [Vectors Market](http://www.flaticon.com/authors/vectors-market) from
   [www.flaticon.com](http://www.flaticon.com), [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
   license
 * Code refactoring and optimization
 * Better way of markup checking
 * Settings page redesign

#### 6.5.6

 * Detect prefetching

#### 6.5.5

 * New marker placement: before and after post title
 * Incorrect markup check is disabled by default to use less memory

#### 6.5.4

 * Fixed: incorrect markup when the_title() is being called from an attribute value

#### 6.3.18

 * “Mark posts as read only after opening” option now works for post excerpts too

#### 5.6.4

 * New marker type: flag (unicode character)
 * New option: the marker can be placed before or after the title of a post
 * New marker type: custom image
 * Fixed bug: after opening a post’s preview it’s getting marked as read
 * Fixed bug: sometimes the marker falls on another line
 * Fixed: marker gets wrapped on new line in post’s navigation block

#### 5.5.12

 * i18n
 * Added “Mark post as read only after opening” option
 * New marker type: image. “Label New Blue” icon by [Jack Cai](http://www.doublejdesign.co.uk/),
   [CC BY-ND 3.0](https://creativecommons.org/licenses/by-nd/3.0/) license

#### 5.5.8

 * This plugin is based upon [KB New Posts 0.1](http://adambrown.info/b/widgets/tag/kb-new-posts/)
   by [Adam R. Brown](http://adambrown.info/)
 * New functions for using in WordPress themes: _mnp\_is\_new\_post_ and _mnp\_new\
   _posts\_count_
 * 2 new ways of highlighting unread posts

## Meta

 *  Version **7.6**
 *  Last updated **1 year ago**
 *  Active installations **500+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **6.7.5**
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/mark-new-posts/) and [English (US)](https://wordpress.org/plugins/mark-new-posts/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/mark-new-posts)
 * Tags
 * [Highlight](https://pcd.wordpress.org/plugins/tags/highlight/)[New posts](https://pcd.wordpress.org/plugins/tags/new-posts/)
   [unread](https://pcd.wordpress.org/plugins/tags/unread/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/mark-new-posts/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/mark-new-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mark-new-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mark-new-posts/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/mark-new-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mark-new-posts/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/mark-new-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mark-new-posts/reviews/)

## Contributors

 *   [ i.lychkov ](https://profiles.wordpress.org/ilychkov/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mark-new-posts/)