Title: human_time_diff filter
Last modified: January 12, 2017

---

# human_time_diff filter

 *  Resolved [tiguan](https://wordpress.org/support/users/tiguan/)
 * (@tiguan)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/)
 * Hi,
 * Awesome plugin!
    I’m Themeforest author and want to include your plugin as a 
   recommended one in one of my theme. Is there a way to make it work for human_time_diff
   instead of the_time ?
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [tssoft](https://wordpress.org/support/users/tssoft/)
 * (@tssoft)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8663454)
 * Hi. Thanks for your feedback. Sorry, we don’t quite understand the problem.
 *  Thread Starter [tiguan](https://wordpress.org/support/users/tiguan/)
 * (@tiguan)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8681891)
 * Hi,
 * Sorry, I meant: is there a way to make the plugin to place the mark sign after
   the `human_time_diff` funtion instead of `the_title` in the filter below?
 * `add_filter('the_title', array(&$this, 'mark_title'), 10, 2);`
 * Modifying the filter to this, doesn’t work, the mark sign is allways present 
   even a post was read:
    `add_filter('human_time_diff', array(&$this, 'mark_title'),
   10, 2);`
 * Also is there a way to also display another mark sign if a post has been read?
   Some conditional like this one will be great (pseudocode):
 *     ```
       if ( post_was_read ) {
       echo '<span>character</span>'
       }
       ```
   
 * Some external filters will be great.
 * Thanks
    -  This reply was modified 9 years, 4 months ago by [tiguan](https://wordpress.org/support/users/tiguan/).
    -  This reply was modified 9 years, 4 months ago by [tiguan](https://wordpress.org/support/users/tiguan/).
 *  Thread Starter [tiguan](https://wordpress.org/support/users/tiguan/)
 * (@tiguan)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8682098)
 * Forgot about the post above 🙂
 * I only need to use `mnp_is_new_post($post);` showing a custom FontAwesome icon
   if a post is new and another icon if post is old.
 * Any help will be great.
 * P.S. I’ll place a credit link to the theme description page if you can help me.
 *  [tssoft](https://wordpress.org/support/users/tssoft/)
 * (@tssoft)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8686484)
 * Hi. Is the problem still there? As I understand, everything is quite clear now:
   you just need to use the mnp_is_new_post($post) in your theme’s code and set 
   Marker type to None in MNP settings.
 *  Thread Starter [tiguan](https://wordpress.org/support/users/tiguan/)
 * (@tiguan)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8686622)
 * Hi,
 * > you just need to use the mnp_is_new_post($post) in your theme’s code and set
   > Marker type to None in MNP settings.
 * That’s right!
 * Thanks!
 * _[ [No bumping please](http://codex.wordpress.org/Forum_Welcome#No_Bumping). ]_
    -  This reply was modified 9 years, 4 months ago by [tiguan](https://wordpress.org/support/users/tiguan/).
    -  This reply was modified 9 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘human_time_diff filter’ is closed to new replies.

 * ![](https://ps.w.org/mark-new-posts/assets/icon-256x256.png?rev=2970633)
 * [Mark New Posts](https://wordpress.org/plugins/mark-new-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mark-new-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mark-new-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/mark-new-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mark-new-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mark-new-posts/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [tiguan](https://wordpress.org/support/users/tiguan/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/human_time_diff-filter/#post-8795549)
 * Status: resolved