Postie Hack with MiniPosts

OK, here’s what all this testing has been about. On those of my blogs that use MiniPosts, any post received via Postie will not appear on the main index page. If I edit the post and save it again, they do appear.
The reason for this bizarre behavior is that somehow posts via Postie are not getting marked as NOT being MiniPosts, thus they aren’t shown on the main page, and they aren’t added to the MiniPosts list either. One can navigate directly to them.
This needs to be fixed via the proper hooks, but I don’t have time to finish finding them. I will try to do that later. In the meantime I have produced a hack. It is truly a hack, but it does work.
I simply added the following line to postie-functions.php:
add_post_meta($post_ID, ‘_mini_post’, 0);
This goes as line 277 if you’re using this hack, or as line 276 if you’re using Postie version 1.1.1 unchanged. (I’m using the hack.)
My MiniPosts version is 0.6.5.
Keep watch here if you want to see a better fix. Also, if I see that someone else has done one, I’ll post a comment here.

Similar Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.