Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Mark as Read for WordPress

Posted on October 28, 2011 by Pippin in Plugins, Premium, Short Codes, Utilities, Widgets 32 Comments
Home» Plugins » Mark as Read for WordPress
590x300_mark_as_read_v1
Tweet
Love It - 8

Mark as Read is a plugin for WordPress that gives your users a way to keep track of the posts they have read, and those they have not.

The plugin lets your users mark posts as read / unread as they view them. Everything is performed with ajax for a seamless, smooth experience.


Posts can be marked as read manually or automatically (after a specified period of time) and can have their read status changed at any point.

Every post that is marked as read receives a “read count”, which is used in one of the provided widgets to display a list of your most popular posts.

Users can easily view posts they have not read and also view a report of their reading progress on your site, including the number of posts they’ve read, the number they haven’t read, the total number of posts on the site, and the percentage of the posts they have read.

The plugin can be completely setup in less than five minutes and includes a variety of options to customize it to perfectly suit your needs.

Included are a selection of widgets, short codes, automatic functions (configurable through the settings page), and template tags. The plugin can be used by every level of WordPress user, from absolute beginner to advanced developer.

Features

  • Mark posts as read
    • Optional setting to mark posts as read automatically after a time period
  • Mark posts as unread
  • View posts not yet read
  • View complete reading report of the number of posts you’ve read, those you have not read, the total posts on the site, and the percentage of posts that you have read
  • Optional alert messages for when posts are marked as read/unread
  • Four widgets included
    • Mark Post as Read/Unread Links
    • User’s Unread Posts
    • Most Read Posts
    • User Report
  • 3 Short codes included
    • User’s Unread Posts
    • Most Read (Popular) Posts
    • User’s Report
  • Settings page that provides excellent control and complete setup in less than 5 minutes

Note that this plugin is designed to fit perfectly within your WordPress theme, and so only minimal styling is provided. The widgets and all other functions of this plugin will perfectly inherit the styles of your theme.

Download Plugin
Tweet Follow @pippinsplugins
mark as read, read posts, unread

