Adds the post box from the Prologue theme (modified to include a Title field, Category dropdown and a Save as Draft option) to any theme.
If you call your 'asides' category something other than 'asides' or if you just don't like this behavior at all, you can change it. There's no administration interface for this plugin (for now), so you'll have to edit the posthaste.php file directly, but fortunately its very easy. Just find the line right at the top of the plugin that says "asidesCatName" => "asides" and change the "asides" to whatever you call asides, or, to get rid of this behavior entirely, just type in anything that is not the name of a category on your blog.
It's possible your theme has get_sidebar() placed before the loop at the top of your theme (Most themes call get_sidebar() after the loop, but some do it before). This plugin attaches the form at the start of the loop, which usually works fine. In order to prevent the "Recent Posts" widget (or any other widgets which call multiple loops) from also causing the form to display, the plugin deactives the form once get_sidebar() is called. So if get_sidebar() runs first, the form won't appear in the "real loop" either.
If you're willing to edit your theme's index.php file, the fix is easy. Just place the following where you want the form to appear on your page (probably right before the loop):
<?php if(function_exists(posthasteForm)) { posthasteForm(); } ?>
Another option, if you have no other loops called on a page and would rather edit the plugin instead of your theme, is to comment out the action that removes the loop at get_sidebar(). Find the following line near the bottom of the plugin:
add_action('get_sidebar', removePosthasteInSidebar);
and comment it out by adding two slashes at the beginning of the line:
//add_action('get_sidebar', removePosthasteInSidebar);
Developers: if there's a better way to handle this, I'd be very appreciative if you'd let me know because this is an annoying workaround.
Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 2010-1-31
Downloads: 4,403




