Hi, I need a Wordpress plugin modified slightly. The plugin is located here: http://wordpress.org/extend/plugins/simple-post/ Basically, the plugin makes creating posts easier, but after each post is created, it goes to the newly created post. What I'd like for it to do instead is to create the post and go back to the original post screen. I need to make many many posts and having the plugin go back to the write screen right after submitting a post will save me a lot of time. First person to PM me or post how to do this gets $6 Paypal.
i'll be trying wid this plugin....for 'create the post and go back to the original post screen' will inform if it works...
I've got something similar working on my WordPress installation. Edit simple-post.php (/wp-content/plugins/simple-post/):- Find: else if ( url_to_postid(wp_get_referer()) == $post_ID ) PHP: Replace With: else if ( strpos(wp_get_referer(), '/wp-admin/') === false && url_to_postid(wp_get_referer()) == $post_ID ) PHP: Edit post.php (/wp-admin/):- Find: elseif ( false !== strpos($location, 'wp-admin') ) $location = "post-new.php?posted=$post_ID"; PHP: Replace With: elseif ( false !== strpos($location, 'wp-admin') ) { if ( false !== strpos($_POST['_wp_http_referer'], 'simple-post') ) { $location = "post-new.php?page=simple-post/simple-post.php&posted=$post_ID"; } else { $location = "post-new.php?posted=$post_ID"; } } PHP: I think that's everything...
I don't know about you, but this is the way the last wp version works When you click on Publish, you get back to the editor window..
yes d default text editor does stay after posting too.... but simple post editor box does not do that and he wants that to stay there even after posting.