32 comments on “Mark as Read for WordPress”

  1. Betsy says:
    March 17, 2012 at 8:20 am

    Does it work with Post Types?

    Seems like its for only posts?

    Reply
    • Pippin says:
      March 17, 2012 at 9:41 am

      By default, just Posts, but it can be modified easily to work with other post types.

  2. blogjunkie says:
    April 16, 2012 at 1:57 am

    Is this the plugin that enables the Bookmark This Post functionality on this site?

    Reply
    • Pippin says:
      April 16, 2012 at 1:06 pm

      No, the bookmarks on this site are powered by my User Bookmarks plugin.

    • blogjunkie says:
      April 16, 2012 at 8:33 pm

      Great! You just scored another purchase for that plugin :)

    • Pippin says:
      April 17, 2012 at 10:44 am

      Thank you :)

  3. dan says:
    July 7, 2012 at 5:04 pm

    Quick question. I bought and would like to be able to show on a page ALL of the posts that have not been read for a user. I see the shortcode but I can’t seem to get it to show more than 5. I read the read-me and it may be a tempate tag, but that’s a little foreign to me. Am I missing a quick fix? If needed, I can make a modification in some of the template code, just not sure what to add and where.

    Reply
    • Pippin says:
      July 8, 2012 at 8:33 pm

      The short code accepts a parameter called “number”, just set it to a really high number, such as 999:

      [unread_posts number=999]
  4. Tan says:
    July 10, 2012 at 8:32 pm

    Is it possible to have this plugin work with the bbpress forums so you can view posts posts that haven’t been read?

    Reply
    • Pippin says:
      July 10, 2012 at 10:50 pm

      No, but I’m probably going to write a separate plugin that does do that.

  5. Kenny says:
    July 11, 2012 at 9:45 am

    @pippin, what if I hire you to make the bbPress plugin? Are you interested?

    Reply
    • Pippin says:
      July 11, 2012 at 2:06 pm

      Possibly, it depends on your time frame. You can email me if you want to talk about it more.

  6. Tan says:
    July 11, 2012 at 7:55 pm

    Thanks Pippin, I may be in contact soon. It is something a lot of bbpress users are looking for. I’ll have a forum migrating to my site soon and they’re used to these sort of features (with phpbb).

    Reply
  7. Pippin says:
    July 11, 2012 at 8:07 pm

    Sounds great.

    Reply
  8. Dan says:
    July 11, 2012 at 10:09 pm

    Thanks Pippin for your earlier reply. One more question. Is it possible to mark posts/pages that should NOT be counted towards the Most Viewed by All Users?

    Reply
  9. Dan says:
    July 11, 2012 at 10:13 pm

    One more question. If a user has a number of posts that are unread, how does your plugin determine which five to show?

    Reply
    • Pippin says:
      July 12, 2012 at 10:08 am

      It uses sequential ordering, so it’s based on the ID number of the post, but this can be pretty easily changed.

  10. Pippin says:
    July 12, 2012 at 10:07 am

    I’m not quite sure I understand what you mean, can you elaborate?

    Reply
  11. Eric Lodahl says:
    July 19, 2012 at 11:18 am

    This doesn’t seem to work with the subscriber role. It displays unread articles, but doesn’t display the report on the profile page for a subscriber role, nor does it seem to mark articles as read after the subscriber role as viewed the post.
    Is this true?

    Reply
    • Pippin says:
      July 19, 2012 at 9:35 pm

      Eric, no, this is not true. If you’re experiencing this, then it is most likely due to a conflict with another plugin on your site. Do you have a plugin that blocks access to the dashboard for non admin users?

  12. Eric Lodahl says:
    July 20, 2012 at 9:01 am

    Thanks for the response.
    I am in fact, and have confirmed it is, a function i’ve got in the functions file to redirect non-admin types users. Is there a work around for this?

    Reply
  13. Pippin says:
    July 20, 2012 at 9:03 am

    Can you show me the function?

    Reply
  14. elodahl says:
    July 20, 2012 at 9:20 am

    function redirect_user_on_role() {
    global $current_user;
    get_currentuserinfo();
    if ($current_user->user_level < 10) {
    wp_redirect( home_url() );
    exit;
    }
    }
    add_action('admin_init','redirect_user_on_role');

    Reply
    • Pippin says:
      July 20, 2012 at 7:01 pm

      Try using this version instead:

      1
      2
      3
      4
      5
      6
      7
      8
      9
      
      function redirect_user_on_role() {
      	global $current_user;
      	get_currentuserinfo();
      	if ($current_user-&gt;user_level &lt; 10 &amp;&amp; !isset( $_POST[&#039;mark_post_as_unread&#039;] ) &amp;&amp; !isset( $_POST[&#039;mark_post_as_read&#039;] ) ) {
      		wp_redirect( home_url() );
      		exit;
      	}
      }
      add_action(&#039;admin_init&#039;,&#039;redirect_user_on_role&#039;);
  15. Tan says:
    July 21, 2012 at 9:01 am

    Email sent :)

    Reply
  16. Pippin says:
    July 21, 2012 at 5:15 pm

    I don’t see it, can you tell me the email address you used?

    Reply
  17. Eric Lodahl says:
    July 23, 2012 at 9:23 am

    Ah, i see what you did there.
    Unfortunately, it still doesn’t set posts as read, automatically or manually.

    Reply
  18. Eric Lodahl says:
    July 23, 2012 at 9:53 am

    it seems the usermeta table isn’t getting updated with anything, unless it’s an admin.

    Reply
  19. Eric Lodahl says:
    July 23, 2012 at 10:46 am

    solved!
    what is needed is && !defined(‘DOING_AJAX’)

    Reply
  20. Pippin says:
    July 23, 2012 at 1:40 pm

    Ah! I should have thought of that the first time :)

    Reply
  21. Tan says:
    July 23, 2012 at 7:23 pm

    My email is tanya @ netballscoop dot com

    If you still don’t see it could you please email me? Thanks :)

    Reply
  22. Pippin says:
    July 24, 2012 at 5:58 pm

    Still don’t see it. I’ve just emailed you.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

Sorry, no related items found.

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Test Your Plugins with RTL (0)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • @HipHopMakers should be back shorlty
    May 25, 2013
  • @mrpritchett good idea. Not in the plugin currently but I like the odea
    May 25, 2013
  • @mrpritchett what kind of short codes?
    May 25, 2013

Topics

hook meta box Rémi Corson featured shortcodes campaign monitor add_options_page register_setting Sugar Event Calendar attachments add_shortcode wp_enqueue_script the_content image forms short codes Related posts login do_action authors mail chimp attachment plugin recent posts comments post types bbpress apply_filters short code taxonomies custom post type Ajax images gallery Stripe jquery taxonomy users widgets add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins