Hi. Thanks for your feedback. Sorry, we don’t quite understand the problem.
Thread Starter
tiguan
(@tiguan)
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.
-
This reply was modified 9 years, 4 months ago by
tiguan.
Thread Starter
tiguan
(@tiguan)
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.
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.